I'm using the pocketsphinx library on the raspberry pi to control it by voice commands. The first problem is when I speak it shows me that it's listening but it gave me no answer and it deosn't write what I say! The second problem is how to control things using these commands. For instance i WANT TO CONTROL LEDs using voice commands!
If anyone can help, please don't hesitate to let me know.