scipy.io.wavfile.read cannot read 24-bits .wav files

后端 未结 2 1168
悲&欢浪女
悲&欢浪女 2020-12-31 17:03

It seems that scipy.io.wavfile.read cannot read 24-bits .wav files. Do you have an idea on how to handle them ?

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-31 17:47

    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

提交回复
热议问题