You are not logged in.
Pages: 1
I'm trying to follow the piper-specific instructions for speech-dispatcher.
I succeeded in creating an audio file that can be played back with pw-play with this command:
echo "Arch Linux is the best" | piper-tts -m "/usr/share/piper-voices/en/en_US/ryan/medium/en_US-ryan-medium.onnx" -f testI dropped the -q option since it does not appear in piper-tts --help.
Also, pw-play manages to play back other wav files stored on disk.
But when I pipe piper-tts output to pw-play this way
echo "Arch Linux is the best" | piper-tts -m "/usr/share/piper-voices/en/en_US/ryan/medium/en_US-ryan-medium.onnx" -f - | pw-play -I get the error:
sndfile: failed to open audio file "-": Format not recognised.
error: open failed: Eingabe-/AusgabefehlerUsing the --raw option on both piper-tts and pw-play generates audio output, but the playback speed is insane.
Specifying --format wav for pw-play still results in the error above.
Do you have any suggestions how to work around this?
Offline
Pages: 1