我正在尝试运行音频到频谱图脚本,即:
https://github.com/grrrr/nsgt/tree/master/examples
当我尝试python spectrogram.py myaudio.wav
时
我收到错误消息:
Traceback (most recent call last):
File "spectrogram.py", line 111, in <module>
coefs = assemble_coeffs(c, ncoefs)
File "spectrogram.py", line 27, in assemble_coeffs
out = np.empty((ncoefs,cq0.shape[1],cq0.shape[2]), dtype=cq0.dtype)
IndexError: tuple index out of range
我做错什么了吗? 请指教! :)