Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jd.scogin's avatar
jd.scogin
Protege
1 year ago

Meta TTS speaker change with script

Using unity, I am trying to change the selected speaker. I have two speaker presets loaded. Charlie and Rebecca.

I can manually change the speaker, but I need to do that in script since I have two speakers that I want to talk in their voices (one mail and one female. Did a lot of searches but can't find the answer. I am sure it is easy. Any help would be much appreciated.  Thanks.

1 Reply

Replies have been turned off for this discussion
  • Ok, I figured it out. I just had to call the right routine (TSSSpeaker.VoiceID = WIT$CHARLIE OR WIT$REBECCA)