예제 #1
0
 private void _recognizer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
 {
     Stop();
     logger.Debug("Recognized! {0}: {1}", e.Result.Text, e.Result.Confidence);
     TunePlayer.PlaySound();
     OnSpeechRecognized(e.Result.ToString());
 }
예제 #2
0
 public async Task Execute(IJobExecutionContext context)
 {
     TunePlayer.PlaySound();
     logger.Info("Tada!");
 }