YvesBas / Tadarida-D

A Toolbox for Animal Detection on Acoustic Recordings Integrating Discriminant Analysis - Detection and Feature extraction part
GNU Lesser General Public License v3.0
12 stars 8 forks source link

Is SONOGRAM_WIDTH_MAX 60008 a practical value or could this be higher? #2

Open rduivenvoorde opened 2 years ago

rduivenvoorde commented 2 years ago

Hi, Testing around with some (via other software) labeled sound samples, we hit the 5 second limit (as those samples are often a little longer, say till 9 or 10 s)

In: https://github.com/YvesBas/Tadarida-D/blob/master/sources/detectreatment.h#L25 I find SONOGRAM_WIDTH_MAX 60008

So my question would be: would it be OK to higher this value till say 100000 or 120000? To be make it possible to handle my longer sound samples? OR will I open a box of pandora then with R of cpp memory or performance problems (I do not fully understand the inner workings of Tadarida to be honest)?

Thanks for any hints...

YvesBas commented 2 years ago

Sorry I missed this issue. Yes, there are memory issues when you increase that. I must confess I don't fully remember what it was precisely, but I guess you can test it?