我正在尝试运行一个音频到频谱图脚本,即:
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
我做错什么了吗? 请告知!:)
只需添加参数
matrixform
即可运行它。你知道吗我建议你看看这个issue!在github项目中,它可以帮助您
相关问题 更多 >
编程相关推荐