Configuration property to specify after how many milliseconds the “recognizeMIDFileFromFile” should start fingerprinting

StackOverflow https://stackoverflow.com//questions/22021798

  •  21-12-2019
  •  | 
  •  

Question

as the title says , I think it will be nice if there was config property that we can set in order to specify after how many milliseconds(or seconds ) the fingerprinting should be done on the file. According to the documentation, it is done at the start of the song but after playing for a while with the " GNOperations.recognizeMIDFileFromFile" method, I did realized that some songs that couldn't be identified where strangely identifiable by " GNOperations.recognizeMIDStreamFromMic" method. I did noticed that those songs that couldn't be identified had some special dj sound effects at the beginning of the song that were present on the original release of the song. My guess is the fact that fingerprinting did failed because it was starting at the beginning of the file instead of starting 5 or 10 seconds after the beginning of the file.

I will be nice to hear comment from someone of the Gracenote team on that feature request.

Was it helpful?

Solution

Interesting use case.

I assume you meant that the dj sound effects were not present in the original song?

MIDFile is designed to match high quality files sourced from CDs or downloads. Unless the dj tracks you have are in our File fingerprint DB as is, they won't be recognized by MIDFile. MIDFile truly operates on the beginning of files only, so delaying the start of fingerprinting is not likely to solve your problem (and will instead result in zero matches unless you were extremely accurate (and lucky) in choosing your start position).

However, MIDStream is able to recognize the audio snippet from later in the file as our Stream DB operates on the whole of the audio for a song.

The real solution is for the dj tracks to be added to our File DB (assuming they are commercially available) or to instead use MIDStream to recognize the song within the larger track.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top