Пример #1
0
        private void button_Copy_Click(object sender, RoutedEventArgs e)
        {
            string   temp = textBox1.Text.Trim();
            SpeekTTS tts  = SpeekTTS.GetInstance();

            tts.SpeechToPrompt(temp);
        }
Пример #2
0
 public static void SpeechToPrompt(string strText)
 {
     try
     {
         var tts = SpeekTTS.GetInstance();
         tts.SpeechToPrompt(strText);
     }
     catch (Exception ex)
     {
         //LogImpl.Error(string.Format("{0}{2}{1}", ex.StackTrace, ex.Message, System.Environment.NewLine));
     }
 }