We loved the idea of having a stadium of people holding their mobile phones and having them changing according to the music played.

What it does

Flash displays color patterns according to the song being played in a concert.

How we built it

We used a python script to play the song, and used Numpy to do a Fourier transform on the audio and hashed it into a color. Then it is pushed via Websockets to the client and displayed on the browser.

Challenges we ran into

Node.js doesn't have a good FFT library, while python flask didn't work well with multi-threading. So we used the python script to pump data into Node.js, which then used Websockets.

Accomplishments that we're proud of

We managed to connect a program written in two languages and made a real-time WebApp.

What we learned

Which libraries are good for which purpose

What's next for Flash

Add different patterns to the graphics and make the syncing better.

Share this project: