News for hackers. Stuff that matters.
Re:Shazam turns 20 by zelos on Friday August 19, 2022 @11:33AM (#32522282)
They used to have a paper on their website describing their algorithm in simplified form but I can't find it any more. Wikipedia has some details: https://en.wikipedia.org/wiki/Acoustic_fingerprint

I believe it's very sensitive to changes in timing, so it doesn't work on live performances etc.

(based on reading I did 13 years ago before an interview at Shazam, which to this day still remains my worst interview performance)

Re:Shazam turns 20 by muizelaar on Friday August 19, 2022 @11:53AM (#32522567)
Re:Shazam turns 20 by neon_electro on Friday August 19, 2022 @12:00PM (#32522658)
The "doesn't work with live performances" bit is borne out by my consistent experience failing to identify some songs at live performances, but with the "DJ Set" form of live performance, tempo shifting music without pitch shifting it still appears to get the goods more often than not.
Re:Shazam turns 20 by m-p-3 on Friday August 19, 2022 @12:05PM (#32522734)
I'll also plug AcoustID from MusicBrainz

https://musicbrainz.org/doc/AcoustID

Re:Shazam turns 20 by senko on Friday August 19, 2022 @12:21PM (#32522976)
We use AcoustID in MusicBox[0] to identify and deduplicate content, and it works great for us.

What we do is calculate the acoustic fingerprint of every uploaded content and compare/check for duplicates (only authorized staff can upload, but this still helps a bunch with user errors and in cases where you need to reupload a track). Then we compare the fingerprints, using this[1] approach, so we can fine-tune the similarity based on our needs.

In our case it's been very effective. Yes, live versions are treated as different ones (which is exactly what we need in our case, so it's a feature for us), but mechanical differences between tracks (volume, slight distortions from codec, different compression levels or remasters, or track being cut differently) are just ignored.

If you ever want/need audio fingerprinting, I can warmly recommend it.

[0] Music streaming service optimized for cafes, restaurants and other venues - https://musicbox.com.hr/ [1] https://groups.google.com/forum/#!msg/acoustid/Uq_ASjaq3bw/k...

Re:Shazam turns 20 by jefftk on Friday August 19, 2022 @12:43PM (#32523288)
> live versions are treated as different ones

I think you're talking about a live recording vs a studio recording? But what I think zelos was talking about was "someone is currently playing music live, what is it?", which is a lot harder because you need to recognize the essence of a song and not the essence of a recording of a song.

Re:Shazam turns 20 by senko on Friday August 19, 2022 @04:23PM (#32525559)
Yeah, agreed, that's way harder and not something AcoustID can do.