示例#1
0
            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();
            }
示例#2
0
            ///////////////////////////////////////////////////////////////////
            // __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);
            }
示例#3
0
            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();
            }
示例#4
0
            ///////////////////////////////////////////////////////////////////
            // [(__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();
            }