Oculus Voice/speech

56 views
Skip to first unread message

Ed

unread,
Nov 8, 2013, 7:28:35 PM11/8/13
to xaxxon...@googlegroups.com
Hi,
Just got into playing with oculus, great program and easy to setup
I have a question, is there any way to change the voice/speech in oculus control into more human like? For example, like Microsoft Anna?
It will be cool if it can talk like a person :)
Thank you

XaxxonColin

unread,
Nov 9, 2013, 3:32:10 PM11/9/13
to xaxxon...@googlegroups.com
Hello!
Speech commands are processed here:

If the OS is Linux, it uses the OS built in voice by sending system command 'espeak' + string
In Windows, it uses the java 'freetts' voice library, because it's a cool old school robotic voice :-)

To use another voice library in Windows, you could replace "speech.mluv(str);" with something different, OR if you don't want to mess with Java, you could use the telnet 'systemcall' command to use a system speech command of your choice.

For example, Oculus comes with the nircmdc.exe utility, so you could send a telnet command something like:
systemcall nircmdc speak text "hello there"

You can send this command from the web browser client interface using the 'menu' > 'advanced' > 'oculus text command' OR from the telnet interface



Ed

unread,
Nov 10, 2013, 5:37:58 PM11/10/13
to xaxxon...@googlegroups.com
I dont know any java programming, but I tried with the telnet option, it's working great!
Thanks a lot for your help

Related to this, how to make it react to speech command? eg answering "yes" and move backwards.
I saw some people playing with wsrmacro for speech/voice command to pc (in vista or win7), is this the right approach?
Sorry if this sounds silly or too much, I dont know much about programming, but really want a Jarvis :)
Thank you

XaxxonColin

unread,
Nov 13, 2013, 3:45:47 PM11/13/13
to
I would probably go with a python voice recognition package, and have the python program listen for voice commands and send corresponding 'reaction' commands to Oculus via the telnet interface.

Haven't tried it, but this voice package looks to be a good one, as its based on the Dragon NaturallySpeaking libraries:

Once you get that going, you can add the simple python code needed to talk to and command Oculus.
Example python programs that connect to the Oculus Java server and are able to completely control the robot are 

There are probably different good ways to do it using other languages as well, but python is a good one, since it tends to be quick and easy, there are so many good libraries available, and it's somewhat cross-platform.

Ed

unread,
Nov 16, 2013, 9:30:40 PM11/16/13
to xaxxon...@googlegroups.com
Hi,
Thanks for your suggestion. For the moment I'm trying with the simpler approach because I don't know much about programming, I'm using e-speaking http://www.e-speaking.com, a free-for-30-days windows program to add voice command to windows xp using sapi) to control the robot via telnet command
So far it's ok and fun, plus I can voice control other windows programs as well. After I have more knowledge about programming I will try your option with python.
Thank you
Reply all
Reply to author
Forward
0 new messages