Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compare mp3 programmatically

Tags:

compare

audio

mp3

I like to be able to compare mp3’s programmatically. The problem I don’t know by what. Header? Histogram? channels? Does anyone have experience with this subject?

like image 203
user63898 Avatar asked Nov 27 '22 06:11

user63898


1 Answers

I wrote my master's thesis on audio fingerprinting. The thesis lists a few open source solutions to the problem of comparing what the music sounds like, and provides performance comparisons between them. Might be overkill, but there are some really decent applications out there.

If you only want to compare by tagged data, the standard to look into is ID3. There are basically two versions, the first is very simple (ID3v1) and consists of a 128 byte block at the end of an MP3. ID3v2 puts a larger, variable sized block at the beginning of the MP3.

like image 195
Vegard Larsen Avatar answered Dec 06 '22 20:12

Vegard Larsen