I'm new to Arduino, but I have a fair amount of experience programming in C, so using an Arduino for my current school project seemed logical when my teacher suggested it. The teacher specifically recommended the LilyPad Arduino, as the project involves some textile aspects, so I purchased a LilyPad 328 Main Board from SparkFun.
The idea of the project is as follows:
- Get audio (music) input from a 3.5mm headphone jack (on a computer, MP3 player, etc.)
- Split the audio into 6+ frequency bands (the number of bands is flexible, but must be at least 6)
- When the amplitude of a particular frequency band is high enough (minimizing response to "noise"), activate one of 6+ LilyPad Vibe Boards (the project will include one Vibe Board for each frequency band)
- When the amplitude of a frequency band is below the threshold, deactivate the corresponding Vibe Board
In addition to processing the audio input as detailed above, I would like to allow users to plug in a pair of headphones and listen to the music being played.
I'd been investigating the possibility of building circuits to split the audio input into frequency bands, but just today I came across some Arduino shields which seem to accomplish what I need:
Both break audio input from a 3.5mm jack into seven frequency bands, and have a second jack for headphones.
The trouble is, I'm aware that these shields are designed for standard Arduinos, not the LilyPad. I'm wondering, is there a way to connect either one to the LilyPad Arduino, assuming I'm willing to do some extra wiring? Or, if not, is there an alternative option for LilyPad which accomplishes the same thing?
Any help on this would be much appreciated.