PO Box 6603

Huntsville, AL 35813, USA

+1-256-970-1906

max@CliveMaxfield.com

Using MSGEQ7s In Audio-Reactive Projects

The MSGEQ7 8-pin dual in-line (DIL) integrated circuit accepts an audio stream as input and splits it into seven different “frequency buckets.”

Blog Sponsors

Support My Blog


I just received an email from a reader of Practical Electronics magazine in the UK. This reader, who we will call Simon (because that’s his name), had recently run across my old Bodacious Acoustic Diagnostic Astoundingly Superior Spectromatic (BADASS) display project — as illustrated in this video with my chum Ivan pressing the buttons — and was asking for details regarding the use of the MSGEQ7 audio spectrum analyzer IC.  
Just in case you’ve never heard of the MSGEQ7 audio spectrum analyzer, this little beauty is a cheap-and-cheerful 8-pin dual in-line (DIL) integrated circuit that accepts an audio stream as input and splits it into seven different “frequency buckets.” You can then use your microcontroller to read the values in these frequency buckets to see how much base, middle, treble, etc. you have on a moment-by-moment basis, and you can use these values to drive technicolor LED displays. When I created the BADASS display, I took the stereo output from the headphone socket on an iPod (running at about 70% full volume), fed the two channels into two MSGEQ7 devices, and then used an Arduino Mega to loop around reading the frequency values from the MSGEQ7s and displaying them on 16 strips of NeoPixel tricolor LEDs. If you are interested, you can click here to see the code I’m using in the BADASS display. To be honest, it’s been ages since I looked at this, and I have to say that I’m quite impressed how small it is for all the effects I manage to squeeze out of it. More recently, in the case of my Awesome Audio-Reactive Artifact — as illustrated in this video with my chum Ronnie pressing the buttons — I used a single MSGEQ7 being fed by an ADMP401-based INMP401 MEMS Microphone Breakout Board (BOB), which costs $10.95 from the guys and gals at SparkFun.  
Fortunately for Simon, I’ve written quite a few columns on the MSGEQ7 over the past few years, with the following being the most relevant for someone who is just starting to think about experimenting with this little scamp: I also told Simon that, if I were to build a new audio-reactive artifact, then a strong contender would be the decidedly drool-worthy 7-band audio spectrum analyzer shown in this video.  
Actually, it’s been quite a while since I looked at this video, but I just watched it again, and I must admit I feel my creating juices starting to flow…

Blog Sponsors

Support My Blog

0 0 vote
Article Rating
Subscribe
Notify of
guest
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Max Maxfield

I Keep on looking at that 7-Band Spectrum Analyzer and thinking “Oooh, Tasty!”

John Weiss

Neat! Definitely BADASS!

But disappointed about the IC, as i’m seeking an audio-equalizer chip. In my day, this chip might be termed “spectrum analyzer”.

Doesn’t look like the manufacturer offers an audio-eq
https://mix-sig.com/index.php/products/standard-products

John Weiss

I s’pose a true spectrum analyzer would prolly be an FFT, or (before FFT was discovered in 1965) a filter sweep. Since this device has a handful of fixed bands, it’s frequency resolution is somewhat limited.

https://en.m.wikipedia.org/wiki/Spectrum_analyzer#History

Blog Sponsors

Buy this space!

Recent Posts

But Where Should the LEDs Go? 

Kan Klive’s Karnaugh Maps Be Korrect? 

Measuring the Width of a Human Hair with a Laser 

Manual Required for Edison Model 35-A Ticker Tape Machine 

Tension Mounts as Sensor Smackdown Looms 

Meet the DrawBo Robotic Drawing Tutor 

I Can Do Anything Better Than You! 

Make Sure “Only” Knows Its Place 

University of Kansas Probes Secrets of Universe 

Not Your Grandmother’s Embedded Systems 

  • LOGIN
  • REGISTER
LOGIN

Already a member? Login


Oops, forgot your password?

Please enter your username or email address.
You will receive a link to create a new password via email.

REGISTER
  • Name

  • Usernames cannot be changed.
  • Contact Info

  • About Yourself

  • Share a little biographical information to fill out your profile. This may be shown publicly.
  • Add or Edit GravatarYou can change your profile picture on Gravatar
  • Type your password.
  • Type your password again.

Edit Profile

You must be logged in to edit your profile.

5
0
Would love your thoughts, please comment.x
()
x