dpwe / audfprint

Landmark-based audio fingerprinting
MIT License
536 stars 121 forks source link

Scan every folder in every fingerprint base named as folder #85

Open lightcomc opened 1 year ago

lightcomc commented 1 year ago

Hello. How to create this case:

I am added txt file with source folders and want to do bases named as folders

for /r "C:\Users\Owner\Desktop\LISTOFFOLDERS.txt" %%i in (".") do python "C:\Users\Owner\Desktop\audfprint-master\audfprint-master\audfprint.py" new --dbase "C:\Users\Owner\Desktop\fingerprint\FOLDERNAMEFROMTXT.pklz" "%%i" >> "C:\Users\Owner\Desktop\fingerprint.txt"

Result - i have multiple.pklz for matching.

Why? I have 600+ Folders. and i want to find more matched results (about 5) than one. sources and track names in folders can be duplicated and I want to get all the track name matches for verification, since I have partially sampled music ..

ZhymabekRoman commented 1 year ago

I think you need automate this using Python not bat

dpwe commented 1 year ago

I think you want “add” instead of “new” for all except the first call, and use the same dbase name for all folders.

“Pklz” is the suffix for precomputed per-track peak files. I usually call the database file .db or something.

DAn.

On Sun, Sep 25, 2022 at 07:36 lightcomc @.***> wrote:

Hello. How to create this case:

I am added txt file with source folders and want to do bases named as folders

for /r "C:\Users\Owner\Desktop\LISTOFFOLDERS.txt" %%i in (".") do python "C:\Users\Owner\Desktop\audfprint-master\audfprint-master\audfprint.py" new --dbase "C:\Users\Owner\Desktop\fingerprint\FOLDERNAMEFROMTXT.pklz" "%%i"

"C:\Users\Owner\Desktop\fingerprint.txt"

Result - i have multiple.pklz for matching.

Why? I have 600+ Folders. and i want to find more matched results (about 5) than one. sources and track names in folders can be duplicated and I want to get all the track name matches for verification, since I have partially sampled music ..

— Reply to this email directly, view it on GitHub https://github.com/dpwe/audfprint/issues/85, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEGZULO6WRPASKPZHLF2QTV77XHZANCNFSM6AAAAAAQU6UVVI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

xuboot commented 1 year ago

Can this algorithm load the historical features into memory first, so that the matching speed is improved, but I don't know how to modify your basic code