Archive for category playlist

Learn about a new genre every day

The Echo Nest knows about 800 genres of music (and that number is growing all the time). Among those 800 genres are ones that you already know about, like ‘jazz’,’rock’ and ‘classical’. But there are also hundreds of genres that you’ve probably never heard of. Genres like Filthstep,  Dangdut or Skweee.  Perhaps the best way to explore the genre space is via Every Noise at Once (built by Echo Nest genre-master Glenn McDonald).  Every Noise At Once shows you the whole genre space, allowing you to explore the rich and varied universe of music.  However, Every Noise at Once can be like drinking Champagne  from a firehose – there’s just too much to take in all at once (it is, after all, every noise – at once).  If you’d like to take a slower and more measured approach to learning about new music genres, you may be interested in Genre-A-Day.

Genre-A-Day is a web app that presents a new genre every day.  Genre-A-Day tells you about the genre,  shows you some representative artists for the genre,  lets you explore similar genres, and lets you listen to music in the genre.

ss

If you spend a few minutes every day reading about and listening to a new genre, after a few months you’ll be a much more well-rounded music listener, and after a few years your knowledge of genres will rival most musicologists’.

An easy way to make Genre-A-Day part of your daily routine is to follow @GenreADay on twitter. GenreADay will post a single tweet, once a day like so:

Under the hood - Genre-A-Day was built using the just released genre methods of The Echo Nest API. These methods allow you to get detailed info on the set of genres, the top artists for the genres, similar genres and so on. It also uses the super nifty genre presets in the playlist API that allow you to craft the genre-radio listener for someone who is new to the genre (core), for someone who is a long time listener of the genre (in rotation), or for someone looking for the newest music in that genre (emerging).  The source code for Genre-A-Day is on github.

, , , ,

3 Comments

The Zero Button Music Player

Ever since the release of the Sony Walkman 35 years ago, the play button has been the primary way we interact with music. Now the play button stands as the last barrier between a listener and their music. Read on to find out how we got here and where we are going next.

imgresIn the last 100 years, technology has played a major role in how we listen to and experience music. For instance, when I was coming of age musically, the new music technology was the Sony Walkman. With the Walkman, you could take your music with you anywhere. You were no longer tied to your living room record player to listen to your music. You no longer had to wait and hope that the DJ would play your favorite song when you were on the road. You could put your favorite songs on a tape and bring them with you and listen to them whenever you wanted to no matter where your were. The Sony Walkman really changed how we listened to music. It popularized the cassette format, which opened the door to casual music sharing by music fans. Music fans began creating mix tapes and sharing music with their friends. The playlist was reborn, music listening changed. All because of that one device.

20111023_ipod_jpg__1337×1563_We are once again in the middle of music+technology revolution. It started a dozen years ago with the first iPod and it continues now with devices like the iPhone combined with a music subscription service like Spotify, Rdio, Rhapsody or Deezer. Today, a music listener armed with an iPhone and a ten dollar-a-month music subscription is a couple of taps away from being able to listen to almost any song that has ever been recorded. All of this music choice is great for the music listener, but of course it brings its own problems. When I was listening to music on my Sony Walkman, I had 20 songs to choose from, but now I have millions of songs to choose from. What should I listen to next? The choices are overwhelming. The folks that run music subscription services realize that all of this choice for their listeners can be problematic. That’s why they are all working hard to add radio features like Rdio’s You.FM Personalized Radio. Personalized Radio simplifies the listening experience – instead of having to pick every song to play, the listener only needs to select one or two songs or artists and they will be presented with an endless mix of music that fits well with initial seeds.

Helping listeners pick music is especially important when you consider that not all music listeners are alike, and that most listeners are, at best, only casual music fans. A study conducted in 2003 and again in 2006 by Emap (A UK-based Advertising agency), summarized here by David Jennings, identified four main types of music listeners. Jennings describes these four main listening types as:

  • Savants – for whom everything in life is tied up with music

  • Enthusiasts – Music is a key part of life but is balanced with other interests

  • Casuals – Music plays a welcoming role, but other things are far more important

  • Indifferents – Would not lose much sleep if music ceased to exist.

