Exemple #1
0
 static extern MMRESULT TextToSpeechGetSpeaker(IntPtr handle, out TtsVoice speaker);
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the engine in US English with the specified rate and speaker voice.
 /// </summary>
 /// <param name="rate">The speaking rate to set.</param>
 /// <param name="speaker">The speaker voice to set.</param>
 public FonixTalkEngine(uint rate, TtsVoice speaker)
 {
     Init(LanguageCode.EnglishUS);
     Voice = speaker;
     Rate  = rate;
 }
Exemple #3
0
 /// <summary>
 /// Initialize a new instance of the engine with the specified language, rate, and speaker voice.
 /// </summary>
 /// <param name="language">The language ID.</param>
 /// <param name="rate">The speaking rate to set.</param>
 /// <param name="speaker">The speaker voice to set.</param>
 public FonixTalkEngine(string language, uint rate, TtsVoice speaker)
 {
     Init(language);
     Voice = speaker;
     Rate  = rate;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the engine in US English with the specified rate and speaker voice.
 /// </summary>
 /// <param name="rate">The speaking rate to set.</param>
 /// <param name="speaker">The speaker voice to set.</param>
 public FonixTalkEngine(uint rate, TtsVoice speaker)
 {
     Init(LanguageCode.EnglishUS);
     Voice = speaker;
     Rate = rate;
 }
Exemple #5
0
 /// <summary>
 /// Initialize a new instance of the engine with the specified language, rate, and speaker voice.
 /// </summary>
 /// <param name="language">The language ID.</param>
 /// <param name="rate">The speaking rate to set.</param>
 /// <param name="speaker">The speaker voice to set.</param>
 public FonixTalkEngine(string language, uint rate, TtsVoice speaker)
 {
     Init(language);
     Voice = speaker;
     Rate = rate;
 }
Exemple #6
0
 static extern MMRESULT TextToSpeechSetSpeaker(IntPtr handle, TtsVoice speaker);