Speech recognition in the computer sense of the word, is a process to analyze speech and transform it in words and phrases. It therefore allows the passage of a sound in a text. The term generally used in English is Automatic Speech Recognition (ASR).
I decided to create this tutorial from my undergraduate work to become media engineer specialized in information technologies. This work was to develop an application to learn braille with
buzz marketing of the synthesis and speech recognition and therefore in avoiding is fully keyboard and screen (very usable by people with disabilities; view step)).
At the beginning of this work, I must say that I have galéré to find information about speech recognition, and especially how to add it to an application. This is an obscure science it and nobody will speak. Then, I told myself that I was going to make my small contribution...
I would point out that I did research on speech recognition and different engines exist. The engine is used in this tutorial comes from Windows, specifically Windows Speech Recognition and is available in French in Windows Vista and Windows 7, in the version in English of course.
Using a different IDE is also possible (I myself am forced to return to Visual Studio 2008 Express editions for this tutorial!), but I do not guarantee that everything is in the same way. Also as an intermediate level is requested to follow this tutorial, I will dwell not on details like: How do I set up a microphone, where to find the IDE, what is Windows and so on and best.
Otherwise, to titillate the people, following a super screen shot which shows what will be obtained at the end of this reading. This will be a demonstrator for using various commands to display letters, digits and make quitting the application. After, if everything was included, it will be possible to create applications that work with the ASR very easily. Incidentally, I developed this demonstrator just before my Bachelor to show my professor that I do not went to planting me during project work. So, Yes, is minimalist, but it works and that's what is asked.
So, we are arrive kindly. It still need to perform a few operations, and after all is ready. First, it must import libraries of speech recognition in the project. The library that you are going to use is named system.speech, and it is available in standard, therefore not complicated to carry out manipulations. To do this simply do a right-click on References > Add Reference => select the right and click OK.
In the program, we will need a grammar XML file to manage voice commands; then we'll create a. This must be a right-click on DemoRecoVocale and Add > New Item => select XML file, name it grammaire.grxml, and click OK. Then do a right-click on this new file and then Properties, and go to the Copy to Output Directory option to select Copy always.
Now the turn of the class which will handle speech recognition. This must be a right-click on DemoRecoVocale and Add > class => rename to ASR.cs and click OK. This class will take care of everything for speech recognition and is in following actions (the displayed text changes and closing the application). It will also contain the speech recognition engine instance.
Engine of speech recognition in this part is initializing its most basic functions and speech recognition engine. Also, for the sake of quality, the functioning of the application will be changed that speech recognition works after the pressure until the end of speech recognition and the space key. This ensures that the application is wraps due to ambient noise including (breath work, phone, etc.).
Loading...