I used Steven Hicksons voice command software. If you are looking for voice command software for your pi, stop looking and use this one. It is by far the easiest to setup and to use. It is also very well documented and it is quite reliable.
You can download it
from his website and there are also some videos there that show you how you can set it up.
The voice-command software comes as a part of a whole suite of media related applications for the pi. I only installed the voice-command software, but if you like to use more of them for your project, then feel free to install them.
When the software is installed, you can enter the following command:
It will start an automatic setup process that guides you step-by-step through the setup of your device.
When this is done, you can enter:
This will open the config file and allow you to set the commando's and the related actions.
It has to be entered in the following format:
The command system is pretty simple. When you set the command to play
, it will only react when you say nothing else but 'play'. When you set it to play music
it will only react to 'play music' and not to 'play' or 'play chess'. But when you set it to ~play
it will react to any sentence that contains 'play'.
The action can be any executable command.
When you are done editing the config file, save it and everything is ready.
To run the software just enter:
and enjoy your personal assistant. The good lady will now listen to your commands and perform the appropriate task. When she doesn't find a matching task to a command you gave, she will look it up on Google and she will try to give you a satisfying answer. You can finish the project now but in the next steps I will show you how to get more out of it.