mrtrizer / UnityPiper

Offline text to speech inside Unity
MIT License
19 stars 3 forks source link

How do I use Speaker ID? #4

Closed Graylington closed 2 months ago

Graylington commented 2 months ago

In PiperLib.cs I can see "public OptionalLong speakerId;" but I can't find any way to use it for multi-speaker voices.

mrtrizer commented 2 months ago

Oh, sorry, I can't really tell you what exactly this is, it's not clear from original code how this is supposed to work, I added this just for compatibility. I guess the answers are around here Try to look for answers in the original lib docs or sources https://github.com/rhasspy/piper