This may be because your sample rate was not a multiple of 16000. If that's the case, a low-quality, linear resampling is applied to the input audio to make it compatible with the pitch detection model. This resampling function should be improved.
I just pushed a change that will attempt to set your sample rate to 48000 now which may improve your quality. Additionally, your sample rate will now log out in the console.
I just pushed a change that will attempt to set your sample rate to 48000 now which may improve your quality. Additionally, your sample rate will now log out in the console.