piper.unity
piper.unity copied to clipboard
How do I use this with Voices that have multiple Speakers such as en-US arctic and libritts_r?
I believe the input Dictionary in PiperManager.TextToSpeech() needs an "sid" entry but I haven't figured out what values it wants for it in order to work.
Great project so far.
Okay, I figured it out. This is what was needed:
var sidTensor = new TensorInt(new TensorShape(1), new int[] { speakerId });
input.Add("sid", sidTensor);