I have input.wav with sample rate 4800.
- librosa load in python
import librosa
y, sr = librosa.load("input.wav", mono=True, sr=16000)
print(y)
- ffmpeg transform and load
% ffmpeg -i input.wav -y -ar 16000 -ac 1 output.wav
import librosa
y, sr = librosa.load("output.wav", mono=True, sr=16000)
print(y)
I expect first and second have same result. But they are different. How can I fix it?