예제 #1
0
 private void sre_SpeechDetected(object sender, System.Speech.Recognition.SpeechDetectedEventArgs e)
 {
     if (!bSpeaking)
     {
         tSSLblDetect.Text = "SD:" + DateTime.Now.ToLongTimeString() + "." + DateTime.Now.Millisecond.ToString();
     }
 }
예제 #2
0
        private void SpeechDetectedProxy(object sender, SpeechDetectedEventArgs e)
        {
            EventHandler <SpeechDetectedEventArgs> speechDetectedHandler = SpeechDetected;

            if (speechDetectedHandler != null)
            {
                speechDetectedHandler(this, e);
            }
        }
 private void SpeechDetectedProxy(object sender, SpeechDetectedEventArgs e)
 {
     this.SpeechDetected?.Invoke(this, e);
 }
예제 #4
0
 private static void SreOnSpeechDetected(object sender, SSR.SpeechDetectedEventArgs e)
 {
     Console.WriteLine("Detected: {0}", e.AudioPosition);
 }
예제 #5
0
 private void SpeechRecognitionEngine_SpeechDetected(object sender, System.Speech.Recognition.SpeechDetectedEventArgs e)
 {
 }