Edit

Share via


TextToSpeech.Voice Property

Definition

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.

Applies to