These four listener categories are an interesting way to organize music listeners, but of course, real life isn’t so cut and dried. Listener categories change as life circumstances change (have a baby and you’ll likely become a much more casual music listener) and can even change based on context (a casual listener preparing for a long road-trip may act like a savant for a few days while she builds her perfect road-trip playlist).

In 2006, the distribution of people across these 4 categories was as follows:

Untitled

This chart says a lot about the music world and why it works the way it does. For instance, it gives us a guide as to how much different segments of the listening world are willing to pay for music in a year. On the chart below, I’ve added my estimate of the amount of money each listener type will spend on music in a year.

money-14

Savants will spend a thousand dollars or more on vinyl, concerts, and music subscriptions. Enthusiasts will spend $100 a year on a music subscription or, perhaps, purchase a couple of new tracks per week. Casuals will spend $10 a year (maybe splurge and buy that new Beyoncé album), while Indifferents will spend nothing on music. This is why music services like Spotify and Rdio have been exploring the Fremium model. If they want to enroll the 72% of people who are Casual or Indifferent music listeners, they need a product that costs much less than the $100 a year Enthusiasts are willing to pay.

However, price isn’t the only challenge music services face in attracting the Casuals and the Indifferents. Different types of listeners have a different tolerance around the amount of time and effort it takes to play music that they want to listen to.

A music Savant – someone who lives, eats and breathes music – is happy spending hours a day poring through music blogs, forums and review sites to find new music, while the Indifferent music listener may not even make the simplest of efforts like turning the radio on or switching to a new station if they don’t like the current song. A simple metric for the time and effort spent is Interactions Per Listening Session. In this chart, I’ve added my estimate of the number of interactions, on average, a listener of a given type will tolerate to create a listening session.

Untitled-10

Interactions per Listening Session is an indication of how many times the listener controls their music player for a listening session. That music Savant may carefully handpick each song going into a playlist after reading a few music blogs and reviews about an artist on The Hype Machine, checking out the artist bio and previewing a few tracks. The music Enthusiast may grab a few top songs from a handful of their favorite artists to build a Spotify playlist. The casual listener may fire up Pandora, select an artist station and click play, while the Indifferent music listener may passively listen to the music that is playing on the radio or in the background at the local Starbucks.

Untitled_2-6

The above chart shows why a music service like Pandora has been so successful. With its simple interface, Pandora is able to better engage the Casual listeners who don’t want to spend time organizing their listening session. A Pandora listener need only pick a station, and Pandora does all the work from there. This is why music subscription services hoping to attract more users are working hard to add Pandora-like features. In order to make their service appeal to the Casuals, they need to make it incredibly easy to have a good listening experience.

But what about those Indifferents? If 40% of people are indifferent to music, is this a lost market for music services? Is it impossible to reach people who can’t even be bothered to queue up some music on Pandora? I don’t think so. Over the last 75 years, terrestrial radio has shown that even the most indifferent music fan can be coaxed into simple, “lean back” listening. Even with all of the media distractions in the world today, 92% of Americans age 12 or older listen to the radio at least weekly, much the same as it was back in 2003 (94%).

So what does it take to capture the ears of Indifferents? First, we have to drive the out-of-pocket costs to the listener to zero. This is already being done via the Freemium model – Ad supported Internet radio (non-on-demand) is becoming the standard entry point for music services. Next, and perhaps more difficult, we have to drive the number of interactions required to listen to music to zero.

Thus my current project – Zero UI – building a music player that minimizes the interactions necessary to get good music to play – a music player that can capture the attention of even the musically indifferent.

Implicit signals and context
Perhaps the biggest challenge in creating a Zero UI music player is how to get enough information about the listener to make good music choices. If a Casual or Indifferent listener can’t be bothered to explicitly tell us what kind of music they like, we have to try to figure it out based upon implicit signals. Luckily, a listener gives us all kinds of implicit signals that we can use to understand their music taste. Every time a listener adjusts the volume on the player, every time they skip a song, every time they search for an artist, or whenever they abandon a listening session, they are telling us a little bit about their music taste. In addition to the information we can glean from a listener’s implicit actions, there’s another source of data that we can use to help us understand a music listener. That’s the listener’s music listening device – i.e. their phone.

