About
Getting Started:
to get started, install the library and begin with this template
(note, in my testing, i had to restart the editor before it worked, so if it breaks please try that before reporting a bug)
template code:
Add a SharpTalkSpeaker component to any GameObject in the editor, then speak from code:
Runtime Voice Switching:
Speaker.SetVoice( VoiceData.WhisperVoice ); _ = Speaker.Speak( "This is a whisper." ); Speaker.SetVoice( VoiceData.BaselineVoice ); _ = Speaker.Speak( "Back to normal." );Lipsync:
OnPhoneme fires on the main thread as each phoneme begins playing, giving you a timeline to drive blend shapes, jaw bones, or any other animation: