void OnSetSrgsGrammarFileFault(soap.Fault response) { texttospeech.SayTextRequest request = new texttospeech.SayTextRequest(); request.SpeechText = @"Could not load the grammar file. The error is as follows: " + response.Reason[response.Reason.Length - 1].Value; TexttoSpeechTTSPort.SayText(request); Decrement(); }
/////////////////////////////////////////////////////////////////// // __use__3.snippet.call - __use__3.snippet.call.iftype /////////////////////////////////////////////////////////////////// void _joinAlphaHandler(object[] args) { JoinAlpha message = new JoinAlpha(args); TexttoSpeechTTSPort.SayText((texttospeech.SayTextRequest)message); Decrement(args.Length); }
void OnSetSrgsGrammarFileSuccess(dssp.DefaultUpdateResponseType response) { texttospeech.SayTextRequest request = new texttospeech.SayTextRequest(); request.SpeechText = @"I successfully loaded the speech grammar. What can I do for you now?"; TexttoSpeechTTSPort.SayText(request); Decrement(); }
/////////////////////////////////////////////////////////////////// // [(__use__3.snippet.snippet.noop - __use__3.snippet.snippet.expr - __use__3.snippet.snippet.join)] - __use__3.snippet.call - __use__3.snippet.call.iftype /////////////////////////////////////////////////////////////////// void _mergeAlphaHandler(object message) { texttospeech.SayTextRequest request = new texttospeech.SayTextRequest(); request.SpeechText = @"I did not understand you."; TexttoSpeechTTSPort.SayText(request); Decrement(); }