iphone_5s_-_Google_Search

The mobile phone is now and will continue to be the primary way for people to interact with and experience music. My phone is connected to a music service with 25 million songs. It ‘knows’ in great detail what music I like and what I don’t like. It knows some basic info about me such as my age and sex. It knows where I am, and what I am doing – whether I’m working, driving, doing chores or just waking up. It knows my context – the time of day, the day of the week, today’s weather, and my schedule. It knows that I’m late for my upcoming lunch meeting and it even might even know the favorite music of the people I’m having lunch with.

Current music interfaces use very little of the extra context provided by the phone to aid in music exploration and discovery. In the Zero UI project, I’ll explore how all of this contextual information provided by the latest devices (and near future devices) can be incorporated into the music listening experience to help music listeners organize, explore, discover and manage their music listening. The goal is to create a music player that knows the best next song to play for you given your current context. No button pressing required.

There are lots of really interesting areas to explore:

  • Can we glean enough signal from the set of minimal listener inputs?

  • Which context types (user activity, location, time-of-day, etc.) are most important for scheduling music? Will we suffer from the curse of dimensionality with too many contexts?

  • What user demographic info is most useful for avoiding the cold start problem (age, sex, zip code)?

  • How can existing social data (Facebook likes, Twitter follows, social tags, existing playlists) be used to improve the listening experience?

  • How can we use information from new wearable devices such as the Jawbone’s Up, the Fitbit,  and the Pebble Smart Watch to establish context?

  • How do we balance knowing enough about a listener to give them good music playlists and knowing so much about a listener that they are creeped out about their ‘stalker music player’?

Over the next few months I’ll be making regular posts about Zero-UI. I’ll share ideas, prototypes and maybe even some code. Feel free to follow along.

Conceptual zero-ui player that maps music listening onto user activity (as tracked by moves-app )

Conceptual zero-ui player that maps music listening onto user activity (as tracked by moves-app )

6 Comments

Million Song Shuffle

20111023_ipod_jpg__1337×1563_Back in 2001 when the first iPod was released, Shuffle Play was all the rage. Your iPod had your 1,000 favorite songs on it, so picking songs at random to play created a pretty good music listening experience. Today, however, we don’t have 1,000 songs in our pocket. With music services like Rdio, Rhapsody or Spotify, we are walking around with millions of songs in our pocket. I’ve often wondered what it would be like to use Shuffle Play when you have millions of songs to shuffle through. Would it be a totally horrible listening experience listening to artists that are so far down the long tail that they don’t even know that they are part of a dog? Would you suffer from terminal iPod whiplash as you are jerked between Japanese teen pop and a John Philip Sousa march?

To answer these questions, I built an app called Million Song Shuffle. This app will create a playlist by randomly selecting songs from a pool of many millions of songs. It draws from the Rdio collection and if you are an Rdio user you can hear listen to the full tracks.

Cytotoxin

The app also takes advantage of a nifty new set of data returned by the Echo Nest API. It shows you the absolute hotttnesss rank for the song and the artist, so you will always know how deep you are into the long tail (answer: almost always, very deep).

So how is listening to millions of songs at random? Surprisingly, it’s not too bad. The playlist certainly gets a high score for eclecticism and surprise, and most of the time the music is quite listenable. But give it a try, and form your own opinion.

Its fun, too, to see how long you can listen to the Million Song Shuffle before you encounter a song or even an artist that you’ve heard of before. If the artist is not in the top 5K artists, it is likely you’ve never heard of them. After listening to Million Song Shuffle for a little while you start to get an idea of how much music there is out there. There’s a lot.

For the ultimate eclectic music listening experience, try the Million Song Shuffle.

, ,

1 Comment

Have a Very Nestive Christmas

