How do I write a 24-bit WAV file in Python?

前端 未结 7 2191
遇见更好的自我
遇见更好的自我 2020-12-11 02:05

I want to generate a 24-bit WAV-format audio file using Python 2.7 from an array of floating point values between -1 and 1. I can\'t use scipy.io.wavfile.write because it on

7条回答
  •  -上瘾入骨i
    2020-12-11 02:34

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

    • 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)

提交回复
热议问题