By default scipy.io.wavfile.read(file) set sample rate 8000, where I in Librosa by default is 22.05k.
I want to set a 22.05k sample rate in scipy.io.wavfile.read.
In the documentation, there is no way to define the sample rate explicitly.
By default scipy.io.wavfile.read(file) set sample rate 8000, where I in Librosa by default is 22.05k.
I want to set a 22.05k sample rate in scipy.io.wavfile.read.
In the documentation, there is no way to define the sample rate explicitly.
No, that's not how it works. Each wave file HAS a sample rate. scipy.io.wavfile.read tells you what that rate is. If you want to change it, then you have to do a sample rate conversion.