Page 157 - The Definitive Guide to Building Java Robots
P. 157

Preston_5564C05.fm  Page 138  Tuesday, September 20, 2005  5:13 AM



                 138    CHAPTER 5  ■  SPEECH




                        ■Note  The files from the Apress web site follow the examples in this book. If you download from
                        www.quadmore.com, you will need to modify your examples so they don’t include any package structure.
                        Both the QuadmoreTTS.class and QuadmoreSR.class will also need to be in your class path.




                            5. Install the Microsoft Speech SDK for Windows. This will install the other voices and set
                              up your machine for text to speech, as well as speech recognition using the Microsoft
                              API. You can download these at www.microsoft.com/speech.

                            6. Once you’ve downloaded all the files, make sure you spend 15 minutes or so training
                              your system to recognize your voice. You’ll also need to buy a headset microphone
                              (about $20), which picks up less noise than external microphones.

                            To configure Microsoft Speech, see Figures 5-1 and 5-2, shown next.































                        Figure 5-1. The Microsoft Speech Recognition tab
   152   153   154   155   156   157   158   159   160   161   162