Up:Tutorial?     Previous:Samples/Communication between agents?     Next:Samples/Operation on visual?

Speech recognition using Microsoft SAPI

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

Download and install Microsoft speech SDK from here

Build sample speech recognition using Microsoft SAPI

Create controller

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

Compile

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

$ cd ..
$ emacs xml/soundRecog.xml

Up:Tutorial?     Previous:Samples/Communication between agents?     Next:Samples/Operation on visual?


Front page   New List of pages Search Recent changes   Help   RSS of recent changes