Open viperjet opened 6 months ago
I'd second this. It would be really helpful, if possible
It could also enhance accessibility for blind users. I don't know how to generate raw audio, which is the only way to make a sound with speaker component. For media_player a sound can be played even if there would be some lag IMO.
There are some possible solutions in https://community.home-assistant.io/t/play-sound-when-wakeword-detected/653928
To generate audio suitable for speaker.play
, you can use the following commands (where INPUT_FILE
is any kind of audio file that ffmpeg supports):
ffmpeg -i INPUT_FILE -ac 1 -acodec pcm_u8 -ar 16000 out.wav
sox out.wav --bits 8 --encoding signed-integer --endian little out.raw
It's a feature request. In case of not always have a look on the atom 5 echo, it would be very nice to play a listen tone, eg. a simple beep instead of the light.
Is this possible?
Thanks, Udo