[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.
Take a look at http://www.youtube.com/watch?v=drYWullBWcI. Original Fixed point FFT library is from ELM Chan http://elm-chan.org/works/akilcd/report_e.html

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.

One Comment

  1. First off I would like to say fantastic blog! I had a quick question in which I’d like to ask if you don’t mind.
    I was curious to find out how you center yourself and clear your mind before writing.
    I’ve had a hard time clearing my thoughts in getting my thoughts out. I do take pleasure in writing but it just seems like the first 10 to 15 minutes tend to be lost just trying to figure out how to begin. Any suggestions or tips? Appreciate it! Candace, http://www.ices.lk/bb/profile.php?mode=viewprofile&u=26807

Leave a Reply