S&box Wiki

Speech Recognition

Speech Recognition

The Speech Recognition API functionality is currently limited to two simple method calls. It may potentially be expanded in the future to support complex custom grammar trees.


Generic Speech

If you want to listen for any speech you can use the below method. It should be noted that this method yields a low accuracy result, and isn't perfect. You should search the returned string for keywords.

SpeechRecognition.Listen( ( output ) => Log.Info( output ) );


var choices = new string[] { "Jump", "Move Left", "Move Right" }; SpeechRecognition.Listen( ( output ) => Log.Info( output ), choices );

Special Pages



Render Time: 16ms

DB GetPage 3
Generate Html 0
SaveChanges (1) 8
Render Body 0
Render Sidebar 2