We are approaching peak Christmas music season. That means that many of us are getting really sick of hearing the same Christmas songs over and over.  One can only hear Bing Crosby’s White Christmas so many times before measures must be taken.  To remedy this situation,  this morning I created a quick web app that  let you chose from among a number of different Christmas genres (from classical to heavy metal) to let you add a little variety to your Christmas mix.  If you are getting weary of the Christmas standards, but still want to listen to Christmas music, you may want to give it a try:  The Christmas Playlister

ss

3 Comments

PAPPA – Paul’s Awesome Party Playlisting App

For my Boston Music Hack Day hack I built Yet Another Party Playlisting App (YAPPA), because the world needed another party playlister – but really, I built it because I needed another hack, because 15 hours into the 24 hour hackathon I realized that my first hack just wasn’t going to work (more on that in another post). And so, with 9 hours left in the hack day, I thought I would try my hand at the party playlisting app.

The YAPPA is a frequently built app. In some sense one can look at the act of building a YAPPA as a hacking exercise. Just as a still life painter will practice by painting a bowl of fruit, or a pianist will practice scales, a music hacker can build their hacking muscle by creating a YAPPA.

The essential features of a YAPPA are straightforward – create a listening experience for a party based upon the tastes of the guests.  Allow guests to suggest music for the party, apply some rules to select music that satisfies all the guests, and keep the music flowing.

With those features in mind, I created my party playlisting app. The interface is dead simple – guests can add music to the party via the master web interface or text the artist and song from the mobile phones to the party phone number. Once the party has started, PAPPA will keep the music flowing.

WSIW_-_Avicii-2

The key technology of PAPPA is how it picks the music to play next. Most YAPPAs will try to schedule music based on fairness so that everyone’s music taste is considered. Some YAPPAs also use song attributes such as song hotttnesss, song energy and danceability to make sure that the music matches the vibe of the party. PAPPA takes a very different approach to scheduling music. That’s because PAPPA takes a very different approach to parties. PAPPA doesn’t like parties. PAPPA wants everyone to go home. So PAPPA takes all of these songs that have been carefully texted to the party phone number, along with all the artist and song suggestions submitted via the web and throws them away. It doesn’t care about the music taste of the guests at the party. In fact it despises their taste (and the guests as well). Instead, PAPPA selects and plays the absolute worst music it can find. It gives the listener an endless string of the most horrible (but popular) music. Here’s a sample (the first 3 songs are bait to lure in the unwitting party guests):

  1. Royals by Lorde
  2. Levels by Avicii
  3. Blurred Lines by Robin Thicke
  4. #Twerkit featuring Nicki Minaj by Busta Rhymes
  5. From The Bottom Of My Broken Heart by Britney Spears
  6. Amigas Cheetahs by The Cheetah Girls
  7. Do Ya Think I’m Sexy by Paris Hilton
  8. Incredible by Clique Girlz
  9. No Ordinary Love by Jennifer Love Hewitt
  10. Mexican Wrestler by Emma Roberts
  11. I Don’t Think About It by Emily Osment
  12. A La Nanita Nana by The Cheetah Girls
  13. Don”t Let Me Be The Last To Know by Britney Spears
  14. Wild featuring Big Sean by Jessie J
  15. Heartbeat (Album Version) by Paris Hilton
  16. Love The Way You Love Me by The Pussycat Dolls
  17. When You Told Me You Loved Me by Jessica Simpson
  18. Jericho by Hilary Duff
  19. Strip by Brooke Hogan
  20. Pero Me Acuerdo De Tí by Christina Aguilera
  21. Bang Bang by Joachim Garraud
  22. Right Now featuring David Guetta (Sick Individuals Dub) by Rihanna
  23. Wilde Piraten by The Cool Kids
  24. Friend Lover by Electrik Red
  25. Betcha Can’t Do It Like Me by D4L
  26. Who’s That Girl by Hilary Duff
  27. Get In There, Frank! by Fun
  28. Hold It Don”t Drop It by Jennifer Lopez
  29. Sweet Sixteen by Hilary Duff
  30. Live It Up featuring Pitbull by Jennifer Lopez
  31. Freckles by Natasha Bedingfield
  32. I Want You by Paris Hilton
  33. Hold It Close by Fun
  34. Magic by The Pussycat Dolls
  35. How To Lose A Girl by Mitchel Musso
  36. Fairy Tales by JoJo
  37. Slow It Down featuring Fabolous (Album Version (Explicit)) by The-Dream
  38. Mr. Hamudah by Charles Hamilton
  39. Promise by Vanessa Hudgens
  40. Metamorphosis by Hilary Duff

