The Echo Nest Remix API
June 22nd
The aim of the Echo Nest Remix API is to let you manipulate and remix music and video through code. Execute the few lines below:
import echonest.audio as audio
audio_file = audio.LocalAudioFile("input.mp3")
beats = audio_file.analysis.beats
beats.reverse()
audio.getpieces(audio_file, beats).encode("output.mp3")
And you have now reversed a song by ‘playing its beats forward from the end of the song’. The output of which would look a little something like this.mp3.
First off, you’re going to need to grab an API key by registering an account. If you’re using OS X you can follow this install process (here’s Linux and Windows). Make sure to run the example at the end of the installation process to confirm that everything works.
Congratulations! You can now mess around with beats and manipulate all your mp3s and videos. Try out the rest of the examples to get an idea for just what the Echo Nest Remix API can do. To get an idea of just how powerful the (upcoming) video manipulation is, check out Where’s The Pow by Paul Lamere in which he remixes the Black Eyed Peas — Boom Boom Pow.





