Speech recognition with Arduino and BitVoicer server
In this Instructable I will show how to use an Arduino board and BitVoicer server to control some LEDs with voice commands. I will use the Arduino’s Micro in this Instructable, but you can use any Arduino card you have at your fingertips.
The following procedures will be executed to turn the voice commands into LED activity:
- Waves audio will be captured and amplified by the Sparkfun electret derivation card;
- The amplified signal is digitized and buffered in the Arduino using its analog-to-digital converter (ADC) ;
- The audio samples will be broadcast on the BitVoicer server using the Arduino serial port;
- BitVoicer Server will process the audio stream and recognize the speech it contains;
- The recognized speech will be mapped to predefined commands that will be redirected to the Arduino;
- The Arduino will identify the commands and perform the appropriate action.
The video above shows the end result of this Instructable. Note in the video that BitVoicer Server also provides feedback of synthesized speech. This voice feedback is defined in the server and reproduced by the audio server adapter, but the audio synthesis could also be sent to the Arduino and reproduced using a digital-to-analog converter (DAC) . In my next post, I will show how to use the Arduino DUE, an amplifier and a speaker to reproduce synthesized speech using the Arduino itself.