dpwe/audfprint

Couldn't match the query.mp3

Opened this issue · 6 comments

thanks for your code.

but I couldn't match the query.mp3 in tests/data/query.mp3

I test as follows:
python3 audfprint.py new --dbase fpdbase.pklz tests/data/Nine_Lives/0*.mp3
python3 audfprint.py add --dbase fpdbase.pklz tests/data/Nine_Lives/1*.mp3
python3 audfprint.py match --dbase fpdbase.pklz tests/data/query.mp3

Then get the result:
NOMATCH tests/data/query.mp3 5.6 sec 267 raw hashes

so i didn't know why the result is not same as in README? Thank you very much, wish to your replay.

dpwe commented

thanks for your reply.

I used the pip3 to install all the lib in requirements.txt, and then it can worked in python3 (linux 16.04).

and then i will try to install it under python 2.7 , and see if it has the different result. thank you

dpwe commented

I just pushed a bunch of changes to fix Python 3.7 compatibility; I'm hoping this will fix your issues.

couldn't match the query.mp3 with py2.7, but i could match the 01-Nine_Lives.mp3, haha, maybe something wrong with query.mp3 or due to the parameter, i will read the code and try to test other songs.
sorry for my poor english~

jmmcd commented

Just an extra datapoint: on Mojave, with Py3.7 and requirements.txt items all installed using Anaconda, it works out-of-the-box. Only thing to note is that librosa is not mentioned in requirements.txt. I installed it with pip.

dpwe commented