Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java: Comparing two audio files to see if they are the same "music" [closed]

Tags:

java

audio

I'm working on a music streaming service and I've come across a problem: how do I compare two audio files to see if they represent the same song. The files might not have the same extension (e.g OGG, mp3, wma) but might still be the same song, and they might have a different bit rate and volume level.

like image 955
ThaSaleni Avatar asked Aug 16 '12 13:08

ThaSaleni


2 Answers

Search for "audio fingerprinting". A possible solution might be this library or this paper.

like image 62
Matt Avatar answered Sep 22 '22 19:09

Matt


I'd check out Google's open source lib musicg API: http://code.google.com/p/musicg/

It's Java and gives similarity metrics for two audio files.

like image 2
Karim Varela Avatar answered Sep 22 '22 19:09

Karim Varela