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

后端 未结 2 1167
悲&欢浪女
悲&欢浪女 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:29

    Here is an updated version of scipy.io.wavfile that adds many things:

    • 24 bit .wav files support for read/write,
    • access to cue markers,
    • cue marker labels,
    • some other metadata like pitch (if defined), etc.

    wavfile.py (enhanced)

    Feel free to share it!

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题