I am trying to set up an array of audio files, one of which will be extracted at random when predefined voice commands are recognised by the VRBot.
I have written a function that sets up an array of file locations and plays one at random when executed.
Any ideas as to how I can code the board to listen for these voice commands and trigger my function when the command words are recognised? There is a real lack of example sketches for voice recognition compared to other areas, and I'm new to all of this.
Also, what are my limitiations with regards the amount of inputs the board can have? Ideally, I'd like to hook up a mini speaker so play the sound and some kind of flash memory to store the files. Will this be possible?
Any help would be massively appreciated. ;)