JorenSix / Panako

The Panako acoustic fingerprinting system.
GNU Affero General Public License v3.0
179 stars 35 forks source link

Simple "how similar are two mp3 files" example #19

Closed salamanders closed 2 years ago

salamanders commented 4 years ago

I was giving this software a shot, but I may have missed something. (It keeps trying to store files in a database in a directory that isn't writable. Does it need the datastore for the fingerprints to work?)

I was trying to make the simplest possible "hello world" Java example that would take in two mp3 files, and spit out "95% chance these are the same song". To do that, I think I create a new strategy (I choose which one), then pass it the path to the mp3, but I'm not sure if it needs to be uncompressed to a wav first.

Which strategy is the current best? (Reasonably fast, robust, good chance of accurate results)

This project seems to be the most advanced I've found for "are these two mp3s duplicates?" in Java.

JorenSix commented 2 years ago

I have included a new sub-command called "same" which "Returns a probability estimating whether two files contain the same audio" so to use it goes as follows: "panako same first.mp3 secondmp3"