TextToSpeech.Voice Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the voice that will be used to generate speech. To use a non en-US voice, set this to Other.
public:
property Microsoft::MixedReality::Toolkit::Audio::TextToSpeechVoice Voice { Microsoft::MixedReality::Toolkit::Audio::TextToSpeechVoice get(); void set(Microsoft::MixedReality::Toolkit::Audio::TextToSpeechVoice value); };
public Microsoft.MixedReality.Toolkit.Audio.TextToSpeechVoice Voice { get; set; }
member this.Voice : Microsoft.MixedReality.Toolkit.Audio.TextToSpeechVoice with get, set
Public Property Voice As TextToSpeechVoice
Property Value
Remarks
If a custom voice is desired (i.e. this enum is being set to Other) make sure to set the VoiceName property.