Summary

A speech synthesis stream. Lets you write text into speech and output it to a <see cref="T:Sandbox.SoundHandle" />.

Properties

CurrentVoice Gets the current voice being used by Sandbox.Speech.Synthesizer.SpeechSynthesizer.
InstalledVoices Gets a list of currently installed voices on the user's system.

Methods

OnVisemeReached
Play Takes info from Sandbox.Speech.Synthesizer.Builder and creates a System.Speech.Synthesis.SpeechSynthesizer, outputting to a stream object. Using Sandbox.Speech.Synthesizer.AudioStreamHelpers we then read all the PCM samples, and write it to a SoundStream. This means it'll work like any other sound.
TrySetVoice
WithBreak Adds a break to the speech.
WithRate
WithText
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.