I²S Audio Component¶
i2s_audio component allows for sending and receiving audio via I²S.
This component only works on ESP32 based chips.
# Example configuration entry i2s_audio: i2s_lrclk_pin: GPIO33 i2s_bclk_pin: GPIO19
i2s_lrclk_pin (Required, Pin): The GPIO pin to use for the I²S
LRCLK(Left/Right Clock) signal, also referred to as
WS(Word Select) or
i2s_bclk_pin (Optional, Pin): The GPIO pin to use for the I²S
BCLK(Bit Clock) signal, also referred to as
i2s_mclk_pin (Optional, Pin): The GPIO pin to use for the I²S
MCLK(Master Clock) signal.
id (Optional, ID): Manually specify the ID for this I²S bus if you need multiple.