[Pcom] Visualize Sound Frequency Captured By 2 Microphones
This is the frequency visualization of the sound captured by 2 self-built electret microphones. The 2 lines of bars show the frequency of sound coming from 2 microphones.
The original example acquire analog signal from A0 of Arduino, and Serial out to Processing to visualize.
I added a timer (download the library) to the Arduino code so that every 100 milliseconds the microchip will switch reading signals between A0 and A1. In this way, more microphones could be added. Analog signal is captured at 9.6 KHz, 64 spectrum bands each 150Hz which can be change from adcInit() function.