This was the result of a fun hackathon project at Electric Imp. I turned a NeoPixel ring and an Impeeduino (Arduino and Imp hybrid) into a basic audio spectrum display. The video can be seen on YouTube.
- The arduino code is responsible for reading audio data from the microphone, running a fast fourier transform on the data captured to product a spectrum and then handing it off to the Imp device code via UART.
- The agent code is responsible only for assisting with the programming of new Arduino code and could be done with the Arduino IDE directly.
- The device code is responsible for reading the spectrum data and displaying the animation on the NeoPixels.
This code is provided without warantee or support because I can't remember much about it.