Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am looking for a .NET library and some direction into how I can compare 2 or more audio files to determine if they are the same even if in different formats (mp3 128CBR vs. 192 VBR,etc).

I assume I need some kind of spectrum/frequency analysis. I would think I have to allow for differences in volume and very minor differences in frequency? Any direction would be appreciated.
Posted

1 solution

If you think about it, that is a tremendously difficult task. Different encoders throw away different parts of the original in order to shrink the file size, so comparing them is not easy.

There are some freeware Apps out there that claim to do so although how well they work I don't know.

You might try looking on SourceForge.net or CodePlex or similar sites to see if you can find some source code.
 
Share this answer
 
Comments
Mike Cor 27-Nov-10 19:18pm    
I have looked at several available products that do the compare to find duplicates. The main problem is, they don't update playlists. I want the playlists updated. This is a simple search/replace. If a duplicate is found, the track that is being removed should be searched in playlists and replaced with the copy that won't be deleted.

If they output a log file, I could parse that and do it myself. No luck so far though.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900