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!
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!
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.
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.
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/