MIDEM Hack Day recap
What better way to spend a weekend on the French Riviera then in a conference room filled with food, soda, coffee and fellow coders and designers hacking on music! That’s what I and 26 other hackers did at the MIDEM Music Hack Day. Hackers came from all over the world to attend and participate in this 3rd annual hacking event to show what kind of of creative output can flow from those that are passionate about music and technology.
Unlike a typical Music Hack Day, this hack day has very limited space so only those with hardcore hacking cred were invited to attend. Hackers were from a wide range of companies and organizations including SoundCloud, Songkick, Gracenote, Musecore, We Make Awesome Sh.t, 7Digital, Reactify, Seevl, Webdoc, MuseCore, REEA, MTG-UPF, and Mint Digital and The Echo Nest. Several of the hackers were independent. The event was organized by Martyn Davies of Hacks & Bants along with help from the MIDEM organizers.
The hacker space provided for us is at the top of the Palais – which is the heart of MIDEM and Cannes. The hacking space has a terrace that overlooks the city, giving an excellent place to unwind and meditate while trying to figure out how to make something work.
The hack day started off with a presentation by Martyn explaining what a Music Hack Day is for the general MIDEM crowd. After which, members of the audience (the Emilys and Amelies) offered some hacking ideas in case any of the hyper-creative hackers attending the Hack Day were not able to come up with their own ideas.
After that, hacking started in force. Coders and designers paired up, hacking designs were sketched and github repositories were pulled and pushed.
The MIDEM Hack Day is longer than your usual Music Hack Day. Instead of the usual 24 hours, hackers have 45 hour to create their stuff. The extra time really makes a difference (especially if you hack like you only have 24 hours).
We had a few visitors during the course of the weekend. Perhaps the most notable was Robert Scoble. We gave him a few demos. My impression (based upon 3 minutes of interaction, so it is quite solid), is that Robert doesn’t care too much about music. (While I was giving him a demo of a very early version of Girl Talk in a Box, Robert reached out and hit the volume down key a few times on my computer. The effrontery of it all!). A number of developers gave Robert demos of their in-progress hacks, including Ben Fields, who at the time, didn’t know he was talking to someone who was Internet-famous.
As day turned to evening, the view from our terrace got more exciting. The NRJ Awards show takes place in the Palais and we had an awesome view of the red carpet. For 5 hours, the sounds of screaming teenagers lining the red carpet added to our hacking soundtrack. Carly Rae, Taylor Swift, One Direction and the great one (Psy) all came down the red carpet below us, adding excitement (and quite a bit of distraction) to the hack.
[youtube http://www.youtube.com/watch?v=OUkLAsphZDM]Yes, Psy did the horsey dance for us. Life is complete.
Finally, after 45 hours of hacking, we were ready to give our demos to the MIDEM audience.
There were 18 hacks created during the weekend. Check out the full list of hacks. Some of my favorites were:
- VidSwapper by Ben Fields. – swaps the audio from one video into another, syncronizing with video hit points along the way.
- RockStar by Pierre-loic Doulcet – RockStar let you direct a rockstar Band using Gesture.
- Miri by Aaron Randal – Miri is a personal assistant, controlled by voice, that specialises in answering music-related questions
- Ephemeral Playback by Alastair Porter – Ephemeral Playback takes the idea of slow music and slows it down even further. Only one song is active at a time. After you have listened to it you must share it to another user via twitter. Once you have shared it you can no longer listen to it.
- Music Collective by the Reactify team – A collaborative music game focussing on the phenomenon of how many people, when working together, form a collective ‘hive mind’.
- Leap Mix by Adam Howard – Control audio tracks with your hands.
It was fun demoing my own hack: Girl Talk in a Box – it is not everyday that a 50 something guy gets to pretend he’s Skrillex in front of a room full of music industry insiders.
All in all, it was a great event. Thanks to Martyn and MIDEM for making us hackers feel welcome at this event. MIDEM is an interesting place, where lots of music business happens. It is rather interesting for us hacker-types to see how this other world lives. No doubt, thanks to MIDEM Music Hack Day synergies were leveraged, silos were toppled, and ARPUs were maximized. Looking forward to next year!
Girl Talk in a Box
Here’s my music hack from Midem Music Hack Day: Girl Talk in a Box. It continues the theme of apps like Bohemian Rhapsichord and Bangarang Boomerang. It’s an app that lets you play with a song in your browser. You can speed it up and slow it down, you can skip beats, you can play it backwards, beat by beat. You can make it swing. You can make breaks and drops. It’s a lot of fun. With Girl Talk in a Box, you can play with any song you upload, or you can select songs from the Gallery.
My favorite song to play with today is AWOLNATION’s Sail. Have a go. There’s a whole bunch of keyboard controls (that I dedicate to @eelstretching). When you are done with that you can play with the code.
The Stockholm Python User Group
Posted by Paul in code, data, events, The Echo Nest on January 25, 2013
In a lucky coincidence I happened to be in Stockholm yesterday which allowed me to give a short talk at the Stockholm Python user Group. About 80 or so Pythonistas gathered at Campanja to hear talks about Machine Learning and Python. The first two talks were deep dives into particular aspects of machine learning and Python. My talk was quite a bit lighter. I described the Million Song Data Set and suggested that it would be a good source of data for anyone looking for a machine learning research. I then went on to show a half a dozen or so demos that were (or could be) built on top of the Million Song Data Set. A few folks at the event asked for links, so here you go:
Core Data: Echo Nest analysis for a million songs
Complimentary Data
- Second Hand Songs – 20K cover songs
- MusixMatch – 237K bucket-of-words lyric sets
- Last.fm tags – song level tags for 500K tracks. plus 57 million sim. track pairs
- Echo Nest Taste profile subset – 1M users, 48M user/song/play count triples
Data Mining Listening Data: The Passion Index
Fun with Artist Similarity Graphs: Boil the Frog
Post about In Search of the Click Track and a web app for exploring click tracks
Turning music into silly putty – Echo Nest Remix
[youtube http://www.youtube.com/watch?v=2oofdoS1lDg]Interactive Music
I really enjoyed giving the talk. The audience was really into the topic and remained engaged through out. Afterwards I had lots of stimulating discussions about the music tech world. The Stockholm Pythonistas were a very welcoming bunch. Thanks for letting me talk. Here’s a picture I took at the very end of the talk:
Joco vs. Glee
With all the controversy surrounding Glee’s ripoff of Jonathan Coulton’s Baby Got back I thought I would makes a remix that combines the two versions. The remix alternates between the two songs, beat by beat.
[audio http://static.echonest.com.s3.amazonaws.com/audio/combo.mp3]At first I thought I had a bug and only one of the two songs was making it into the output, but nope, they are both there. To prove it I made another version that alternates the same beat between the two songs – sort of a call and answer. You can hear the subtle differences, and yes, they are very subtle.
[audio http://static.echonest.com.s3.amazonaws.com/audio/combo-t1.mp3]The audio speaks for itself.
Here’s the code.
[gist https://gist.github.com/4632416]Music Hack Day Stockholm
This weekend I was in Stockholm, participating in, and representing The Echo Nest at the Stockholm Music Hack Day held at Spotify HQ. It was quite an impressive event. Hundreds of hackers from all over Sweden and many others from all around the world joined together for 24 hours of hard core music hacking. Spotify did an excellent job hosting the event. The space was ideal for hacking – rock solid wifi with lots of bandwidth, an endless supply of caffeinated beverages, comfortable seating, and great audio/visual facilities for demos.
(photos by johncb1973)
There were a whole lot of music tech companies there too, showing off their technology. Such as:
Some hackers built their own musical instruments.
There were over 60 hacks demonstrated in a 3 hour period. Kudos to Andrew to keeping things moving along. There was very little demo fail – thanks to the good A/V and support from Andrew and his team.

While each team gave their demo, 100s of fellow hackers and guests watched, laughed, cried and celebrated the wonder of the music hacks.
There were all kinds of hacks: interactive games, music exploration and discovery, playlisting, remixing, sequencing. The hacks were incredibly creative, and despite the demo session being 3 hours long, the time just flew by. Be sure to check out the entire list of hacks.
We got to listen to much good music, from Oscar’s Flamenco guitar to creative remixing of the Blue Note Catalog.
I was quite pleased to see the number of hacks that took advantage of Echo Nest data to remix music. All of them were quite unique and clever uses of our API.
Stealing Feeling was one of my favorites of the Remix apps. They use the Echo Nest API to extract the rhythmic feeling of a song and used it to turn the output of a sterile drum machine beat into a living, breathing, human sounding rhythm.
My own demo was called Going Undercover. I used cover song data from SecondHandSongs to make music discovery playlists.
There were lots of Echo Nest based hacks. We originally planned to give out 2 prizes, but after seeing so many extremely high quality Echo Nest hacks we doubled the number of iPads we were giving out. The Echo Nest prize winners are:
The Sampler formerly known as Magnum Infinitity – TSFKAMI, is a musical instrument which creates patches from any sound or music you supply to it. Specify any directory with music or sounds on your hard drive and the contents will be uploaded to the EchoNest, which scans each file for short snippets with a pure(ish) pitch. The soundfiles are then chopped up and the desired snippets sorted by musical note and timbre and delivered to the sampler for that velvety smooth sounding goodness. https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/the-sampler-formerly-known-as-magnum-infinity
Super Mutroid – A music/rhythm platform game with a Super Metroid theme. – Plays a song through Libspotify and downloads song data from EchoNest. Generates obstacles based on the beats in the song. – https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/super-mutroid
Pimp My Radio – A physical standalone radio that connects to a WiFi network and plays music from Spotify based on your daily moments (wakeup, relax, work out, romance, party ). The radio has a knob control for setting the situation you want and also an lcd screen for showing the lyrics of the current song in sync with the time. https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/pimp-my-radio
Stealing Feeling Based around a 16 step javascript sequencer which a user can program to run a drumkit generated in web audio, or to trig analog synths.Then, apply the swing from Aretha Franklin or Squarepusher on your song. https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/stealing-feeling
Other notable EN hacks
- Curadio – (another) physical radio with fancy playlists – https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/curadio
- Shutupcloud – filters soundcloud playlists to remove spoken word tracks (using speechiness)- https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/shutupcloud
- Discofy–MHD – light show synced to beats – https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/discofy-mhd
- Orly – used Whosampled rostta stone to make an in-spotify who-sampled explorer (this is a really neat app) – https://github.com/circuitflow/orly

- Blue Note Beat Builder – winner of the Open EMI prize – really cool! – Find classic break beats and jazz samples from the Blue Note catalog and create your own beat, or try to re-create another famous beat from scratch. –https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks

- Dubthoven – remixing skrillex with strings https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/hacks/dubthoven
It was a fantastic weekend. Thanks to Andrew and the rest of the Spotify crew for hosting the event, and thanks to all the hackers who brought your passion for music and technology to the event and build some incredible stuff.
Special thanks to Johncb1973 who took most of these pictures.
The work of an Executive, International Music Hacker is never done. This weekend I’ll be traveling to Cannes for the Midem Music Hack Day. Life is good.
Going Undercover
My Music Hack Day Stockholm hack is ‘Going Undercover‘. This hack uses the extensive cover song data from SecondHandSongs to construct paths between artists by following chains of cover songs. Type in the name of a couple of your favorite artists and Going Undercover will try to find a chain of cover songs that connects the two artists. The resulting playlist will likely contain familiar songs played by artists that you never heard of before. Here’s a Going Undercover playlist from Carly Rae Jepsen to Johnny Cash:
For this hack I stole a lot of code from my recent Boil the Frog hack, and good thing I could do that otherwise I would never have finished the hack in time. I spent many hours working to reconcile the Second Hand Songs data with The Echo Nest and Rdio data (Second Hand Songs is not part of Rosetta stone, so I had to write lots of code to align all the IDs up). Even with leveraging the Boil the Frog code, I had a very late night trying to get all the pieces working (and of course, the bug that I spent 2 hours banging my head on at 3AM was 5 minutes of work after a bit of sleep).
I am pretty pleased with the results of the hack. It is fun to build a path between a couple of artists and listen to a really interesting mix of music. Cover songs are great for music discovery, they give you something familiar to hold on to while listening to a new artist.
Boil The Frog
Posted by Paul in code, fun, Music, The Echo Nest on January 2, 2013
You know the old story – if you put a frog in a pot of cold water and gradually heat the pot up, the frog won’t notice and will happily sit in the pot until the water boils and the frog is turned into frog soup. This story is at the core of my winter break programming project called Boil the Frog. Boil the Frog will take you from one music style to another gradually enough so that you may not notice the changes in music style. Just like the proverbial frog sitting in a pot of boiling water, with a Boil the Frog playlist, the Justin Bieber fan may find themselves listening to some extreme brutal death metal such as Cannibal Corpse or Deicide (the musical equivalent to sitting in a pot of boiling water).
To use Boil the Frog, you type in the names of any two artists you’ll be given a playlist that connects the two artists. Click on the first artist to start listening to the playlist. If you don’t like the route taken to connect two artists, you can make a new route by bypassing an offending artist. The app uses Rdio to play the music. If you are an Rdio subscriber, you’ll hear full tracks, if not you’ll hear a 30 second sample of the music.
You can create some fun playlists with this app such as:
- Miley Cyrus to Miles Davis
- Justin Bieber to Jimi Hendrix
- Patti Smith to the Smiths
- Elvis to Elvis
- The Carter Family to Rammstein
- Kanye West to Taylor Swift
- Cage the Elephant to John Cage
- Ryan Adams to Bryan Adams
- Righteous Brothers to Steven Wright
How does it work? To create this app, I use The Echo Nest artist similarity info to build an artist similarity graph of about 100,000 of the most popular artists. Each artist in the graph is connected to it’s most similar neighbors according to the Echo Nest artist similarity algorithm.

To create a new playlist between two artists, the graph is used to find the path that connects the two artists. The path isn’t necessarily the shortest path through the graph. Instead, priority is given to paths that travel through artists of similar popularity. If you start and end with popular artists, you are more likely to find a path that takes you though other popular artists, and if you start with a long-tail artist you will likely find a path through other long-tail artists. Without this popularity bias many routes between popular artists would venture into back alleys that no music fan should dare to tread.
Once the path of artists is found, we need to select the best songs for the playlist. To do this, we pick a well-known song for each artist that minimizes the difference in energy between this song, the previous song and the next song. Once we have selected the best songs, we build a playlist using Rdio’s nifty web api.
This is the second version of this app. I built the first version during a Spotify hack weekend. This was a Spotify app that would only run inside Spotify. I never released the app (the Spotify app approval process was a bit too daunting for my weekend effort), so I though I’d make a new version that runs on the web that anyone can use.
I enjoy using Boil the Frog to connect up artists that I like. I usually end up finding a few new artists that I like. For example, this Boil The Frog playlist connecting Deadmau5 and Explosions in the Sky is in excellent coding playlist.
Give Boil the Frog a try and if you make some interesting playlists let me know and I’ll add them to the Gallery.
The Music We Lost in 2012
Posted by Paul in data, The Echo Nest on December 19, 2012
It’s the time of the year when music critics make their lists of artists that we passed away or bands that broke up in the last twelve months. To help them write their retrospectives I’ve put together two lists: One of well-known musicians that died during 2012, and one of well-known bands that called it quits during the year.
I made the list using the Echo Nest Artist Search API, restricting the results to artists that had a year ending in 2012.
Lots of great music left us in 2012. See the lists here: 2012 Music Memoriam
How music recommendation works – and doesn’t work
Posted by Paul in Music, music information retrieval, recommendation, The Echo Nest on December 12, 2012
Brian just posted ‘How Music Recommendation works – and doesn’t work‘ over at his Variogr.am blog. It is a must-read for anyone interested in the state of the art in music recommendation. Here’s an excerpt:
Try any hot new artist in Pandora and you’ll get the dreaded:

Pandora not knowing about YUS
This is Pandora showing its lack of scale. They won’t have any information for YUS for some time and may never unless the artist sells well. This is bad news and should make you angry: why would you let a third party act as a filter on top of your very personal experiences with music? Why would you ever use something that “hid” things from you?
Grab a coffee, sit back and read Brian’s post. Highly recommended.
TimesOpen 2012 Hack Day Wrap-Up
I spent Saturday at the New York Times attending the TimesOpen Hack Day. It was great fun, with lots of really smart folks creating neat (and not always musical stuff). Some great shots here:
Check out the wrap up at the Times: TimesOpen 2012 Hack Day Wrap-Up



































