Using Pocketsphinx to interpret your voice commands

Now that our projects can speak, you will want them to listen as well. This isn't nearly as simple as the speaking part, but thankfully, you have some significant help. You are going to download a set of capabilities called Pocketsphinx, and using these, you will provide your project with the ability to listen to your commands.

The first step is to download the Pocketsphinx capability. Unfortunately, this is not quite as user-friendly at the eSpeak process, so follow along carefully. First, go to the Sphinx website, hosted by Carnegie Mellon University at http://cmusphinx.sourceforge.net/. This is an open source project that provides you with the speech recognition SW you will need. With ...

Get BeagleBone Robotic Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.