Pages: [1]   Go Down
Author Topic: LED Music Visualizer  (Read 5265 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 2
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is my first project. I noticed a few of these guys around. It's an RGB LED music visualizer. This first video doesn't do complete justice, but I hope you enjoy it (it looks super cool in real life, I think). The beat tracking code is extremly simple, but original and robust. Processing is not used; it's all stand alone on the Arduino. I've started posting instructions with more pictures/ my custom shield (it's a good Noobie project) at my blog: http://www.majordecibel.blogspot.com





It was a lot of fun smiley More videos and projects in the pipeline.

Feedback would be awesome! I'm hoping to play with one of those RGB LED strips next.

Thanks!
« Last Edit: February 10, 2011, 01:15:53 pm by majordecibel » Logged

+++ Check out The MajorDecibel Project Review, a third party project review site spotlighting electr

Rome - Italy
Offline Offline
Full Member
***
Karma: 2
Posts: 246
Arduino UNO "Noob" User
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

nice  smiley-mr-green
Logged

Offline Offline
Newbie
*
Karma: 2
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks smiley

This is just the starting point - plan to follow up with more/ new versions.
Logged

+++ Check out The MajorDecibel Project Review, a third party project review site spotlighting electr

0
Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That looks really good... and wanted to say thanks for inspiring me pick up my arduino again.

my music vis project has always been anti-hardware. I'm more in it for programming then circuitry
this is my take on the RGB http://www.silvercg.com/2011/02/14/arduino-rgb-led-winamp/

Cheers,
Dave
Logged

Offline Offline
Newbie
*
Karma: 2
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey that's awesome! I took a look at the video and your blog - well done. Thanks for the feedback smiley
Logged

+++ Check out The MajorDecibel Project Review, a third party project review site spotlighting electr

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is excellent.
I'm looking at doing something similar, with the rgb strips actually.
I have been playing aroung with pwm rgb mixing on the 12v strips through the arduino.
I'm looking at adding music visualisation to it so I will be checking your project out more.
I too want everything controlled on the arduino. These things are made to go to parties smiley-wink

Thanks for sharing, I'm impressed.
Logged

Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Definitly cool!
I want one!
I took a look to your blog, just wanted to ask if the circuit and the code that I see there are the one used in the video...
Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

Offline Offline
Newbie
*
Karma: 2
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Finished a stand alone PCB and mounted all hardware; USB powered, very simple and low cost. I have since redone this with three high brightness CREE LEDs which look great vs. the single RGB LED. Very bright!



Haven't updated the blog in a while, but plan am now planning to release full code at some point soonish, and maybe some more details at my "blog" (haven't updated in a while).

Thanks!

http://majordecibel.blogspot.com/
Logged

+++ Check out The MajorDecibel Project Review, a third party project review site spotlighting electr

Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd like to make at least one of those for the next party :-)
Can't wait to see the three led version, the pcb schematic and the code...   smiley-mr-green smiley-mr-green
« Last Edit: July 16, 2011, 09:44:16 am by Federico » Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

USA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
I’m no expert, but I play one on the Internet…
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just wrote a post about the MSGEQ7 - Seven Band Graphic Equalizer in the sensor forum last night. The chip allows you to read 7 bands from an audio input. I like using it to read 3 channels and then map thier values to RGB values for the LED(s). ie...

Channel 0 -> Low -> Green LED brightness
Channel 3 -> Mid -> Blue LED brightness
Channel 6 -> high -> Red LED brightness
 
Even using only 3 of the 7 channels the results are great.

Check out my post from last night for links to 2 shields for the MSGEQ7:
http://arduino.cc/forum/index.php/topic,66093.15.html

willnue
Logged

Minneapolis, MN USA
Offline Offline
Full Member
***
Karma: 2
Posts: 162
Never catch a falling soldering iron...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This looks really nice.  I'm really interested in the beat detection code, but I can't find it anywhere on your site.  Are you going to let us see the code?
Logged

USA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
I’m no expert, but I play one on the Internet…
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry, I didn't mean to imply it was there. I will be adding a post to my site documenting the current project I am working on, but it's still a bit away - build pictures are taken but still need to finalize some of the effects before recording videos. I also just added IR remote control, which is slowing some of the effects down too much, so I need to optimize the code a bit.

To try to give you a better picture, take a look at J Skoba's MSEQ78 tutorial and code. The original tutorial was here http://skoba.no-ip.org/msgeq7/, but the site hasn't been up in a few weeks/months. Fortunately I have a copy that I just published on my site here http://nuewire.com/info-archive/msgeq7-by-j-skoba/.

Now that you can see how to read the 7 channels from the audio source, here is a snippet from one of my basic effects to map 3 channels to RGB values for a strip of LED lights.

Note: Colorfill() refers to a function for my LED strip lights. You would replace this with the code to light up your LED(s).
Code:
void loop() {

  //read the values from the MSGEQ7
  digitalWrite(resetPin, HIGH);
  digitalWrite(resetPin, LOW);

  for (int q = 0; q < 7; q++)
  {
    digitalWrite(strobePin, LOW);
    delayMicroseconds(30); // to allow the output to settle
    spectrumValue[q] = analogRead(analogPin);
 
    digitalWrite(strobePin, HIGH);
  }
 
  //EQ Color Organ
  ledeqred = (spectrumValue[5])/32; // Read channel 5 as Red and divide by 32 to map it to value from 0-32
  ledeqgrn = (spectrumValue[3])/32; // Read channel 3 as Green and divide by 32 to map it to value from 0-32
  ledeqblu = (spectrumValue[1])/32; // Read channel 1 as Blue and divide by 32 to map it to value from 0-32 
 
  colorFill(Color(ledeqred, ledeqgrn, ledeqblu), 25); //Fill in the LED string with RGB values
}

willnue
Logged

Offline Offline
Newbie
*
Karma: 2
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone, first of all thank you so much for all the views and feedback I've received over the past few months while this project has been up! It was really cool. I wish I had provided more info in greater detail, as I know some people have expressed an interest in just that. While I haven't gotten around to flushing out all of the details on the LED Music Visualizer project just yet (hopefully I will), I just wanted to let you know that I'm piloting a new blog. I'm hoping to run it as a third party "project review" site with links to other news, etc. You can check it out mdbreview.blogspot.com. My contact email is listed on the blog, so if you are interested in getting some exposure for your blog, website, or videos related to your projects, feel free to drop me an email and I will see what I can do. Cheers!
Logged

+++ Check out The MajorDecibel Project Review, a third party project review site spotlighting electr

Pages: [1]   Go Up
Jump to: