audiocogs/pitch.js

Internal buffer wrong size?

Opened this issue · 0 comments

In your readme it says:
"The internal buffer is 4096 samples"

However it doesn't seem like it in the code:

FFT_P	= 10,
FFT_N	= 1 << FFT_P,
BUF_N	= FFT_N * 2;

This makes BUF_N 2048. Maybe I just missed something?