rhasspy / rhasspy3

An open source voice assistant toolkit for many human languages
MIT License
295 stars 23 forks source link

suggestion: simultaneous tts and snd #36

Open Shulyaka opened 1 year ago

Shulyaka commented 1 year ago

rhasspy3/pipeline.py supports simultaneous execution of mic+vad+asr processes, which is really cool, But the tts and snd are sequential, which could be improved. Piper, for example, is able to generate the audio at 200% speed on Raspberry Pi 4. We already have all the pieces for that, probably we just need to connect them: .snd.play_stream and .tts.synthesize_stream.