Microsoft Speech Platform - Runtime ((exclusive)) -

synthesizer.SpeakAsync($"You said e.Result.Text"); ;

// Load a grammar Choices commands = new Choices("open", "close", "save"); GrammarBuilder builder = new GrammarBuilder(commands); Grammar grammar = new Grammar(builder); recognizer.LoadGrammar(grammar); microsoft speech platform - runtime

// Set TTS voice synthesizer.SelectVoice("Microsoft Server Speech Text to Speech Voice (en-US, Helen)"); synthesizer

// Recognize and speak recognizer.SpeechRecognized += (s, e) => synthesizer.SpeakAsync($"You said e.Result.Text")