pitch shift for  samplesPerChunk = 2^16 and frequency range between A =
440 Hz to A#= 1864 Hz