Closed atruskie closed 3 years ago
ksh23_1766_510096_20171102_170621_30_0_3054_3084_0-0.5min.wav kmu16_1817_507136_20171029_103134_30_0_161_191_0-0.5min.wav
I believe I have fixed the the problem identified in this issue. The problem lay in determining the maximum DCT coefficient.
Actual behaviour:
The documentation for the HarmonicAlgorithm states:
https://github.com/QutEcoacoustics/audio-analysis/blob/ce858e61fea2ae669f4e805d37e8966fdb5602a5/docs/technical/apidoc/HarmonicParameters.md#L42-L47
But I've found that the
MaxFormatGap
parameter must be set to values much larger than the size of the gap between formants for the algorithm to detect anything.Expected behavior:
Clarify the intended use of
MaxFormantGapt
in the documentation or treat this as a bug and ensure the code works as advertised.How to reproduce this bug:
MaxFormantGap
is set appropriately versus when it is set to approximately the total bandwidth of the target event.Additional Details
Config excerpt:
Note the harmonic detector works, but the
MaxFormantGap
is set to a value that is much larger the true max formant gap (which would be about 300 Hz)