dejavu icon indicating copy to clipboard operation
dejavu copied to clipboard

Fingerprinting Audio With Differing Sample Rates

Open rstokes92 opened this issue 1 year ago • 1 comments

I have noticed that this doesn't really seem to work if the fingerprint in the database was taken from audio sampled at a different rate than the audio used to generate the test fingerprint. This is also mentioned in other issues (https://github.com/worldveil/dejavu/issues/94, https://github.com/worldveil/dejavu/issues/62) but never really discussed why or what the best practice is for addressing.

I guess the most practical approach is for everything in the database to be fingerprinted at the exact same sampling rate? What about if this is not possible?

Would be super interested to understand the reason for this given the spectrogram takes sample rate into account.

rstokes92 avatar Apr 13 '23 14:04 rstokes92

I think the most respected solution is to downsample it to fit the rate of the fingerprinted audio

alic-xc avatar Jul 24 '23 21:07 alic-xc