how to incorporate voice commands

Pages: 12
i am very new to c++ and i am looking for a way to use a microphone and a computer speaker. i am doing this so that i can speak to my computer and have it talk back. if anyone knows the code for voice or knows how to do this it would be of great help. thank you
Speech Recognition is a very difficult problem that many very knowledgable people have been struggling with for years. Microsoft has made some impressive steps, and I believe you can get speech recognition software from them for use on Windows systems. I am unsure about other systems.

Even if you are the only person who will be talking to your computer, what you want to do requires some sophisticated programming. (But it isn't un-doable.)

Sorry.

http://en.wikipedia.org/wiki/Speech_recognition
Here's something that might be of interest:
http://cmusphinx.sourceforge.net/

-Albatross
Wow, sweet stuff!
thank you albatross but that seems to be aimed more towards iphone.

incubbus that is what i am looking for however i dont really understand much of it. if you happen to know what it means then any lessons you are willing to contribute would be very helpful if not then thank you anyways.

looks like you learned something new today duoas hope it helps you to
okay i just reviewed the codes on the website that incubbus gave m. this is really confusing can someone help me
What are u confused with?...
well when i read it its like finding your way threw a maze. hyperlinks lead to others which go back to the original. i just need help in trying to figure out exactly what the code means and how to impliment it.
Did You try the links in the navbar to the left?:P... (e.g. http://msdn.microsoft.com/en-us/library/ee125077%28v=VS.85%29.aspx)...

Btw... You need to have a basic undestanding(or more) of how to use COM (http://msdn.microsoft.com/en-us/library/ee663263%28v=VS.85%29.aspx) for the interfaces...
of course neither of those show up on my comp. for some reason it cant retrieve them
hmmm... Go to the link i posted first... slect one of the SAPIs (e.g. 5.4.) and at the left (in the navbar) click the overview or sdk, sample, tutorials link... (read them all^^)...

You can also change the MSDN´s appearance to the old style under "preferences" in the top right corner...

EDIT: I suggest You reading about TTS first... So You can make your computer "talk"... Maybe You got a better understanding of things due to this and SR becomes more easy to develop (which means its still hard, since there are no real tutorials for SR at the MSDN)...
Last edited on
i have dev-c++ do i need anything else
I´m not sure about this (because I use MS VC), but I think, that You will need the Windows SDK.
Oh gods, before you go any further, get yourself a better set of tools.
http://www.microsoft.com/express/

-Albatross
i have heard of tts before but these tutorials only talk about things they dont actually give the code and tell you how to make it do what you want. if you know of a pace to do this or you know how that would be amazing

edit i just looked under tutorials my bad. but does this allow your computer to recognize your speech then output speech?
Last edited on
whats wrong with my stuff
Wait... you just want your computer to repeat exactly what you say in the exact way you say it? Or do you want your computer to recognize your speech, convert it to text, and then speak it? Because the first is so much easier than the second.

-Albatross
the second with some changes
So first go and understand TTS, and battle your way through all the information and functions given in the SAPI^^...
Pages: 12