so want able user says mic , process it. know can use this:
choices c = new choices(); c.add("hello test 1 2 three"); grammarbuilder builder = new grammarbuilder(); builder.append(c); grammar g = new grammar(builder); g.name = "cmds"; reader.loadgrammar(g); if (sreco != null) reader.speechrecognized += new eventhandler<speechrecognizedeventargs>(speechrecognizedcallback); if (shypoth != null) reader.speechhypothesized += new eventhandler<speechhypothesizedeventargs>(speechhypothesizedcallback); if (sdetected != null) reader.speechdetected += new eventhandler<speechdetectedeventargs>(speechdetectedcallback);
to words, how user says. i've heard of dictationgrammar can't seem detect voice. can help? code examples alot.
thanks.
Comments
Post a Comment