views:

293

answers:

3

What is the best way to match two songs? IE. Have a song stored in the database in whatever format is best and then play another song and match the two together?
In Python ideally please.

Thanks!

+4  A: 

I think you might be looking for something called Acoustic Fingerprinting. It generates a brief description of a song which can be compared against other songs. This allows the matching of audio which is similiar but not exactly the same.

Emil H
+3  A: 

You can download the tarball from

http://rudd-o.com/new-projects/python-audioprocessing

They say their goal is to identify the same songs released in different albums. Basically to avoid storing two-copies considered separately. I think the algorithm will help you.

simplyharsh
+1  A: 

By 'matching' do you mean finding tracks that are identical - or do you mean 'beat matching' - to dovetail two songs together so that the beats align to give you a seamless song transition. If you are talking about the latter then check out remix. A python library for automatic remixing: http://code.google.com/p/echo-nest-remix/

plamere