pitch_detector icon indicating copy to clipboard operation
pitch_detector copied to clipboard

PitchYIN::calculatePitch reads off end of buffer

Open FigBug opened this issue 2 years ago • 1 comments

delta = inputData[j] - inputData[j + tau];

j + tau > yin.getNumSamples() results in illegal memory access.

FigBug avatar Jan 04 '23 02:01 FigBug

Thanks, this library is in dire need of tidying up.

adamski avatar Jan 26 '23 10:01 adamski