As a first robot project I plan to make a voice-controlled robot that goes to a given colored ball (among many) on command. I like the idea of the multi-function EZ-B single-board controller and the off-board intelligence provided by a Bluetooth-linked PC. That certainly makes voice recognition a lot less expensive!
However, I'm having trouble with Visual Basic (VB) Express 2010 (and 2008) working with the Vista speech function.
For simplicity, I started out trying to do simple text-to-speech synthesis; i.e. clicking on a screen button sends "Hello World" to Vista's speech function.
I located several code listings and entered them in VB. But when I try to run them in F5-Debug I get an error message saying the called speech function is not "registered." For example see http://forum.codecall.net/visual-basic-programming/28364-text-speech-vb6-visual-basic-net.html, and click on "VB Text to Speech really Simple". Note that it "really works." But not for me! Also try the method in this article, after making an on-screen button, and see what happens: http://channel9.msdn.com/coding4fun/articles/Giving-Computers-a-Voice.
I also down-loaded and unzipped several different project files. But when I try to call them up in VB, in each case I get an error message saying the project file is not present or has been moved, even though I can see that it is in the unzipped location. An easy example is the article at http://channel9.msdn.com/coding4fun/articles/Giving-Computers-a-Voice; do the VB Download. Also try this speech recognition one: VB2008SpeechRecoDemo.zip.
I've got a decent background in programming but am just now learning VB. I'm stuck and am asking for help on the above two problems.Skip to comments