Archive for category The Echo Nest
Frasier does Nine Inch Nails
Posted by Paul in code, fun, remix, The Echo Nest on June 5, 2010
Oh My – Musician Josh Millard has recreated The Downward Spiral using nothing but audio from the NBC sitcom Frasier. So wrong, and yet, so right. Josh has the whole remixed album plus a video on his blog:
What is the longest path though Six Degrees of Black Sabbath?
Posted by Paul in events, fun, Music, The Echo Nest on May 25, 2010
[tweetmeme source= ‘plamere’ only_single=false] @meekles tweeted yesterday that he had found a 25 step path through Six Degrees of Black Sabbath and challenged anyone to find a longer path that his Path from Arthur to Eivind Fjoseide.
To sweeten the challenge, I’ll offer a prize of a coveted Echo Nest Tee Shirt for each new longest path found. Here are the rules:
- When you find a path that you think is longer than any found so far, tweet the path with its length and the hashtags #6dobs and #longest. For example: I made a 25 step path from arthur to Eivind Fjoseide #6dobs #longest http://bit.ly/9DANCk
- No skipping allowed in longest paths
- Only one tee-shirt given per milestone – so if 5 people find a 27 step path, only the first who finds it gets the tee-shirt
- Only one tee-shirt per person
- You are not eligible if you work for the Echo Nest, or if your name is Kurt Jacobson
Have fun finding those paths!
Update: Great work finding paths of at least 40 artists long. Tee-shirt give away ends tonight (May 25) at midnight EDT!
Sweet Child O’Mine – Vienna Style
Posted by Paul in Music, remix, research, The Echo Nest on May 24, 2010
I was wondering how far one could go with the time-stretching stuff and still make something musical. Here’s an attempt to turn a rock anthem into a waltz. It is a bit rough in a few places, especially the beginning – but I think it settles into a pretty nice groove.
The Swinger
Posted by Paul in Music, remix, The Echo Nest on May 21, 2010
[tweetmeme source= ‘plamere’ only_single=false] One of my favorite hacks at last weekend’s Music Hack Day is Tristan’s Swinger. The Swinger is a bit of python code that takes any song and makes it swing. It does this be taking each beat and time-stretching the first half of each beat while time-shrinking the second half. It has quite a magical effect. Some examples:
Every Breath You Take
Money for Nothing
Cream
I Will
Update – a few more tracks -by request:
Enter Sandman
Daft Punk’s Around the world
Sweet Child O’ Mine
(one of my favs)
Don’t Stop Believin’
White Rabbit
(this one is hypnotic)
Swinger uses the new Dirac time-stretching capabilities of Echo Nest remix. Source code is available in the samples directory of remix.
Be sure to check out some of the other Music Hack Day hacks like Six Degrees of Black Sabbath, Jason’s Songbird Visualizer or the Artikulator.
Six Degrees of Black Sabbath
[tweetmeme source= ‘plamere’ only_single=false] My hack at last week’s Music Hack Day San Francisco was Six Degrees of Black Sabbath – a web app that lets you find connections between artists based on a wide range of artist relations. It is like The Oracle of Bacon for music.
To make the connections between the artists I rely on the relation data from MusicBrainz. MusicBrainz has lots of deep data about how various artists are connected. For instance there are about 130,000 artist-to-artist connections – connections such as:
- member of band
- is person
- personal relationship
- parent
- sibling
- married
- involved with
- collaboration
- supporting musician
- vocal supporting musician
- instrumental supporting musician
- catalogued
So from this data we know that George Harrison and Paul McCartney are related because each was a ‘member of the band’ of The Beatles. In addition to the artist-to-artist data MusicBrainz has artist-track relations (Eric Clapton played on ‘While My Guitar Gently Weeps’), artist-album (Brian Eno produced U2’s Joshua Tree), track-track (Girl Talk samples ‘Rock You Like A Hurricane’ by the Scorpions for the track ‘Girl Talk Is Here’). All told there are about 130 different types of relations that can connect two artists.
Not all of these relationships are equally important. Two artists that are members of the same band have a much stronger relationship than an artist that covers another artist. To accommodate this I assign weights to the various different types of relationships – this was perhaps the most tedious and subjective part of building this app.
Once I have all the different types of relations I created a directed graph connecting all of the artists based upon these weighted relationships. The resulting graph has 220K artists connected by over a million edges. Finding a path between a pair of artists is a simple matter of finding the shortest weighted path through the graph.
We can learn a little bit about music by looking at some of the properties of the graph. First of all, the average distance in the graph between any two artists in the graph chosen at random is 7. Some of the top most connected artists along with the number of connections:
-
- 5372 Various Artists
- 1604 Wolfgang Amadeus Mozart
- 1275 Johann Sebastian Bach
- 905 Ludwig van Beethoven
- 696 Linda Ronstadt
- 611 Diana Ross
- 560 [traditional]
- 538 Antonio Vivaldi
- 534 Jay-Z
- 528 Georg Friedrich Händel
- 494 Giuseppe Verdi
- 491 Johannes Brahms
- 490 Bob Dylan
- 465 The Beatles
- 442 Aaron Neville
Here we see some of the anomalies in the connection data – any classical performer who performs a piece by Mozart is connected to Mozart – thus the high connectivity counts for classical composers. A more interesting metric is the ‘betweeness centrality’ – artists that occur on many shortest paths between other artists have higher betweenness than those that do not. Artists with high betweenness centrality are the connecting fibers of the music space. Here are the top connecting artists:
-
- 565 Pigface
- 312 Various Artists
- 135 Mick Harris
- 122 Black Sabbath
- 120 The The
- 115 Youth
- 93 Bill Laswell
- 79 J.G. Thirlwell
- 74 Painkiller
- 72 F.M. Einheit
- 71 Napalm Death
- 63 Paul McCartney
- 63 Flea
- 60 Material
- 60 Andrew Lloyd Webber
- 57 Luciano Pavarotti
- 57 Raimonds Macats
- 56 Ginger Baker
- 56 Mike Patton
- 54 Johnny Marr
- 54 Paul Raven
- 53 Brian Eno
I had never heard of Pigface before I started this project – and was doubtful that they could really be such a connecting node in the world of music – but a look a their wikipedia page makes it instantly clear why they are such a central node – they’ve had well over a hundred members in the band over their history. Black Sabbath, while not at the top of the list is still extremely well connected.
I wrote the app in python, relying on networkx for the graph building and path finding. The system performs well, even surviving an appearance on the front page of Reddit. It was a fun app to write – and I enjoy seeing all the interesting pathways people have found through the artist space.
Earworm and Capsule at Music Hack Day San Francisco
Posted by Paul in events, Music, remix, The Echo Nest, web services on May 14, 2010
[tweetmeme source= ‘plamere’ only_single=false] This weekend The Echo Nest is releasing some new remix functionality – Earworm and Capsule. Earworm lets you create a new version of a song that is any length you want. Would you like 2 minute version of Stairway to Heaven? Or a 3 hour version of Freebird? Or an Infinitely long version of Sex Machine? Earworm can do that. Here’s a 60 minute version of a little Rolling Stones ditty:
Capsule takes a list of tracks and optimizes the song transitions by reordering them and applying automatic beat matching and cross fading to give you a seamless playlist. It is really neat stuff. Here’s an example of a capsule between two Bob Marley songs:
It makes a nice little Bob Marley medley.
Jason writes about Capsule and Earworm and some other new features in remix in his new (and rather awesome) blog: Running With Data – Earworm and Capsule. Check it out.
The single greatest Echo Nest App ever
Posted by Paul in fun, Music, The Echo Nest on May 14, 2010
[tweetmeme source= ‘plamere’ only_single=false] Scotty Vercoe just released an application that Echo Nest Founder Brian Whitman says (and I quote) – “is the best EN app ever”. Scotty describes the web app:
The Filth-O-Meter is inspired by George Carlin’s famous seven dirty words you can’t say on television. The seven words were grown using NLTK/WordNet synonym-sets until they’re as tall as an elephant’s eye and then harvested in all their filthy glory. The resulting dirty words are used to score and rank the artists.
That’s right – it looks at the top hotttest artists and finds the ones with the dirtiest names. You can see why Brian is so excited. I expect to see Scotty on Ellen tomorrow showing off this app. Check it out: The Echo Nest Filth-O-Meter
Here come the music apps
Posted by Paul in Music, The Echo Nest, web services on May 12, 2010
[tweetmeme source= ‘plamere’ only_single=false] As a music application developer, I have long been vexed by a problem that has made building and releasing a music application very difficult – where do I get the music? A music application needs music – but adding music to an application is very hard. I really have just a few choices: (1) I can use unlicensed content and hope nobody notices, (2) I can try to make the deals with the labels, (3) I can restrict my app to non-demand radio and pay per-stream royalties, or (4) I can just skip the music. None of these options is very appealing to me – If my application gets popular I will either get sued by the labels or swamped by music licensing fees. It is better for me if no one notices my app at all. Even resources like album art and 30 second samples are tightly held by the content owners.
What a crazy world! We are at this incredible point in the history of music with millions of tracks at our fingertips. Now more than ever, we need new ways to explore, organize and share music – but any kind of creativity in this space is stymied. I could build the coolest music app in the world that could help millions of people connect with music, but without a source of legal content, my application will never see the light of day. In my last year while working at the Echo Nest, I’ve seen some really amazing music applications made by very creative developers. These are apps that would make your jaw drop – but you’ll never see them. The apps are languishing on the virtual shelf because there’s no good way to get legal content for the apps.
This weekend at Music Hack Day San Francisco we are going to change this. We are going to make it possible for developers to build applications around music content and release the applications to the world without having to worry about music licensing. To do this, we are working with Play.me a new digital music service that offers on-demand music. With the Echo Nest / Play.me program a developer can write music applications using all of the usual Echo Nest APIs – and include streaming content from the millions of songs in the Play.me catalog. Play.me is very generous with its content giving a user 5 hours per week of on-demand music (once a user goes beyond their 5 hour allotment, full-streams are replaced with 30 second streams). Play.me’s strategy here is simple – they hope that by encouraging innovative applications built around their content they will attract more paying subscribers who get access to unlimited streams. The Echo Nest and Play.me platforms are well integrated letting developers write apps that take advantage of all the deep Echo Nest data – artist similarities, news, reviews, blogs, bios, images, video and even our deep track-level music analysis for every artist and track in the Play.me catalog. This is a big deal for music application developers. We can finally build applications around real music without having to worry about being sued or going broke paying licensing fees if our apps get popular. And if our application brings new subscribers to Play.me, we can make money through an affiliate program. (Here’s the fine print – Play.me is currently US only (sorry, rest of the world), and to hear the full streams you need to register with Play.me (you just need an email address, no credit cards required))
There are already some apps that have been built on top of the Echo Nest / Play.me APIs:
MusicExplorerFX – The award-winning Music Exploration tool.
Slice – a music exploration and discovery application for the Android Platform
PlaylistPathfinder – a novel application that creates playlists by finding paths through the Echo Nest artist similarity space.
I’ll write in more depth about these apps in subsequent posts – but the story for these apps are nearly identical – they were cool apps that were languishing on the music shelf because there was no way to release them with licensed content. Now the apps can be released to the world and even help the application developer make some money.
Over the years, we’ve seen many different ways for people to discovery new music come and go. When I was growing up, the radio DJ was the primary way people people discovered new music. The DJ was the tastemaker for the generation. For the next generation, I think music apps will be one of the primary ways people discover new music.
If you have idea about a cool new music app, but have been stymied by the problem of how to get content for your app, check out this program. More details will be forthcoming during Music Hack Day San Francisco.
On more reason to go to Music Hack Day San Francisco
Posted by Paul in events, Music, The Echo Nest on May 5, 2010
Boxee is coming to Music Hack Day San Francisco – and they will be bringing along a Boxee Box to be given to the best music application that runs on the Boxee. Boxee is a really cool environment for writing music apps – they have a nifty Python API that gives you all sorts of control over the device. It also means that you can easily write apps on Boxee that take advantage of The Echo Nest APIs giving you world class music recommendations, detailed info about artists such as news, reviews, blogs, audio and video and even the ability to algorithmically remix music. Best of all, Boxee puts music apps right where they should be – in the living room. Imagine the kind of music app that you’d want to have running on your 48″ living room TV – something that you’d use when sitting on the couch, or when you have a party, or when the gang is getting tired of Guitar hero. What I’d love to have running in my living room is a Pandora-style radio, running on my TV, but instead of seeing static album art, I’d like the app to show artist images or images that match the mood or the theme of the music. Ken Burns meets my favorite music. The cool thing is, this is exactly the type of app that can be written in a weekend at the Music Hack Day. Can’t wait.








