Archive for category data
Building a Seatwave + Echo Nest App
Posted by Paul in code, data, Music, The Echo Nest on February 8, 2012
This weekend at Music Hack Day SF, Seatwave is launching their Ticketing and Event API. This API will make it easy for developers to add event discovery and ticket-buying functionality to their apps. At the Echo Nest we’ve incorporated Seatwave artist IDs into our Rosetta ID mapping layer making it possible to use Seatwave IDs directly with the Echo Nest API. This makes it easier for you to use the Seatwave and the Echo Nest APIs together. For instance, you can call the Seatwave API, get artist event IDs in response and use those IDs with the Echo Nest API to get more context about the artist.
For example, we can make a call to the Seatwave API to get the set of Featured Contest with an API call:
The results include blocks of events like this:
{
“CategoryId”: 12,
“Currency”: “GBP”,
“Id”: 934,
“ImageURL”: “http://cdn2.seatwave.com/filestore/season/image/thestoneroses_934_1_1_20111018165906.jpg”,
“MinPrice”: 95,
“Name”: “The Stone Roses”,
“SwURL”: “http://www.seatwave.com/the-stone-roses-tickets/season”,
“TicketCount”: 1810
},
{
“CategoryId”: 10,
“Currency”: “GBP”,
“Id”: 702,
“ImageURL”: “http://cdn2.seatwave.com/filestore/season/image/redhotchilipeppers_702_1_1_20110617124457.jpg”,
“MinPrice”: 45,
“Name”: “Red Hot Chili Peppers”,
“SwURL”: “http://www.seatwave.com/red-hot-chilli-peppers-tickets/season”,
“TicketCount”: 1134
},
We see events for the Stone Roses and for RHCP. The Seatwave ID for RHCP is 702. We can use this ID directly with in Echo Nest calls. For instance, to get lots of Echo Nest info on the RHCP using the Seatwave ID, we can make an artist/profile call like so:
To show off the integration of Seatwave and Echo Nest, I’ve built a little web app that shows a list of top Seatwave concerts (generated via the Seatwave API). For each artist, the app shows the number of tickets available, the artist’s biography, along with a play button that will let you listen to a sample of the artist (via 7Digital).
The application is live here: Listen to Top Seatwave Artists. The code is on github: plamere/SWDemo
The Seatwave API is quite easy to work with. They support JSON, JSONP, XML and SOAP(bleh). Lots of good data, very nice artist images, generous affiliate program, easy to understand TOS. Highly recommended. See the Seatwave page in The Echo Nest Developer Center for more info on the Seatwave / Echo Nest integration.
Controlling the artist distribution in playlists
Posted by Paul in code, data, Music, The Echo Nest on January 12, 2012
The Echo Nest engineering team just pushed out a new feature giving you more control over the artist makeup in playlists. There is a new parameter to the playlist/static API called distribution that can be set to wandering or focused. When the distribution is set to wandering the artists will appear with approximately equal distribution in the playlist. If the distribution is set to focused artists that are more similar to the seed artists will appear more frequently. When combined with the variety parameter, you have excellent control over the number and distribution of artists in a playlist. If you want to create a playlist suitable for music discovery, create a playlist with high variety and a wandering distribution. If you want to create a playlist that more closely mimics the radio experience choose a low variety and a focused distribution.
I’ve put together a little demo that lets you create playlists with different levels of variety and distribution settings. The demo will create a playlist given a seed artist and show you the artist distribution for the playlist. Here’s the output of the demo with distribution set to focused:
You can see from the artist histogram that the playlist draws more from artists that are very similar to the seed artist (Weezer). Compare to these results from a wandering playlist with the same seed and variety:
You can see that there is flatter distribution of artists in the playlist. You can use variety and distribution to tailor playlists to the listener. For instance, you can give the Classic Rock Radio experience to a listener by setting variety to relatively low, setting the distribution to focused and seeding with a classic rock artist like Led Zeppelin. Here’s the artist distribution for the resulting playlist:
That looks like the artist rotation for my local classic rock radio.
Give the demo a try to see how you can use variety and distribution to match playlists to your listener’s taste. Then read the playlist API docs to see how to use the API to start incorporating these attributes into your apps.
The Demo: Playlist Distribution Demo (source)
Have artist names been getting longer?
Posted by Paul in code, data, Music, The Echo Nest on January 7, 2012
On Quora, someone asked the question: Are band names getting longer? To answer that question I used the Echo Nest API to get the top 500 artists for each five year window starting in 1950 and calculated the average name length for each of the artists.
The answer to the question as to whether artist names have been getting longer is a surprising No. The average length of artist names peaked in the period from 1955-1959. This was the age when bands were called ‘XX and the YY’ like Van McCoy & The Soul City Symphony and Herb Alpert & The Tijuana Brass. Surprisingly, the era of the shortest names is 1990-1994 . The bands “… And you will know us by the trail of the dead” (1994) and “The Presidents of the United States of America” (1993) were really bucking the trend.
And the longest name, and my favorite is 2010′s Tim and Sam’s Tim and the Sam Band with Tim and Sam .
Here’s a chart showing the mean and maximum length over the years.
Overall Longest Names
Here are the longest artist names and their start year:
- 51 2010 Tim and Sam’s Tim and the Sam Band with Tim and Sam
- 48 1994 …And You Will Know Us By The Trail Of The Dead
- 47 1967 Charles Wright & The Watts 103rd St Rhythm Band
- 46 1993 The Presidents of the United States of America
- 44 1959 Van McCoy & The Soul City Symphony Orchestra
- 43 2000 Richard Cheese & Lounge Against The Machine
- 43 1950 Benedictine Monks of Santo Domingo de Silos
- 41 1981 Emir Kusturica & The No Smoking Orchestra
- 39 1972 Afrika Bambaataa & The Soul Sonic Force
- 37 2010 Antoine Dodson & The Gregory Brothers
- 37 2005 Edward Sharpe and the Magnetic Zeroes
- 37 1999 Someone Still Loves You Boris Yeltsin
- 36 1977 Gloria Estefan & Miami Sound Machine
- 36 1970 Jonathan Richman & The Modern Lovers
- 36 1964 Captain Beefheart and his Magic Band
- 35 2010 RPA and the United Nations of Sound
- 35 2005 Edward Sharpe & The Magnetic Zeroes
- 35 1975 Johnny Thunders & The Heartbreakers
- 35 1959 Academy of St. Martin in the Fields
- 34 2010 Noel Gallagher’s High Flying Birds
- 34 1978 Deutsch Amerikanische Freundschaft
- 34 1959 Van McCoy & The Soul City Symphony
- 33 2010 RPA & The United Nations Of Sound
- 33 1995 Robbie Williams And Jane Horrocks
- 33 1978 Orchestral Manoeuvres in the Dark
- 33 1974 George Thorogood & The Destroyers
- 33 1965 Big Brother & The Holding Company
- 33 1957 Cliff Bennett & The Rebel Rousers
- 33 1955 The Clancy Brothers & Tommy Makem
- 32 2010 The Ghost Of A Saber Tooth Tiger
- 32 2007 The Pains of Being Pure at Heart
- 32 2005 Margot & the Nuclear So and So’s
- 32 1990 Emily Haines & The Soft Skeleton
- 32 1967 Kenny Rogers & The First Edition
- 32 1962 Mitch Ryder & The Detroit Wheels
- 32 1961 Patti LaBelle & Michael McDonald
- 32 1960 Frankie Valli & The Four Seasons
- 32 1960 Astor Piazzolla & Kronos Quartet
- 32 1959 Maurice Williams and The Zodiacs
- 32 1954 The Sensational Alex Harvey Band
- 31 1992 Jools Holland And Stereophonics
- 31 1990 Armand van Helden’s Sampleslaya
- 31 1977 Erste Allgemeine Verunsicherung
- 31 1976 Tom Petty and The Heartbreakers
- 31 1966 Nancy Sinatra And Lee Hazlewood
- 31 1964 Björn Ulvaeus & Benny Andersson
- 31 1963 The Paul Butterfield Blues Band
- 31 1963 John Mayall & The Bluesbreakers
- 31 1962 Martha Reeves and the Vandellas
- 31 1957 Herb Alpert & The Tijuana Brass
- 31 1950 Frank Zappa & Captain Beefheart
Longest Names by Year
1950 – 1954
Longest Names
- 43 Benedictine Monks of Santo Domingo de Silos
- 32 The Sensational Alex Harvey Band
- 31 Frank Zappa & Captain Beefheart
- 30 Harold Melvin & The Blue Notes
- 28 The Dutch Swing College Band
- 28 Le Mystère des voix Bulgares
- 28 James Carter & The Prisoners
- 27 Master Musicians of Jajouka
- 26 Los Guaracheros de Oriente
- 26 Los Corraleros De Majagual
- 24 The Dave Brubeck Quartet
- 24 The Charlie Daniels Band
- 24 Lee Andrews & The Hearts
- 24 Gladys Knight & The Pips
- 24 Dutch Swing College Band
- 23 Vieja Trova Santiaguera
- 23 The Oscar Peterson Trio
- 23 Johnny & The Hurricanes
- 22 The Sweet Inspirations
1955 – 1959
Longest Names
- 44 Van McCoy & The Soul City Symphony Orchestra
- 35 Academy of St. Martin in the Fields
- 34 Van McCoy & The Soul City Symphony
- 33 The Clancy Brothers & Tommy Makem
- 33 Cliff Bennett & The Rebel Rousers
- 32 Maurice Williams and The Zodiacs
- 31 Herb Alpert & The Tijuana Brass
- 30 Van Mccoy & the Soul City Symp
- 30 Smokey Robinson & The Miracles
- 30 Little Anthony & The Imperials
- 29 Van Morrison & The Chieftains
- 29 Nelson Riddle & His Orchestra
- 29 George Clinton and Parliament
- 29 Frankie Lymon & The Teenagers
- 29 Clancy Brothers & Tommy Makem
- 28 John Fred & His Playboy Band
- 27 Rocio Durcal & Juan Gabriel
- 27 Paul Revere and The Raiders
- 27 Cliff Richard & The Shadows
- 27 Byron Lee & The Dragonaires
1960 – 1964
Longest Names
- 36 Captain Beefheart and his Magic Band
- 32 Patti LaBelle & Michael McDonald
- 32 Mitch Ryder & The Detroit Wheels
- 32 Frankie Valli & The Four Seasons
- 32 Astor Piazzolla & Kronos Quartet
- 31 The Paul Butterfield Blues Band
- 31 Martha Reeves and the Vandellas
- 31 John Mayall & The Bluesbreakers
- 31 Björn Ulvaeus & Benny Andersson
- 29 Sam The Sham And The Pharaohs
- 29 Quicksilver Messenger Serv…
- 29 Nancy Sinatra & Lee Hazlewood
- 29 Martha Reeves & The Vandellas
- 29 La Arrolladora Banda El Limón
- 29 Billy J. Kramer & The Dakotas
- 28 Joe Cocker & Jennifer Warnes
- 28 El Gran Combo de Puerto Rico
- 27 Tommy James & The Shondells
- 27 Sam the Sham & The Pharaohs
- 27 Eric Burdon and the Animals
1965 – 1969
Longest Names
- 47 The Nitty Gritty Dirt Band & Kris Kristofferson
- 47 Charles Wright & The Watts 103rd St Rhythm Band
- 33 Big Brother & The Holding Company
- 32 Kenny Rogers & The First Edition
- 31 Nancy Sinatra And Lee Hazlewood
- 29 Quicksilver Messenger Service
- 29 New Riders of the Purple Sage
- 28 The United States of America
- 28 Gary Puckett & The Union Gap
- 28 Crosby, Stills, Nash & Young
- 28 Creedence Clearwater Revival
- 27 The Flying Burrito Brothers
- 26 The Nitty Gritty Dirt Band
- 26 The Incredible String Band
- 24 The Chocolate Watch Band
- 24 The Allman Brothers Band
- 24 The 13th Floor Elevators
- 24 Country Joe and the Fish
- 23 Van der Graaf Generator
1970 – 1974
Longest Names
- 39 Afrika Bambaataa & The Soul Sonic Force
- 36 Jonathan Richman & The Modern Lovers
- 33 George Thorogood & The Destroyers
- 30 Hamilton, Joe Frank & Reynolds
- 30 Grandmaster Flash & The Furiou
- 30 Elvis Costello & The Imposters
- 29 The Ozark Mountain Daredevils
- 29 England Dan & John Ford Coley
- 28 The Love Unlimited Orchestra
- 28 Steve Harley & Cockney Rebel
- 25 The Fabulous Thunderbirds
- 25 Premiata Forneria Marconi
- 25 Manfred Mann’s Earth Band
- 24 The Marshall Tucker Band
- 24 Love Unlimited Orchestra
- 24 Kenny G & Lenny Williams
- 24 KC and The Sunshine Band
- 24 Electric Light Orchestra
- 24 Bachman-Turner Overdrive
1975 – 1979
Longest Names
- 36 Gloria Estefan & Miami Sound Machine
- 35 Johnny Thunders & The Heartbreakers
- 34 Deutsch Amerikanische Freundschaft
- 33 Orchestral Manoeuvres in the Dark
- 31 Tom Petty and The Heartbreakers
- 31 Erste Allgemeine Verunsicherung
- 27 Richard Hell & The Voidoids
- 27 Ian Dury and the Blockheads
- 26 Marius Müller-Westernhagen
- 25 Siouxsie and the Banshees
- 24 The Alan Parsons Project
- 24 Television Personalities
- 24 Kenny “Babyface” Edmonds
- 23 Prince & The Revolution
- 23 Os Paralamas do Sucesso
- 23 Evelyn “Champagne” King
- 22 Yellow Magic Orchestra
- 22 Michael Schenker Group
- 22 Martha and the Muffins
- 22 Leevi and the Leavings
1980 – 1984
Longest Names
- 41 Emir Kusturica & The No Smoking Orchestra
- 29 Lloyd Cole and the Commotions
- 27 The Mighty Mighty Bosstones
- 27 Lloyd cole & the commotions
- 25 Nick Cave & The Bad Seeds
- 25 Frankie Goes to Hollywood
- 25 Fantastic Plastic Machine
- 25 Bruce Hornsby & The Range
- 24 The Jesus and Mary Chain
- 23 The Legendary Pink Dots
- 23 Juan Luis Guerra y 4.40
- 23 Everything but the Girl
- 23 Corrosion of Conformity
- 22 Fields of the Nephilim
- 22 Einstürzende Neubauten
- 21 Red Hot Chili Peppers
- 21 New Kids on the Block
- 21 Katrina and the Waves
- 20 They Might Be Giants
- 20 The Vaughan Brothers
1985 – 1989
Longest Names
- 29 Béla Fleck and The Flecktones
- 26 The Future Sound of London
- 25 Los Auténticos Decadentes
- 24 The James Taylor Quartet
- 23 Los Fabulosos Cadillacs
- 23 Boogie Down Productions
- 22 Manic Street Preachers
- 22 Die Fantastischen Vier
- 21 Toad the Wet Sprocket
- 21 The Smashing Pumpkins
- 21 The Innocence Mission
- 21 The Brand New Heavies
- 21 Steven Curtis Chapman
- 21 Mary Chapin Carpenter
- 21 Hootie & the Blowfish
- 21 Engenheiros do Hawaii
- 21 Donavon Frankenreiter
- 21 Compton’s Most Wanted
- 20 Terence Trent D’Arby
- 20 Switchblade Symphony
1990 – 1994
Longest Names
- 48 …And You Will Know Us By The Trail Of The Dead
- 46 The Presidents of the United States of America
- 32 Emily Haines & The Soft Skeleton
- 31 Jools Holland And Stereophonics
- 31 Armand van Helden’s Sampleslaya
- 28 The Brian Jonestown Massacre
- 27 Godspeed You! Black Emperor
- 26 Chester Charles Bennington
- 25 Del tha Funkee Homosapien
- 24 Trans-Siberian Orchestra
- 24 Sixpence None the Richer
- 24 Rage Against the Machine
- 23 Pete Rock & C.L. Smooth
- 23 Medeski Martin and Wood
- 23 John Michael Montgomery
- 23 G. Love & Special Sauce
- 22 Harry Gregson-Williams
- 22 Bonnie “Prince” Billie
- 21 The Chemical Brothers
1995 – 1999
Longest Names
- 38 Jessica Simpson duet with Marc Anthony
- 37 Someone Still Loves You Boris Yeltsin
- 33 Robbie Williams And Jane Horrocks
- 29 Someone Still Loves You Boris
- 29 Me First and the Gimme Gimmes
- 28 Handsome Boy Modeling School
- 27 Ted Leo and The Pharmacists
- 27 Black Rebel Motorcycle Club
- 25 The Dillinger Escape Plan
- 25 Supreme Beings of Leisure
- 24 The All-American Rejects
- 24 Mindless Self Indulgence
- 24 Damian “Jr. Gong” Marley
- 23 The Cinematic Orchestra
- 23 The American Analog Set
- 23 Queens of the Stone Age
- 23 Flight of the Conchords
- 23 DaRude Vs Zombie Nation
- 23 Bullet for My Valentine
- 23 Buena Vista Social Club
2000 – 2004
Longest Names
- 43 Richard Cheese & Lounge Against The Machine
- 26 The Red Jumpsuit Apparatus
- 24 Architecture in Helsinki
- 23 The Boy Least Likely To
- 23 The Black Dahlia Murder
- 23 Scary Kids Scaring Kids
- 21 The Whitest Boy Alive
- 21 The Pigeon Detectives
- 21 Streetlight Manifesto
- 21 Death From Above 1979
- 20 The Secret Handshake
- 20 The Polyphonic Spree
- 20 Midnight Juggernauts
- 20 Manchester Orchestra
- 20 Funeral for a Friend
- 20 From Autumn to Ashes
- 20 Bring Me the Horizon
- 19 Theory of a Deadman
- 19 The Beautiful Girls
- 19 Secondhand Serenade
2005 – 2009
Longest Names
- 37 Edward Sharpe and the Magnetic Zeroes
- 32 The Pains of Being Pure at Heart
- 32 Margot & the Nuclear So and So’s
- 30 Isobel Campbell & Mark Lanegan
- 29 You, Me, and Everyone We Know
- 29 The Good, the Bad & the Queen
- 27 dan le sac vs Scroobius Pip
- 27 The Rural Alberta Advantage
- 25 The Asteroids Galaxy Tour
- 25 Does It Offend You, Yeah?
- 24 The Tallest Man On Earth
- 24 The Airborne Toxic Event
- 24 Selena Gomez & The Scene
- 24 I Set My Friends on Fire
- 24 Forever the Sickest Kids
- 24 Clap Your Hands Say Yeah
- 23 The Last Shadow Puppets
- 23 Reverend and The Makers
2010 – 2014
Longest Names
- 51 Tim and Sam’s Tim and the Sam Band with Tim and Sam
- 37 Antoine Dodson & The Gregory Brothers
- 35 RPA and the United Nations of Sound
- 34 Noel Gallagher’s High Flying Birds
- 32 The Ghost Of A Saber Tooth Tiger
- 30 Destroy Rebuild Until God Show
- 27 Pussycat Dolls & Snoop Dogg
- 26 Rend Collective Experiment
- 25 Giorgos Alkaios & Friends
- 25 Frankie Rose and the Outs
- 25 Brooklyn Tabernacle Choir
- 24 Unknown Mortal Orchestra
- 24 Den svenska björnstammen
- 24 California Swag District
- 24 A Pale Horse Named Death
- 23 Young Artists for Haiti
- 23 The Jet Age Of Tomorrow
- 23 Jessie and the Toy Boys
- 23 Black Country Communion
Save Justin Bieber from the death metal
Posted by Paul in code, data, Music, The Echo Nest on January 1, 2012
I just finished my holiday break coding project. It’s a 3D music maze built with WebGL that runs in your browser. You can wander around the maze and sample music and enjoy the album art. It’s like being in 1992 with a fresh copy of Castle Wolfenstein 3D – but with music instead of Nazis. If you wander through the maze long enough you may stumble upon a little game embedded in the maze called ‘Save Justin Bieber from the death metal’. That’s all I’m going to say about that.
The maze uses Echo Nest playlists and 7Digital media (album art and 30 second samples). I used the totally awesome Three.js by my new hero MrDoob. You’ll need a WebGL-enabled browser like Google’s chrome. Give it a go here: The 3D Music Maze.
Update: Bieber Death Metal really exists.
The Million Song Dataset just got 50 million times better
Today Thierry has just pushed out the full Taste Profile addition to the Million Song Dataset. This includes user-play data for over a million users. Specifically the data includes nearly 50 million play count triples (user-song-playcount) for a million users and 385 thousand songs in the Million Song Dataset.
The data is provided by The Echo Nest (awesome company, that Echo Nest). Thierry also hints that there may be a contest similar to the Netflix prize coming soon. Should be a fun way to spend the holidays. Read more about the data here: The Echo Nest Taste Profile Subset.
Artists that called it a day in 2011
Posted by Paul in code, data, fun, The Echo Nest on December 18, 2011
It is that time of year when music critics make their year-in-review lists: best albums, worst albums, best new artists and so on. To help critics with their year-end review, I’ve put together a list of the top artists that stopped performing in 2011 – due to retirement, breaking up or due to death.
I made this list using by calling Echo Nest artist search call, limiting the results to artists with an ending year of 2011. Here’s the salient bit of python:
results = artist.search(artist_end_year_after=2010, artist_end_year_before=2012, buckets=['urls', 'years_active'], sort='hotttnesss-desc')
You can see the list of the 3,300 or so artists that stopped performing in 2011 here: Artists that called it a day in 2011. Thanks to Matt Santiago, master of data quality at The Echo Nest, for coming up with the idea for the list.
In the same vein, I created a list of the top 100 artists (based upon Echo Nest hotttnesss) that became active or released their first recording in 2011.
Check this list out at: Top New Artists for 2011
My Music Hack Day London hack
Posted by Paul in code, data, events, The Echo Nest on December 4, 2011
It is Music Hack Day London this weekend. However, I am in New England, not Olde England, so I wasn’t able to enjoy in all the pizza, beer and interesting smells that come with a 24 hour long hackathon. But that didn’t keep me from writing code. Since Spotify Apps are the cool new music hacking hotttnesss, I thought I’d create a Spotify related hack called the Artist Picture Show. It is a simple hack – it shows a slide show of artist images while you listen to them. It gets the images from The Echo Nest artist images API and from Flickr. It is a simple app, but I find the experience of being able to see the artist I’m listening too to be quite compelling.
Slightly more info on the hack here.
The Music Matrix – Exploring tags in the Million Song Dataset
Posted by Paul in code, data, Music, The Echo Nest on November 27, 2011
Last month Last.fm contributed a massive set of tag data to the Million Song Data Set. The data set includes:
- 505,216 tracks with at least one tag
- 522,366 unique tags
- 8,598,630 (track – tag) pairs
A popular track like Led Zep’s Stairway to Heaven has dozens of unique tags applied hundreds of times.
There is no end to the number of interesting things you can do with these tags: Track similarity for recommendation and playlisting, faceted browsing of the music space, ground truth for training autotagging systems etc.
I think there’s quite a bit to be learned about music itself by looking at these tags. We live in a post-genre world where most music no longer fits into a nice tidy genre categories. There are hundreds of overlapping subgenres and styles. By looking at how the tags overlap we can get a sense for the structure of the new world of music. I took the set of tags and just looked at how the tags overlapped to get a measure of how often a pair of tags co-occur. Tags that have high co-occurrence represent overlapping genre space. For example, among the 500 thousand tracks the tags that co-occur the most are:
- rap co-occurs with hip hop 100% of the time
- alternative rock co-occurs with rock 76% of the time
- classic rock co-occurs with rock 76% of the time
- hard rock co-occurs with rock 72% of the time
- indie rock co-occurs with indie 71% of the time
- electronica co-occurs with electronic 69% of the time
- indie pop co-occurs with indie 69% of the time
- alternative rock co-occurs with alternative 68% of the time
- heavy metal co-occurs with metal 68% of the time
- alternative co-occurs with rock 67% of the time
- thrash metal co-occurs with metal 67% of the time
- synthpop co-occurs with electronic 66% of the time
- power metal co-occurs with metal 65% of the time
- punk rock co-occurs with punk 64% of the time
- new wave co-occurs with 80s 63% of the time
- emo co-occurs with rock 63% of the time
It is interesting to see how the subgenres like hard rock or synthpop overlaps with the main genre and how all rap overlaps with Hip Hop. Using simple overlap we can also see which tags are the least informative. These are tags that overlap the most with other tags, meaning that they are least descriptive of tags. Some of the least distinctive tags are: Rock, Pop, Alternative, Indie, Electronic and Favorites. So when you tell someone you like ‘rock’ or ‘alternative’ you are not really saying too much about your musical taste.
The Music Matrix
I thought it might be interesting to explore the world of music via overlapping tags, and so I built a little web app called The Music Matrix. The Music Matrix shows the overlapping tags for a tag neighborhood or an artist via a heat map. You can explore the matrix, looking at how tags overlap and listening to songs that fit the tags.
With this app you can enter a genre, style, mood or other type of tag. The app will then find the 24 tags with the highest overlap with the seed and show the confusion matrix. Hotter colors indicate high overlap. Mousing over a cell will show you the percentage overlap between the two corresponding tags and clicking on a cell will play a track that has high tag counts for the two tags. I find that I can learn a lot about a genre of music by looking at the 24 tag neighborhood for a genre and listening to examples. Some interesting neighborhoods to explore are:
You can also explore by moods:
If you are not sure what genre or style is for an artist, you can just start with the top tags for the artist like so:
Use the Music Matrix to explore a new genre of music or to find music that matches a set of styles. Find out how genres overlap. Listen to prototypical examples of different styles. Click on things, have fun. Check it out:
The code for the Music Matrix is on Github. Thanks to Thierry for creating the Million Song Data Set (the best research data set ever created) and thanks to Last.fm for contributing a very nice set of tag data to the data set.
Music Hack Day Boston 2011
Music Hack Day Boston 2011 is in the can. But what a weekend it was. 250 hackers from all over New England and the world gathered at the Microsoft NERD in Cambridge MA for a weekend of hacking on music. Over the course of the weekend, fueled by coffee, red bull, pizza and beer, we created 56 extremely creative music hacks that we demoed in a 3 hour music demo extravaganza at the end of the day on Sunday.
Music Hack Day Boston is held at the Microsoft NERD in Cambridge MA. This is a perfect hacking space – with a large presentation room for talks and demos, along with lots of smaller rooms and nooks and crannies for hackers to camp out .
Hackers started showing up at 9AM on Saturday morning and by 10AM hundreds of hackers were gathered and ready to get started.
After some intelligent and insightful opening remarks by the MC, about 20 companies and organizations gave 5 minute lightening workshops about their technology.
There were a few new (to Music Hack Day) companies giving workshops: Discogs announced Version 2 of their API at the Music Hack Day; Shoudio – the location based audio platform. Peachnote – and API for accessing symbolic music ngram data; EMI who were making a large set of music and data available for hackers as part of their OpenEMI initiative; the Free Music Archive showed their API to give access to 40,000 creative commons licensed songs and WinAmp – showed their developer APIs and network.
After lunch, hacking began in earnest. Some organizations held in-depth workshops giving a deeper dive in to their technologies. Hacking continued in to the evening after shifting to the over night hacking space at The Echo Nest.
Hackers were ensconced in their nests while one floor below there was a rager DJ’d by Ali Shaheed Muhammad (one third of A Tribe called Quest).
Thanks to the gods of time, we were granted one extra hour over night to use to hack or to sleep. Nevertheless, there were many bleary eyes on Sunday morning as hackers arrived back at the NERD to finish their hacks.
Finally at 2:30 PM at 25+ hours of hacking, we were ready to show our hacks.There was an incredibly diverse set of hacks including new musical instruments, new social web sites, new ways to explore for music. The hacks spanned from the serious to the whimsical. Here are some of my favorites.
Free Music Archive Radio – this hack uses the Echo Nest and the Creative Commons licensed music of the Free Music Archive to create interesting playlists for use anywhere.
Mustachiness - Can you turn music into a mustache? The answer is yes. This hack uses sophisticated moustache caching technology to create the largest catalog of musical mustaches in history.
Bohemian Rhapsichord - Turning a popular song into a musical instrument. This is my hack. It lets you play Bohemian Rhapsody like you’ve never played it before.
Spartify - Host a Party and let people choose what songs to play on Spotify. No more huddling in front of one computer or messing up the queue!
Snuggle - I want you to snuggle this. Synchronize animated GIFs to jams of the future. These guys get the prize for most entertaining patter during their demo.
Drinkify - Never listen to music alone again – This app has gone viral. Han, Lindsay and Matt built an app to scratch their own itch. Drinkify automatically generates the perfect cocktail recipe to accompany any music.
Peachnote Musescore and Noteflight search - searching by melody in the two social music score communities.
bitbin - Create and share short 8-bit tunes
The Videolizer - music visualizer that syncs dancing videos to any song. Tristan’s awesome hack – he built a video time stretcher allowing you to synchronize any video that has a soundtrack to a song. The demos are fantastic.
The Echo Nest Prize Winners
Two hacks received the Echo Nest prizes:
unity-echonest - An echonest + freemusicarchive dynamic soundtrack plugin for Unity3D projects. This was a magical demo. David Nunez created a Unity3D plugin that dynamically generates in game soundtracks using the Echo Nest playlist API and music from the Free Music Archive. Wow!
MidiSyncer - sync midi to echo nest songs. Art Kerns built An iPhone app that lets you choose a song from your iTunes library, retrieves detailed beat analysis information from Echo Nest for the song, and then translates that beat info to MIDI clock as the song plays. This lets you sync up an electronic music instrument such as a drum machine or groovebox to a song that’s playing on your iPhone. So wow! Play a song on your iPod and have a drum machine play in sync with it. Fantastic!
Hardware Hacks
Some really awesome hardware hacks.
Neurofeedback - Electroencephalogram + strobe goggles + Twilio Chat Bot + Max/MSP patches which control Shephard-risset rhythms and binaural beats
Sonic Ninja - Zebra Tube Awesomeness - John Shirley develops PVC helmholtz resonator while hacking a WiiMote and bluetooth audio transmission.
SpeckleSounds - Super-sensitive 3D Sound Control w/ Lasers! Yes, with lasers.
Kinect BeatWheel - Control a quantized looping sample with your arm
Demo Fail
There were a few awesome hacks that were cursed by the demo demi gods. Great ideas, great hacks, frustrating (for the hacker) demos. Here are some of the best demo fail hacks .
Kinetic - Kinetic Typography driven by user selected music and text. This was a really cool hack that was plagued by a podium display issue leading to a demi-demo-fail. But the Olin team regrouped and posted a video of the app.
BetterTaste - improve your Spotify image – this was an awesome idea – use a man-in-the-middle proxy to intercept those embarassing scrobbles. Unfortunately Arkadiy had a network disconnect that lead to a demo fail.
Tracker - Connect your turntable to the digital world. Automatically identifies tracks, saves mp3s, and scrobbles plays, while displaying a beautiful UI that’s visible from across the room, or across the web. Perhaps the most elaborate of the demos – with a real Hi Fi setup including a turntable. But something wasn’t clicking, so Abe had to tell us about it instead of showing it.
Carousel - tell the story behind your pictures – it was a display fail – but luckily Johannes had a colleague who had his back and re-gave the demo. That’s what hacker friends are for.
This was a fantastic weekend. Thanks to Thomas Bonte of MuseScore for taking these super images. Special thanks to the awesome Echo Nest crew lead by Elissa for putting together this event, staffing it and making it run like clockwork. It couldn’t have happened without her. I was particularly proud of The Echo Nest this week. We created some awesome hacks, threw a killer party, and showed how to build the future of music while having a great time. What a place to work!
Search for music by drawing a picture of it
I’ve spent the weekend hacking on a project at Music Hack Day Montreal. For my hack I created an application with the catchy title “Search for music by drawing a picture of it”. The hack lets you draw the loudness profile for a song and the app will search through the Million Song Data Set to find the closest match. You can then listen to the song in Spotify (if the song is in the Spotify collection).
Coding a project in 24 hours is all about compromise. I had some ideas that I wanted to explore to make the matching better (dynamic time warping) and the lookup faster (LSH). But since I actually wanted to finish my hack I’ve saved those improvements for another day. The simple matching approach (Euclidean distance between normalized vectors) works surprisingly well. The linear search through a million loudness vectors takes about 20 seconds, too long for a web app, this can be made palatable with a little Ajax .
The hack day has been great fun, kudos to the Montreal team for putting it all together.
































