The more music you have, the tougher it can be to find the right song. Researchers at the University of Munich in Germany think they have a solution: a digital music player that maps songs by mood.
Programs such as Apple’s iTunes have the drawback of requiring their users to scroll through endless lists, says Otmar Hilliges, a graduate student in the Munich research group. “A lot of people who own iPods tell me they don’t read the list anymore,” he notes. “They remember where spatially on the list their favorite artists are and scroll – remembering how long it takes to get to the artist they want.” But this trick isn’t much help if you’re searching through several thousand songs.
In many cases, users might not even have an artist or a title in mind – but rather just a feeling for what kind of music they want to hear. They could search by genre, looking for “jazz,” for instance, but such labels don’t reveal how a song actually sounds – or, better yet, how it feels.
Some people surrender control altogether, setting their player to shuffle. The result is a mix that jerks listeners all over the map, says Paul Lamere, a software engineer at Sun Microsystems Laboratories in Santa Clara, CA. “I may get ACDC followed by Raffi,” he says. “We call this iPod whiplash. What we really want is a button that says, ‘Play me music I like.’”
Instead, the software developed by the Munich group, AudioRadar, provides a map of songs by their sound and similarities. Using algorithms developed by other acoustical researchers over the years, it scans a music collection, measuring song qualities: tempo, chordal shifts, volume, harmony, and so on. Then it weights the songs by four key criteria: fast or slow, melodic or rhythmic, turbulent or calm, and rough or clean. (Turbulence measures the abruptness of shifts; “rough” indicates the number of shifts.)
Based on these metrics, the application creates a map in which a chosen song appears at the center of the screen, with similar songs clustered in a circle around it – sort of like points of light on a radar screen. Then users can gauge, for instance, the “calmness” or “cleanness” of another music choice by its relative position on the map. Distances are scaled; for instance, a song at the circle’s outer edge would be twice as calm as one in the center. And the cluster rearranges itself after each new song. Thus, users can surf their collections without needing to remember every song they own. They can build mood-based playlists or let the program select the next most similar song.
AudioRadar is different from music “discovery” engines such as Liveplasma, Pandora, and Last.fm, which help users expand their collections. These online services analyze your musical tastes and suggest new music you might like. Another program, Musipedia, allows users to hum, whistle, or play a song, and then retrieves the title and artist.
AudioRadar’s closest relatives are two other programs still under development: Playola, created by a student at Columbia University, and Search Inside the Music, by Sun Microsystems. Playola measures patterns in songs and fits them into genres – electronic, college rock, and so on. After listening to an initial song, users adjust sliders to indicate genre preferences for the next choice – a little more “singer-songwriter” and a little less “college rock,” for instance. The program provides mood-based navigation, like AudioRadar, and uses some of the same algorithms, says Dan Ellis, associate professor of electrical engineering at Columbia, who oversees Playola. Ellis says that AudioRadar offers the bonus of a user-friendly display.
When designing an embedded system choosing which tools to use often comes down to building a custom solution or buying off-the-shelf tools.