49 references to VoiceSynthesizer
System.Speech (49)
Synthesis\SpeechSynthesizer.cs (49)
38TTSVoice ttsVoice = VoiceSynthesizer.GetEngine(name, CultureInfo.CurrentUICulture, VoiceGender.NotSet, VoiceAge.NotSet, 1, true); 45VoiceSynthesizer.Voice = ttsVoice; 77TTSVoice ttsVoice = VoiceSynthesizer.GetEngine(null, culture, gender, age, voiceAlternate, true); 84VoiceSynthesizer.Voice = ttsVoice; 99VoiceSynthesizer.SpeakAsync(prompt); 133VoiceSynthesizer.Speak(prompt); 152VoiceSynthesizer.Pause(); 164VoiceSynthesizer.Resume(); 176VoiceSynthesizer.Abort(prompt); 184VoiceSynthesizer.Abort(); 226VoiceSynthesizer.SetOutput(Stream.Null, null, true); 241return VoiceSynthesizer.Prompt; 245return VoiceSynthesizer.GetInstalledVoices(null); 256return VoiceSynthesizer.GetInstalledVoices(culture); 262VoiceSynthesizer.AddLexicon(uri, mediaType); 268VoiceSynthesizer.RemoveLexicon(uri); 278VoiceSynthesizer._speakStarted += value; 284VoiceSynthesizer._speakStarted -= value; 293VoiceSynthesizer._speakCompleted += value; 299VoiceSynthesizer._speakCompleted -= value; 308VoiceSynthesizer.AddEvent<SpeakProgressEventArgs>(TtsEventId.WordBoundary, ref VoiceSynthesizer._speakProgress, value); 314VoiceSynthesizer.RemoveEvent<SpeakProgressEventArgs>(TtsEventId.WordBoundary, ref VoiceSynthesizer._speakProgress, value); 323VoiceSynthesizer.AddEvent<BookmarkReachedEventArgs>(TtsEventId.Bookmark, ref VoiceSynthesizer._bookmarkReached, value); 329VoiceSynthesizer.RemoveEvent<BookmarkReachedEventArgs>(TtsEventId.Bookmark, ref VoiceSynthesizer._bookmarkReached, value); 338VoiceSynthesizer.AddEvent<VoiceChangeEventArgs>(TtsEventId.VoiceChange, ref VoiceSynthesizer._voiceChange, value); 344VoiceSynthesizer.RemoveEvent<VoiceChangeEventArgs>(TtsEventId.VoiceChange, ref VoiceSynthesizer._voiceChange, value); 355VoiceSynthesizer.AddEvent<PhonemeReachedEventArgs>(TtsEventId.Phoneme, ref VoiceSynthesizer._phonemeReached, value); 361VoiceSynthesizer.RemoveEvent<PhonemeReachedEventArgs>(TtsEventId.Phoneme, ref VoiceSynthesizer._phonemeReached, value); 370VoiceSynthesizer.AddEvent<VisemeReachedEventArgs>(TtsEventId.Viseme, ref VoiceSynthesizer._visemeReached, value); 376VoiceSynthesizer.RemoveEvent<VisemeReachedEventArgs>(TtsEventId.Viseme, ref VoiceSynthesizer._visemeReached, value); 387VoiceSynthesizer._stateChanged += value; 393VoiceSynthesizer._stateChanged -= value; 406return VoiceSynthesizer.State; 413return VoiceSynthesizer.Rate; 421VoiceSynthesizer.Rate = value; 428return VoiceSynthesizer.Volume; 436VoiceSynthesizer.Volume = value; 444return VoiceSynthesizer.CurrentVoice(true).VoiceInfo; 462VoiceSynthesizer.SetOutput(stream, formatInfo, headerInfo);