Voice PE – modified pre announce sound however it’s chopping off the audio

Voice PE – modified pre announce sound however it’s chopping off the audio

Good Morning (UTC +10),
I’m taking part in with a few PE’s I introduced (finish result’s to switch all of the very previous google models round the home), I’m organising “Hey Jarvis” for a mate however to maintain our homes completely different I need to go Cortana as my wake phrase (that’s subsequent on the hit listing). What i needed to do is change the pre announce sound to “Master Chief”, i’ve the recording as a top quality flac (26kb) and 770ms lengthy (i do know its lengthy however hey).

To be capable to fiddle i downloaded the code for 2025.3.3 and loaded it manually into ESP Home and altered the wake_word flac to that off my dwelling assistant www listing.

First triggering works completely (after each reboot), not a problem (had so as to add a 820ms (770ms + 50ms buffer) delay between taking part in the sound and accepting incoming enter because it heard itself say “Master Chief”), however subsequent triggers lower the audio about 20ms quick and added a small distortion to the sound, nonetheless works however annoying. Trying to determine why although. If any specialists might have a look and see the place i went incorrect or make recommendations?

i used this code – home-assistant-voice-pe/home-assistant-voice.yaml at dev · esphome/home-assistant-voice-pe · GitHub

and made these modifications

  - id: wake_word_triggered_sound
    file: http://192.168.69.8:8123/native/wake_word_triggered.flac

beneath micro_wake_word
else:
– if:
situation:
swap.is_on: wake_sound
then:
– script.execute:
id: play_sound
precedence: true
sound_file: !lambda return id(wake_word_triggered_sound);
– delay: 820ms
– delay: 820ms
– voice_assistant.begin:
wake_word: !lambda return wake_word;

  • The delays run in parallel, there’s solely a 820ms wait from activation to when it accepts audio, simply lengthy sufficient to play the sound.

1 publish – 1 participant

Read full subject

HI-FI News

by way of Home Assistant Community – Latest matters https://ift.tt/WlGpyQ3

April 15, 2025 at 10:15PM