G+_Darrell Sullivan Posted April 28, 2016 Share Posted April 28, 2016 Has anyone built an Arduino or Raspberry Pi project that will flash lights with the beat of music being played? I am looking for the beat, not the frequency. I want to flash an RGB light so that each time it flashes a different color. Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted April 28, 2016 Share Posted April 28, 2016 I know one of the members coriographed his Christmas lights to music. But I don't think that's quite what you are looking for. Let us know if you find a solution Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted April 28, 2016 Share Posted April 28, 2016 There's a program called Vixen, but thats probably not what you're looking for since I believe it's a manual process. Actual beat detection is apparently difficult. You might be able to get by with a low pass filter, but that may not be as effective for all songs. I found this blog post from a year ago and the author says his code works, but obviously I haven't tested it: http://dpeckett.com/beat-detection-on-the-arduino Link to comment Share on other sites More sharing options...
G+_610GARAGE Posted April 28, 2016 Share Posted April 28, 2016 A while ago, I made christmas window candles flash to music on a radio station. But I used a computer running a program I made utilizing a language called processing. This language had a library that had beat detection. Then the computer would talk to the arduino which then talked to a bunch of arduinos through cheap radios. It would probably be simple to do this on the raspi. Just look for an audio analyzing library for your favorite program language. Link to comment Share on other sites More sharing options...
G+_Darrell Sullivan Posted April 28, 2016 Author Share Posted April 28, 2016 Thanks for the feedback! I will take a look at just using a laptop since this is only going to be a one time thing and as long as I can keep the cable run out of the video frame I should be fine. Link to comment Share on other sites More sharing options...
Recommended Posts