matching many files
Opened this issue · 8 comments
is it possible to modify the code so he can match many files once
The matching is intrinsically 1 query against the whole reference set, but each match is quite quick so you can run through a lot of queries in a loop.
The idea of looking for any matches among a large collection is an interesting variant. There might be a more efficient way of structuring that, but it's not trivial.
can u tell me where to modify or give me some hints
Thanks for this wonderfull code which works very good. In My case I dont know whether a chunk could have 1 or 2 or 3 diffferent file matches. so I am using --max-matches 5 but using this I am getting duplicate matches of the same audio file. could you please help me about that ?
Thank You for replying :) Tried the same self.max_alignments_per_id = 100 to self.max_alignments_per_id = 0 and it worked but it miss if there is only 1 match.. I guess I will try some other way around in post processing
changing if found_this_id > self.max_alignments_per_id
to
if found_this_id >= self.max_alignments_per_id:
Worked fine :) Thank You
I am sorry , its my bad .. actually it is not working ... its missing the match when there is only one match in a chunk.. my chunk is of 1 minute and it can have 2-3 audio files ..