Up:[[Tutorial]] Previous:[[Samples/Communication between agents]] Next:[[Samples/Operation on visual]] #contents * Speech recognition using Microsoft SAPI [#o63dca14] This section explains how to perform speech recognition in client using Microsoft SAPI and send result to an Agent in SIGVerse. ※ This sample is tested with Visual studio 2010 and window 7 ** Install Microsoft speech SDK [#q579c66f] Download and install Microsoft speech SDK from [[here>http://www.microsoft.com/download/en/details.aspx?id=10121]] ** Build sample speech recognition using Microsoft SAPI [#a2cd5868] *** Create controller [#f57fa8a9] Let's create a controller of the agent that receives the audio data to perform speech recognition. $ cd ~/sigverse-<version>/bin/NewWorld $ emacs soundRecog.cpp soundRecog.cpp #highlight(cpp){{ extern "C" Controller * createController () { return new AgentController; } }} *** Compile [#k5b359f9] Modify the Makefile. $ emacs Makefile Specify the soundRecog.so as the object file. # Specify the object file OBJS = soundRecog.so And then compile it. $ make *** World file creation [#v3581958] $ cd .. $ emacs xml/soundRecog.xml Up:[[Tutorial]] Previous:[[Samples/Communication between agents]] Next:[[Samples/Operation on visual]]