It seems that scipy.io.wavfile.read
cannot read 24-bits .wav files.
Do you have an idea on how to handle them ?
scipy.io.wavfile.read can read 24-bits .wav files since release 1.6 : https://docs.scipy.org/doc/scipy-1.6.0/reference/release.1.6.0.html#scipy-io-improvements
If your wav files are not compressed, you can try the readwav
function here: https://gist.github.com/WarrenWeckesser/7461781
Update
I converted that gist to a python package: https://pypi.python.org/pypi/wavio
The source code is on github: https://github.com/WarrenWeckesser/wavio
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With