How does PAPPA find the worst music in the world?  It looks through all the data that The Echo Nest is collecting about how people experience music online to find the songs that have been banned frequently. When a music listener says “ban this song” they are making a pretty strong statement about the song – essentially saying, “I do not ever want to hear that song again in my life”.  PAPPA finds these songs that have the highest banned-to-play ratio (i.e. the songs that have been proportionally banned the most when play count is taken into consideration) and adds them to the playlist. The result being a playlist filled with the most reviled music – with songs by Paris Hilton, Jennifer Love Hewitt and the great Emma Roberts. The perfect playlist to send your guests home.

At this moment, lets pause and listen to the song Mexican Wrestler by Emma Roberts:


What happens to all those carefully crafted text messages of songs sent by the guests?  No, there’s no Twilio app catching all those messages, parsing out songs and adding them to a play queue to be scheduled. They just go to my phone. That’s so if people are not leaving the party fast enough, I can use all the phone numbers of the guests to start to text them back and tell them they should go home.

photo-10

By the way, if you look at the songs that were texted to me during my two minute demo you’d realize how fruitless a YAPPA really is. There’s no possible way to make a party playlist that is going to satisfy everyone in the room. Tastes are too varied, and there’s always that guy who thinks he is clever by adding some Rick Astly to the party queue. Here’s what was texted to me during my two minute demo:

  1. Gregory Porter – be good
  2. Rebecca Black – It’s Friday
  3. Weird Al Yankovic – Fat
  4. Lady Gaga – Applause
  5. Weird Al Yankovic – Amish Paradise (from a different phone number from the other weird Al fan)
  6. Ghostbusters
  7. boss ass bitch
  8. Basement Jaxx raindrops
  9. John Mayer your body is a wonderland
  10. jay z holy grail
  11. Underworld spikee
  12. wake me up
  13. Britney Spears – Hit Me Baby One More Time
  14. Slayer War Ensemble
  15. Bieber baby
  16. KANYE
  17. Royksopp
  18. Ra Ra riot
  19. Rick Astley
  20. Mozart
  21. OSM
  22. Mikey Cyrus
  23. Hi paul
  24. Stevie wonder overjoyed

Imagine trying to build a party playlist based upon those 24 input songs. Admittedly, a hackathon demo session is not a real test case for a party playlister but I still think you’d end up with a terrible mix of songs that no smart algorithm, nor any smart human, could stitch together into a playlist that would be appropriate and pleasing for a party.  My guess is that if you did an A/B test for two parties, where one party played music based upon suggestions texted to a YAPPA and the other party played the top hotttest songs, the YAPPA party would always lose. I’d run this test, but that would mean I’d have to go to two parties. I hate parties, so this test will never happen. Its one of the flaws in our scientific method.

Who are the worst artists?
Looking at the PAPPA playlists I see a number of recurring artists – Britney Spears and Paris Hilton seem to be well represented. I thought it would be interesting to create a histogram of the top recurring artists in the most banned songs list.  Here’s the fascinating result:

PAPPA_-_Paul_s_Awesome_Party_Playlist_App

One thing I find notable about this list is the predominance of female artists.  Females outnumber males by a substantial amount.  Here’s some pie:

PAPPA_-_Paul_s_Awesome_Party_Playlist_App

80% of the most banned artists are female. A stunning result. There’s something going on here. Someone suggested that the act of banning a song is an aggressive act that may skew male, and many of these aggressively banning males don’t like to listen to female artists. More study is needed here. It may involve parties, so I’m out.

