Archive for category hacking
For my Malmö Music Hack Day hack I built an app called Dogstep. Dogstep takes any song and re-renders it such that a pack of dogs harmonizes along with the song. It was a lot of fun to build and I was rather pleased with the results. You can try the app out yourself: Dogstep.
I got to try a few new things on this hack. First, off I needed some good dog sounds. I found all I needed and more at Freesound.org. What a great resource that is! I then needed to process the barks (trim them, pitch shift them, volume-equalize ). For this I used Audacity. It was way easier to use than garageband and it has all the audio filters that I needed (including the awesome Paul’s stretch we can make any howl sound like a banshee from hell).
To create realistic and varying barking, I created a barking state machine, where each state in the machine represents the barking activity for a bar in the song and each state has a set of transitions to other states in the machine governed by a probability that that transition will be taken. When a song is playing, I use the state machine to pick the state for the currently playing bar and emit the barking audio at the right times within the bar. Here’s a visualization of the barking state machine:
In addition to these barks, I look for the loudest parts in the songs and add a bunch of extra howling at these peak moments. Finally, I use the Stylophone play-along algorithm to have one of the dogs try to sing along with the melody.
Creating this state machine was really fun. There’s still a few bits that I want to do – such as having separate state machines for different parts of the song – i.e. a state machine when the song is very quiet vs. one when the song is loud and energetic. A hack is never really done.
The source for the hack is on github.
On Friday evening at the Tufts hack I made a little Python script that makes playlists with an acrostic messages embedded in them. I enjoyed the hack so much that I spent a few hours turning it into a web app. This means that you don’t have to be a Pythonista to generate your own acrostic playlists.
The app, called Acrostic Playlist Maker, lets you select from a handful of genres and type in your ‘secret’ message.
When you hit the button it will generate a playlist where the first letter of each song in the playlist spells out the message.
You can listen to the music in the playlist by clicking on any song, and you can save the playlist back to Rdio.
Anyone who works in music tech has probably been called upon to ‘do the music’ at some social event. Now with the Acrostic Playlist Maker you can can make those playlists, while secretly expressing how you really feel.
Music Hack Day NYC has just wrapped up, and what a great weekend it was!. Hosted at Spotify’s spiffy new headquarters in midtown, Music Hack Day NYC was the place to be if you are passionate music, technology and building stuff. During all night Friday and all day Saturday, hundreds of hackers used music APIs from companies like The Echo Nest, Soundcloud, Gracenote, Rdio and of course Spotify, to build next generation music apps.
It was a really fun event. The Spotify headquarters are perfect for hacking. Flawless and apparently limitless wifi/bandwidth, awesome A/V setup, and great sound for an unending social hacking playlist.
Over the course of about 20 hours of hacking, 36 hacks were built and demoed. There was quite a range of inventive hacks. Some of my favorites:
The crowd favorite was Oscar Celma’s extremely clever EERFY – He solved the Music Industry Problem in 24 hours by turning it upside down with EERFY:
Another favorite was Leo and Jason’s halfstep – a chrome extension that motivates you to move more. How? If you only moved 20% of your movement goal yesterday, then halfstep will also let you listen to first 20% of any songs today. Check out the screencast of their hack.
There were lots of great Echo Nest hacks including the Echo Nest prize winner partyOutlook by Matt Egan. PartyOutlook is a CocoaLibSpotify powered iPad jukebox that accepts tracks via the Twillio API and displays real-time information about the life of the party using Echo Nest song data. Allows an administrator to pause and play music, as well as skip tracks.
Another really neat Echo Nest hack was TuneTravelr created by Chris Evans and Joshua Boggs. Tune Travelr is a web app that takes cities and locales a well as a time period and returns a playlist of songs that were hot at the time. It uses the Echo Nest data to leverage some analytic querying, before pipping the results into Rdio’s web API for playback.
MoodVenue used The Echo Nest API to help find out what’s going on tonight based on your mood and location.
Artists fight to the death, using only the sheer repetitive force of their music! By Brian McFee. Brian used the Echo Nest analysis data to build a custom metric for repetition for any song and used that to score songs by the artist for the face-off.
A novel use of The Echo Nest API was Cheese Tray – A Spotify app that takes selects randomly from among your Spotify playlists and analyzes it. It then adds to that playlist a song that best represents the average attributes of the playlist, as given by The Echo Nest API. Then, via SMS through the Twilio service, it sends a command to your Android device that changes its background to the album artwork for that average song.
Uses wikipedia articles titled ‘List of songs about…” to generate Spotify/Rdio playlists about different subjects/places. Songs about used The Echo Nest’s Rosetta Stone to get the song IDs for playing in Spotify and Rdio.
Awesome Chart Explorer
This is my hack. A visualization that lets you explore and listen to 50 years of Billboard charts.
Upload a song, ccRex’ll fetch Creative Commons music to match using Echo Nest song attributes to determine the best match.
Other nifty Echo Nest hacks:
- opporTUNE – context dependent playlisting based upon weather, activity, location, time of day and your favorite genres
- crowdPlay – an SMS enabled party playlister
- BPM Reader – an app that updates a playlist in real-time based on user keyboard input correlated to BPM. Tap in your beat, and generate a playlist of songs with that rhythm.
- Moody calls – Get a phone call with a song that matches your mood
- Spotify V. Rdio -Pitting the two music platforms against each other using your listening history
- Perl client for the Echo Nest – Ajax built a library that provides support for nearly all of The Echo Nest API features.
All in all, it was a great event with lots of awesome, innovative hacks and lots of smart people. A good time was had by all. Thanks to Spotify and @mager for organizing the event. Well Done!
I just finished coding up my Music Hack Day NYC hack called The Awesome Chart Explorer. It’s a web app that combines Billboard and Echo Nest data into a visual wonderland. (yes, I’m a little tired). Check it out here. Almost time to give the demo, so more about the tech behind the hack later on.
There have been 30 Music Hack Days since the movement began back in 2009. Since then there have been somewhere around 1,500 music hacks built. I’ve seen lots of and lots of hacks, many have been technical marvels that have become the seeds of new music startups. However, there’s no better hack to demonstrate what music hacking is all about than the hack by Iain Mullan called ‘Johnny Cash has been Everywhere‘. This web app is simple – it plays Johnny Cash’s version of “I’ve been everywhere”, while it shows you on a Google map all of the places Johnny has been. Check the hack out here:
As we enter the thick of Music Hack Day season, I offer up this hack as an example of a hack to aspire to. Whimsical, original, simple and fun. Don’t worry about the business plan, don’t worry about cramming in every feature or API, just build something neat. And I look forward to seeing what Iain builds at his next Music Hack Day
In a couple of weeks I’m heading out to Chicago to give a talk at the Chicago Music Summit about Music Hacking at Music Hack Days. I’ll have an hour to talk about hack days and show off lots of demos. Naturally, I’d like to highlight all the best hacks. However, given that there have been over 30 music hack days, remembering the best of the 2000+ hacks is going to be a challenge. I’m hoping you can help me remember the best hacks, either by adding a comment to this post or just tweeting with #bestmusichack. I prefer hacks that I can demo directly via the web or that have been captured on video. To get things started here are some of the most notable hacks that I can recall.
Music Exploration and Discovery Hacks
Of the many party playlisting hacks that have been created, which one is the best?
Hacks that have been turned into businesses
Music Remixing Hacks
No need to be shy about suggesting your own hacks. As you can see, I have no qualms about adding my own hacks (Bonhamizer, Infinite Jukebox and Boil The Frog) to the list.
I anticipate your recommendations. Thanks in advance for your help!
With 3 new Music Hack Days announced this week, it might be time for you to check out what goes on at a Music Hack Day. Here are some videos that give a taste of what it’s like:
Music Hack Day Paris 2013
Music Hack Day Sydney 2012**
Music Hack Day 2012 Barcelona
Music Hack Day NYC 2011
**It is strange how a non-hacker made it onto the thumbnail for the Sydney video. Dude, It’s Sydney Australia, not Sydney Lawrence ;).