when audio is recording using pyaudio with paInt16
, it gives me 16 bits integer represented as two bytes. With some studying, I concluded that it must be # between -32768 to 32767.
I saved audio as wav file and load it back with librosa.core.load
.
I did retrieved float value * 32767 and see whether it generates original 16bits integer but it was not matching at all.
My questions are
- Where is this mismatch coming from??
- is original 16-bit integer data represents frequency?
- librosa doc state that load function returns
floating point time series
. how do you calculate this value from the original 16-bit integer?