Wrapping it all up

I enjoyed creating my PAPPA YAPPA. Demoing it was really fun and the audience seemed to enjoy the twist ending.  The patterns in the data underlying the app are pretty interesting too. Why are so many banned songs by female artists?

If you are having your own party and want to use PAPPA to help enhance the party you can go to:

                     static.echonest.com/pappa/?phone=603+555+1212 

Just replace the phone number in the URL with your own and you are good to go.

PAPPA - Paul's Awesome Party Playlisting App - Ruining parties since 2013

PAPPA – Paul’s Awesome Party Playlisting App – Ruining parties since 2013

, , , , ,

1 Comment

Passive-aggressive playlisting

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.

Acrostic_Playlist_Maker

When you hit the button it will generate a playlist where the first letter of each song in the playlist spells out the message.

Acrostic_Playlist_Maker-2

You can listen to the music in the playlist by clicking on any song, and you can save the playlist back to Rdio.

I_hate_country_music_–_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.

Leave a comment

Are these the angriest tracks on the web?

I built a playlist of songs that most frequently appear in playlists with the words angry or mad with the Smart Playlist Builder. These are arguably some of the angriest tracks on the web.

It is interesting to compare these angry tracks to the top tracks tagged with angry at Last.fm.

Top_Tracks_tagged_as_‘angry’_–_Music_at_Last.fm

I can’t decide whether the list derived from angry playlists is better or worse than the list driven by social tags. I’d love to hear your opinion. Take a look at these two lists and tell me which list is a better list of angry tracks and why.

yep, this is totally unscientific poll, but I’m still interested in what you think.

2 Comments

Using the wisdom of the crowds to build better playlists

At music sites like Rdio and Spotify, music fans have been creating and sharing music playlists for years. Sometimes these playlists are carefully crafted sets of songs for particular contexts like gaming or sleep and sometimes they are just random collections of songs.  If I am looking for music for a particular context, it is easy to just search for a playlist that matches that context.  For instance, if I am going on roadtrip there are hundreds of roadtrip playlists on Rdio for me to chose from. Similarly, if I am going for a run, there’s no shortage of running playlists to chose from.  However, if I am going for a run, I will need to pick one of those hundreds of playlists, and I don’t really know if the one I pick is going to be of the carefully crafted variety or if it was thrown together haphazardly, leaving me with a lousy playlist for my run.   Thus I have a problem –  What is the best way to pick a playlist for a particular context?

Naturally, we can solve this problem with data.  We can take a wisdom of the crowds approach to solving this problem. To create a running playlist, instead of relying on a single person to create the playlist, we can enlist the collective opinion of everyone who has ever created a running playlist to create a better list.

I’ve built a web app to do just this. It lets you search through Rdio playlists for keywords. It will then aggregate all of the songs in the matching playlists and surface up the songs that appear in the most playlists.  So if Kanye West’s  Stronger appears in more running playlists than any other song, it will appear first in the resulting playlist.  Thus songs, that the collective agree are good songs for running get pushed to the top of the list.  It’s a simple idea that works quite well. Here are some example playlists created with this approach:

Best Running Songs

Coding

Sad Love Songs

Chillout

Date Night

Sexy Time

This wisdom of the crowds approach to playlisting isn’t limited to contexts like running or coding, you can also use it to give you an introduction to a genre or artist as well.

Country

Post Rock

Weezer

The Smart Playlist Builder

The app that builds these nifty playlists is called The Smart Playlist Builder.  You type in a few keywords and it will search Rdio for all the matching playlists.  It will show you the matching playlists, giving you a chance to refine your query.  You can search for words, phrases and you can exclude terms as well. The query sad “love songs” -country will search for playlists with the word sad,  and the phrase love songs in the title, but will exclude any that have the word country.

Smart_Playlist_Builder

When you are happy with your query you can aggregate the tracks from the matching playlists. This will give you a list of the top 100 songs that appeared in the matching playlists.

