这可能吗??使用来自 scikits.audiolab 的 wavread 时,我似乎遇到了这个错误:
x86_64.egg/scikits/audiolab/pysndfile/matapi.pyc in basic_reader(filename, last, first)
93 if not hdl.format.file_format == filetype:
94 raise ValueError, "%s is not a %s file (is %s)" \
---> 95 % (filename, filetype, hdl.format.file_format)
96
97 fs = hdl.samplerate
ValueError: si762.wav is not a wav file (is nist)
我猜它无法读取 NIST wav 文件,但有没有另一种方法可以轻松地将它们读入 numpy 数组?如果不是,那么读取数据的最佳方法是什么?
可能重写 audiolab wavread 以识别 nist 标头?