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.
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
.