rhasspy / wyoming-satellite

Remote voice satellite using Wyoming protocol
MIT License
722 stars 106 forks source link

Added support to skip TTS playback #227

Open daytonturner opened 1 month ago

daytonturner commented 1 month ago

In my environment, I am using an rpi satellite with usb speaker + mic, and have external (sonos) speakers throughout the house. I wanted my satellite to play awake/done sounds using the locally attached speaker, but have the option to omit the TTS playback from the local speaker, and instead use the synthesize command to have the Sonos speakers announce the TTS response.

There was no way to do this previously, so i added optional support for it, which defaults to off, so as not to confuse anyone or break any existing implementations.

Adding --snd-tts-skip-playback True to the command line arguments will ensure all action sound effects play on the local speaker, but TTS playback will not.