Tuesday, October 22, 2013

Led stripe music visualiser. #spotify #RaspberryPi #arduino

This hack start as a idea to connecting Spotify to philips hue and make them flash in sync to the music. But during the path off the project it become more about led lights =)

Music visualiser built in to TV table



There is four parts in the current configuration

  1. Spotify app
  2. Raspberry pi controlling an addressable led stripe (optional)
  3. Arduino controlling non addressable led stripe (optional)
  4. Philips hue (optional)

The Spotify app

Spotify have an api to get realtime analyse of the playing track so it is possible to do beat detection and other fun stuff. When i started this project I had no idea how to visualities music and just test different things to it locked good. The code is at the moment a mess but you can find it here https://github.com/evilmachina/spotify-hue 




Raspberry pi

The raspberry pi is running a node.js app that is connected to a digital RGB LED Strip LPD8806 from Adafruit and the Spotify app is connecting to the node app using socet.io. Code https://github.com/evilmachina/node-led-visualiser  

R-Pi



Arduino

The Arduino is controlling Ikea dioder and are connected to the Raspberry pi using serial port and changes colour in sync to the beat and intensity to the base band.  

Using aluminum foil as reflector for the dioder 

Philips hue

The philips hue is more as some extra mode lights due to the hub is not not fast enough. Have only bean able to get one light bulb blink in sync whit the music whiteout lagging. 



And of course we have a version of this at our office to :)

Earlier version

For smaller more portal music visualiser check out the LED jar.

Happy hacking!
Marcus

Updated: Added link to LED jar




5 comments:

  1. Alright, there are two or three repetitive things to achieve still. No site is finished any budget wireless alarm systems longer without interactive logos.

    ReplyDelete
  2. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. buy spotify plays

    ReplyDelete
  3. Have you ever been among a group of people who use terms you are supposed to know? What did you do? buy spotify plays

    ReplyDelete
  4. Thank you for some other informative website. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info. buy spotify streams

    ReplyDelete