views:

1105

answers:

4

Greetings

I may have imagined this but does anyone know if Last.fm previously used some form of open source project to perform analysis on music to determine similar music.

As its now moved to a pay version I'd like to make something which can add known music to my playlist. (I hate scanning my computer for similar music manually)

Failing that - does anyone know of any system that I could use to replace this ? Ideally I'd like some form of API / Source code that I can use to automate the whole process into batch jobs.

Thanks,

[edit] Ideally I was looking for something more along the lines of content matching. I'm the type of person who just throws all my music into one unorganized location. Then being lazy I would ideally expect a playlist to be generated giving me a similar music type of playlist.

Last.fm uses http://www.audioscrobbler.net/ - it also provides access to its database via an API.

[/edit]

A: 

Wouldn't it be simpler/more efficient to query(build?) some internet database based on genre/style/etc? I used last.fm and similar sites but never felt they did anything more then this (at least the results weren't indicating that) ;)

RnR
+1  A: 

I am not very sure what exactly you want, but how about MusicBrainz?

zoul
Hi Zoul , Thanks for the link. What exactly is confusing you about my question ? I ask because my knowledge on this topic is vague. I'd like to structure the question so that it can be better understood.
steve
Do you want to find similar music in your own music database? Or do you want to find *new* music similar to given track? Are you interested in simple tag matching, or would you like something more sophisticated, like some content analysis or precise content tagging à la Pandora? How about the iTunes Genius?
zoul
+5  A: 

Music similarity is not an easy problem.

There are two general approaches to solving this problem.

Approach 1. Throw data at the problem. This is the approach LastFM and Pandora take. It's basically one huge database which is maintained by either a community or group of experts. Note that to use this approach you will need clean metadata or some kind of audio fingerprinting solution like musicbrainz. Once you have the feature database you can use algorithms such as Pearson correlation coefficient to find similar items.

Approach 2. Throw algorithms at the problem. In particular, computer audition algorithms. This means you calculate vectors of various features a song contains and using neural nets and a variety of other techniques you find other songs with similar vectors. This approach has been used successfully for automatic genre classification and query by example.

If you are looking for open source software for music analysis, marsyas can do pretty much everything the commercial stuff can do. Its the brain child of George Tzanetakis and on his web site you can find many papers about the state of affairs with computer audition.

Sam Saffron
+2  A: 

There's a web API at The Echo Nest that includes a get_similar web service that allows you to retrieve similar artists to a set of seed artists. You can use this to help build playlists. The Echo Nest also has a set of web APIs that will perform a detailed analysis of a track (similar to the aforementioned Marsyas) that one could use as the basis for an acoustic-based song similarity method. (Caveat, I work at the Echo Nest). Of course, if you use iTunes, there's some canned solutions. iTunes now has a music recommender / playlist generator that will build playlists of songs from simliar artists. Similarly, the company Mufin has an iTunes add on which will perform acoustic analysis of your tracks and use this analysis to build playlists.

If you are interested in building your own music similarity system, I suggest that you take a look at the proceedings for ISMIR (the International Society of Music Information Retrieval). There's quite a bit of research around music similarity and playlisting that you'll find helpful. You can find the proceedings at ismir.net

plamere