Now that your system can both hear and speak, you want to provide the capability to respond to your speech and perhaps even execute some commands based on the speech input. I will assume that you've been successful at each step in this chapter and your BeagleBone black can both speak and listen. You're going to configure the system to respond to your simple commands now.
In order to respond, you're going to edit the continuous.c code in the /home/debian/src/programs directory. You could create our own .c file, but this file is already set up in the makefile system and will serve as an excellent starting spot. I like to first make a copy of the current file into continuous.c.old. This way, I can always get back to the starting program if it is required. Then, you will need to...