-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Description
When I copy the example command from demo, I get a broken pipe error:
$ piper-tts --debug -m en_US-lessac-medium -- 'This will play on your speakers.'
DEBUG:__main__:Namespace(model='en_US-lessac-medium', config=None, input_file=None, output_file=None,
output_dir=None, output_raw=False, speaker=None, length_scale=None, noise_scale=None, noise_w_scale=
None, cuda=False, sentence_silence=0.0, volume=1.0, no_normalize=False, data_dir=['/home/dkaszews/Dow
nloads'], debug=True)
DEBUG:__main__:Checking '/home/dkaszews/Downloads/en_US-lessac-medium.onnx'
DEBUG:__main__:Loading voice: '/home/dkaszews/Downloads/en_US-lessac-medium.onnx'
DEBUG:piper.voice:Guessing voice config path: /home/dkaszews/Downloads/en_US-lessac-medium.onnx.json
Traceback (most recent call last):
File "/usr/bin/piper-tts", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3.13/site-packages/piper/__main__.py", line 213, in main
player.play(audio_chunk.audio_int16_bytes)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/piper/audio_playback.py", line 52, in play
self._proc.stdin.write(audio_bytes)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipeBut if I save it as -f test.wav, then ffplay test.wav works as expected.
taintedcypher
Metadata
Metadata
Assignees
Labels
No labels