Smart_Playlist_Builder

If you are happy with the resulting playlist, you can save it to Rdio, where you can do all the fine tuning of the playlist such as re-ordering, adding and deleting songs.

Top_sad_love_songs_-country_songs_via_SPB_–_Rdio

The Smart Playlist Builder uses the really nifty Rdio API. The Rdio folks have done a fantastic job of giving developers access to their music and data. Well done Rdio team!

Go ahead and give The Smart Playlist Builder a try to see how the wisdom of the crowds can help you make playlists.

, ,

7 Comments

One Minute Radio

If you’ve got a short attention span when it comes to new music, you may be interested in One Minute Radio. One Minute Radio is a Pandora-style radio app with the twist that it only every plays songs that are less than a minute long.  Select a  genre and you’ll get a playlist of very short songs.

One_Minute_Radio-2

Now I can’t testify that you’ll always get a great sounding playlist – you’ll hear  intros, false starts and novelty songs throughout, but it is certainly interesting.  And some genres are chock full of good short songs, like punk, speed metal, thrash metal and, surprisingly, even classical.

OMR was inspired by a conversation with Glenn about the best default for song duration filters in our playlisting API.  Check out One Minute Radio. The source is on github too.

, ,

2 Comments

Searching for chilled metal

It seems like every heavy metal band has at least one chill-out song – from Metallica’s Nothing Else Matters to Led Zeppelin’s That’s the Way.   These tracks give some relief from the otherwise relentless pounding of the hammer of the gods.  It’d be nice to be able to collect up a bunch of these chilled-metal songs into a playlist – perfect for when your mom’s visiting (she tells me that she doesn’t like pounding metal).

ChilLed Zeppelin - Some rights (by-nc-sa) reserved by Heinrich Klaffs

To find chilled metal, we can use The Echo Nest API.  The Echo Nest has calculated a wide range of acoustic and musical attributes for millions of songs. One such attribute is energy .  We can make  a simple song/search query for heavy metal songs that have low energy.  These will be our chilled-metal songs that your mom enjoys so much.  Here’s the API query:

http://developer.echonest.com/api/v4/song/search?&style=heavy+metal&sort=energy-asc

This query searches for songs by heavy metal artists, and sorts the results in order of ascending energy (so the lowest energy tracks will be returned first).  The query does a really good job of finding chilled metal.  Here’s a sampling of the results:


Sphinx (The Guardian) by Black Sabbath


Sphinx (The Guardian) by Black Sabbath  - energy: 0.0003


Demon Driver reprise by Gillan


Demon Drive by Gillan - energy: 0.010


The Return by Saxon


The Return by Saxon - energy: 0.013


Solitude by Judas Priest


Solitude by Judas Priest  - energy: 0.049


Joan of Arc by UFO


Joan of Arc by UFO – Energy: 0.05


Fear by Black Label Society


Fear by Black Label Society Energy – 0.119


You can also use the Echo Nest Playlist API to generate a chilled metal playlist.   Here’s a call to create a playlist of chilled metal in XSPF format.

http://developer.echonest.com/api/v4/playlist/static?api_key=N6E4NIOVYMTHNDM8J&style=heavy+metal&max_energy=.1&type=artist-description&bucket=id:7digital&bucket=tracks&limit=true&format=xspf

You can toss this playlist into a player like VLC or Songbird that supports XSPF and start listening to chilled metal right away (30 second samples only) like this:

% curl 'http://developer.echonest.com/api/v4/playlist/static?api_key=N6E4NIOVYMTHNDM8J\
   &style=heavy+metal&max_energy=.1\
   &type=artist-description&bucket=id:7digital&bucket=tracks&limit=true\
   &format=xspf' > chilled-metal.xspf
% open chilled-metal.xspf

There you go, you now have all the tools you need to keep your chilled metal queue filled and fresh, almost everything you need to keep your mom happy.

Thanks much to 7Digital for providing audio clips and album art.

, ,

4 Comments

Follow

Get every new post delivered to your Inbox.

Join 720 other followers