1
\$\begingroup\$

Do you think is possible that this Electret Microphone https://www.sparkfun.com/products/9964 plus a DSPIC can recognize music frequencys with a FFT, or the electret only recognize the sound levels?

\$\endgroup\$
1
  • \$\begingroup\$ Notice the amp in the module is a OPA344, which has only 1 MHz gain bandwidth product. The product page for the module states the amp has 100x gain. That means the amp's bandwidth would be only 10KHz. It might be "good enough" but I wouldn't know. \$\endgroup\$
    – Mike
    Commented Aug 17, 2014 at 11:36

2 Answers 2

2
\$\begingroup\$

For sure.

The electret will pick up sound just like any other microphone. There are a few draw backs though. You will be limited by the range of frequencies you can pick up with this type of microphone. I'm not sure what range you can expect but such information would be listed in the microphones datasheet.

Once you are able to get the analog stream from the microphone, you can analyze it using a suitable FFT algorithm, such as FFTW. It is from those, you'll be able to extract various peak frequencies within the music.

\$\endgroup\$
1
\$\begingroup\$

That microphone seems quite capable enough to pick up everything but the highest-frequency harmonics from tophat cymbals, and the amplifier's specs are better than those of the microphone. I can't think of any good reason why a DSPIC, in combination with that microphone couldn't be taught to recognize musical tones it "hears".

It can't do so as a plug-and-play unit, of course - it WILL take some considerable programming just to pick out primary monophonic tones, and considerably more to pick out polyphonic tones and harmonics.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.