[api][voice_assistant] Add second audio channel for voice_assistant (#16265)

Co-authored-by: Kevin Ahrendt <kevin.ahrendt@openhomefoundation.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Michael Hansen
2026-05-12 20:38:39 -05:00
committed by GitHub
parent 65b53692bd
commit f94735dc62
9 changed files with 179 additions and 37 deletions

View File

@@ -31,6 +31,11 @@ microphone:
i2s_din_pin: ${i2s_din_pin}
adc_type: external
pdm: false
- platform: i2s_audio
id: mic_id_external2
i2s_din_pin: ${i2s_din_pin2}
adc_type: external
pdm: false
speaker:
- platform: i2s_audio
@@ -40,9 +45,12 @@ speaker:
voice_assistant:
microphone:
microphone: mic_id_external
gain_factor: 4
channels: 0
- microphone: mic_id_external
gain_factor: 4
channels: 0
- microphone: mic_id_external2
gain_factor: 4
channels: 0
speaker: speaker_id
micro_wake_word: mww_id
conversation_timeout: 60s

View File

@@ -3,6 +3,7 @@ substitutions:
i2s_bclk_pin: GPIO5
i2s_mclk_pin: GPIO15
i2s_din_pin: GPIO13
i2s_din_pin2: GPIO14
i2s_dout_pin: GPIO12
<<: !include common-idf.yaml