Esempio n. 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());
 }
Esempio n. 2
0
 public async Task Execute(IJobExecutionContext context)
 {
     TunePlayer.PlaySound();
     logger.Info("Tada!");
 }