Hi,
(I am very much a noob for context)
I am in a situation where I want to use TTS for various games to the point that it seems a better idea to set up a system wide tts running into a virtual mic. After a lot of tinkering I’ve managed to get one piper command working
echo “Hello, this is Ryan speaking” | /opt/piper-tts/piper --model /usr/share/piper-voices/en/en_US/ryan/medium/en_U
S-ryan-medium.onnx --output-raw | aplay -f S16_LE -r 22050
but to be honest I dont at all understand how. I followed this article https://gustawdaniel.com/notes/hot-to-setup-tts-on-arch-linux/ to get some of the way and followed random online advice/troubleshooting (plus some AI; i know its bad and not reliable but it can make things easier)
However, I don’t know where to go from here to make this a text box or similar I can type in to get tts and the command doesnt work with any other models.
My aim is for a text box that runs tts into a virtual mic for games etc.
Any help is greatly appreciated.