Quite some time ago, I have demonstrated how to build some Guitar Effects with my Arduino Audio Tools. In the last couple of blogs, I showed how to build an interactive web dialog with my TinyHttp library.
Finally it is time to put the two approaches together into one single sketch to build some Audio Effects that can be controlled via a html screen. I am using an AudioKit to simplify the hardware setup.
The Arduino Sketch
If you look at the source code, you can recognise that we are just setting up
- a webserver for the dialog and the REST and
- an Audio Effects chain
Most of the AI Thinker AudioKits have a bug and the microphone can not be deactivated. You you will need to use a device this does not have this issue (e.g a LyraT board), de-solder the microphones or use a Guitar Preamplifier.
It is also quite easy to replace the AudiKitStream with an I2SStream and use an I2S ADC and DAC instead…