allow setting voiceID from each speaker script
unitycoder opened this issue · 2 comments
unitycoder commented
so that can easily have multiple different voices.
some options:
- Say(string message, string voiceID, callback)
other suggestions?
MinhDangTG commented
Hey,
I want to change the voiceID but it always fails. Do you have a documentation or something so we can know which voice we can use? Thank you so much.
It is an awesome unity development. Run straight away when I opened the project.
unitycoder commented
voiceID refers to these voices:
https://github.com/unitycoder/UnityRuntimeTextToSpeech/tree/e367de48dd48bb0f7a998b76c1d7d7d5c0514728/Assets/StreamingAssets/espeak-ng-data/voices/!v
currently its assigned in Awake
https://github.com/unitycoder/UnityRuntimeTextToSpeech/blob/master/Assets/Scripts/Speech.cs#L73