On Jan 6, 2008, at 6:40 PM, Jono Oshea wrote: > I'm fairly new to Ruby and programming in general. I wanted to make a > program using the BlinkenLights library(which I already have and know > how to use) that would make the LEDs pulsate to the bass of the > music. I > already have a few other sound libraries but all they do is play sound > and detect tags. Is there any libraries or anyway in code I could > detect > audio playing? > -- > Posted via http://www.ruby-forum.com/. > You'll probably need a C/C++/Obj-C library to do this fast enough to appear to be in sync. You might however simply consider looking into one of the game libraries. rubygame gosu etc... they don't just do games, they do sound and animation and such well. You might look at the C code for VLC player at videolan.org Pretty slick software, crossplatform, and includes some minimal audio visualizer/analyzer.