#Piper not working

1 messages ยท Page 1 of 1 (latest)

still roost
#

I have installed en_US-jarvis-medium.onnx and en_US-jarvis-medium.onnx.json in the share/piper folder. Restarted the add-on and reloaded the wyoming integration. Even rebooted Home Assistant. I get the attached error when testing voice assistant tex-to-speech. What am I missing? HA OS version 16.3

north beacon
north beacon
#

did you rename/change the files in some way?

#

in your initial post you mention files with

en_US
instead of
en_GB

#

which impliees that you are using different files or have modified them

still roost
#

I added en_US to the front of each file.
yes, I see that now. Changing it to correctly show en_GB not en_US.

#

should I reboot the system after correcting the file names

north beacon
#

yes

#

make sure to do a full system reboot and not just restarting home assistant.

still roost
#

in the process of doing that now. ๐Ÿ‘

#

O great now piper isn't showing up as an option under text-to-speech. ๐Ÿค”

#

it showed up after a piper restart. But still not playing. "Error playing audio".

north beacon
#

it shows up once the addon is up and wyoming connects to it. sometimes that can take a moment during startup.

still roost
#

well dang it. still getting the same error. ๐Ÿ˜•

north beacon
still roost
#

yes
wyoming_piper.download.VoiceNotFoundError: jarvis-medium

the files are located in share/piper/
en_GB-jarvis-medium.onnx
en_GB-jarvis-medium.onnx.json

#

the files from the website has them listed without en_GB in front

just
jarvis-medium.onnx
jarvis-medium.onnx.json

#

Here some additional lines from the log
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 137, in handle_event
raise err
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 120, in handle_event
await self._handle_synthesize(self._synthesize)
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 190, in _handle_synthesize
ensure_voice_exists(
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/download.py", line 77, in ensure_voice_exists
find_voice(name, data_dirs)
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/download.py", line 186, in find_voice
raise VoiceNotFoundError(name)

still roost
#

removing en_GB from both files fixed the issue. thank you for your help. Happy New Year

still roost