dpwe / audfprint

Landmark-based audio fingerprinting
MIT License
544 stars 122 forks source link

Gives varied results if computed vice versa #49

Closed 2407adi closed 5 years ago

2407adi commented 5 years ago

So I was dabbling with the implementation of the code wherein I was searching for a small audio clip(abc) into a larger recording(xyz). When I pickle "abc" and the run the match command with "xyz" as the query, I revive perfect results, but the time detected is a total chaos when i do it vice versa; pickle xyz and match abc. Any idea why? Thanks a ton!

dpwe commented 5 years ago

The times are stored modulo some maximum value; by default, this causes times to "alias" when larger than 6 minutes; see the final paragraph of https://github.com/dpwe/audfprint/blob/master/README.md

On Fri, Nov 30, 2018 at 4:15 AM 2407adi notifications@github.com wrote:

So I was dabbling with the implementation of the code wherein I was searching for a small audio clip(abc) into a larger recording(xyz). When I pickle "abc" and the run the match command with "xyz" as the query, I revive perfect results, but the time detected is a total chaos when i do it vice versa; pickle xyz and match abc. Any idea why?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dpwe/audfprint/issues/49, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhs0WCpWFOlQ6A3yANIzV-1ObLs_fIPks5u0Pc0gaJpZM4Y7SNh .

2407adi commented 5 years ago

This totally works! Thanks a ton! 👍