This weekend at Music Hack Day Reykjavik I built a music hack called Infinite Gangnam Style. This hack takes the viral hit by Psy and creates a never ending, ever changing version of the song. Here’s a video of it:
The app works by taking the audio and analyzing it with The Echo Nest analyzer to break it up into its individual beats. Next, an analysis pass is run on all the beats finding each beat’s nearest similar sounding neighbors that fall within a similarity threshold. Then, the song is played beat-by-beat – but with the added twist that any time we play a particular beat there’s a chance that we will transition instead to one of the beat’s similar sounding neighbors. For a pop song like Gangnam Style there’s lots of repetition so there’s plenty of good transition points. The result is that we can loop through the song forever with the song always morphing.
Since the Gangnam Style video is a key part of the song, I’ve included a dynamically remixed video in the web app too. (The mixing is done just be image swapping, there’s no way to dynamically control a video player as far as I know, which is why this app will load about 2000 images ;).
This hack was inspired by Tristan’s “James Brown Forever “ hack.