mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 09:06:52 +01:00
stackchan: fix mic issues
This commit is contained in:
1 parent
6389bbdcef
commit
cf49f238ca
1 file changed
+8
-2
+8
-2
@@ -85,6 +85,11 @@ external_components:
|
|||||||
- source: github://randybb/esphome-components
|
- source: github://randybb/esphome-components
|
||||||
components: [audio_spectrum]
|
components: [audio_spectrum]
|
||||||
refresh: 1h
|
refresh: 1h
|
||||||
|
# stop the microphone before the response with streaming STT (HA Cloud), drop once upstream
|
||||||
|
- source:
|
||||||
|
type: local
|
||||||
|
path: /home/randy/Projects/repos/esphome-va-mic-stop/esphome/components
|
||||||
|
components: [voice_assistant]
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
- id: in_love
|
- id: in_love
|
||||||
@@ -244,7 +249,7 @@ audio_adc:
|
|||||||
i2c_id: i2c_bsp
|
i2c_id: i2c_bsp
|
||||||
bits_per_sample: 16bit
|
bits_per_sample: 16bit
|
||||||
sample_rate: 16000
|
sample_rate: 16000
|
||||||
mic_gain: 36
|
mic_gain: 24
|
||||||
|
|
||||||
audio_dac:
|
audio_dac:
|
||||||
- platform: aw88298
|
- platform: aw88298
|
||||||
@@ -330,7 +335,8 @@ voice_assistant:
|
|||||||
media_player: media_out
|
media_player: media_out
|
||||||
micro_wake_word: mww
|
micro_wake_word: mww
|
||||||
noise_suppression_level: 2
|
noise_suppression_level: 2
|
||||||
auto_gain: 31dBFS
|
# no extra gain: a raised noise floor keeps the HA VAD from hearing the end of speech
|
||||||
|
auto_gain: 0dBFS
|
||||||
on_client_connected:
|
on_client_connected:
|
||||||
- micro_wake_word.start:
|
- micro_wake_word.start:
|
||||||
- delay: 2s
|
- delay: 2s
|
||||||
|
|||||||
Reference in new issue
Block a user