Multiple languages in Piper and Whisper

Is it possible to configure Whisper and (more importantly) Piper to install multiple languages at once (I’m using the add-ons)?

I didn’t see any way to do this in the configs or any mention in the docs (well, except for the “Auto” option in Whisper), but it would be great to be able to, at the very least, “speak” notifications in different languages, as the current google tts does.

I deployed the container twice, which seems to work fine but is a bit fiddly as it shows up as “whisper” and “piper” in the menu regardless of how you named them, so you have to find which of the multiple piper has the language you want for that pipeline. But it works

How do you deploy a container multiple times in Home Assistant? Can you do this from the HA_IP/hassio/store? Or is there some other way?

Sorry I wouldn’t know, I’m not an hassos user, I just use HA Core and deploy my containers myself

This appear as a slight oversight from the devs. Should be something like tts.piper-spanish, tts.piper-english etc.

1 Like

I would also like to set up two voice assistants, one German and one English. But I don’t see how I would do that. Has anyone found a solution to Whisper/Piper only offering one language per installation?

I think the only way for now is to deploy additional containers (outside of HAOS) like Ulrar described.

The changelog of whisper for version 1.0.0 inside home assistant states “Allow multiple languages to be used simultaneously without restart”. So it sounds like it should be possible… I just don’t see any way to configure multiple languages at once in the configuration.

Anybody figured this out in the mean time. I would love both an English & Dutch voice pipeline.

2 Likes

I am interested in this as well. Any updates?

I think this has been possible for some time now? Just go to “Settings” → “Voice Assistants”, and set up as many as you want.

I currently have two (although, full disclosure, I haven’t had time to re-fiddle with my MATRIX Voice, so they’re not being actively used. Meaning, I can’t say anything about how well it works):

Thanks - I tried it - unfortunately language I am interested in (Gujarati - gu) doesn’t yet seem to have much support in whisper or in intents,

Hi, I’m trying to have multiple voices, also using Core and just now diving into docker for this.
I had already successfully running/using 1 piper instance on port 10200
Now I have a 2nd, with another voice, on another port (tried 10400 and 10250) and of course with a different container name.
Whisper runs on 10300 and works fine.

1) Did you have to do something special to have these 2 different containers exposed because whatever I do, that port is not showing if I scan for it.
2) How is it done in the Wyoming integration to have 2 different piper services? Did you rename the entity?

EDIT: nevermind, I just found out that you can use

      options:
        voice: "some voice"
1 Like