News for hackers. Stuff that matters.
Re:Speech Synthesis on Linux (2020) by c6401 on Saturday September 25, 2021 @10:59PM (#28658069)
It's super awesome. Just wondering if it can simultaneously use play-command to play sample and in the same time render the next to eliminate pauses? Also wondering if it can work through spd-say (speech dispatcher). I will probably be able to figure out both just checking in case if there are ready solutions.
Re:Speech Synthesis on Linux (2020) by synesthesiam on Sunday September 26, 2021 @08:32AM (#28660380)
Thanks! Try the --raw-stream option for listening to long texts: https://github.com/rhasspy/larynx#long-texts

For speech-dispatcher, I'd start a Larynx HTTP server and use curl to get audio. I have an undocumented --daemon flag that does something like this.

Re:Speech Synthesis on Linux (2020) by c6401 on Sunday September 26, 2021 @03:22PM (#28663764)
Thank you! Streaming output to aplay works pretty well for me.