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