Open alvations opened 6 years ago
I have audio files sampled at 4096Hz and was receiving index out of bounds errors from this method when doing feature extraction. Doing the change you suggested fixed that for me.
This appears to be the same issue as ticket #202
The person who wrote that ticket said 16KHz files were working fine which seems logical given what the if statement is checking for.
At https://github.com/tyiannak/pyAudioAnalysis/blob/master/pyAudioAnalysis/audioFeatureExtraction.py#L169, there's a check on the sampling frequency
fs < 8000
and then the number of logistic filters is reduced to 5:But it looks like the
nlogfil
is never used. Is it supposed to be:BTW, what does
linsc
andlogsc
mean?