每当我尝试读取.wav文件时,出现以下错误。 我到处搜索,但没有任何进展。 CODE: import scipy as sp
import matplotlib.pyplot as plt
sr, y = sp.io.wavfile.read(MY_FILENAME)
print sr
错误: File "/usr/local/lib/python2.7/dist-packages/sc
我想要一个shell脚本,它检查声音文件的长度并检查长度是否比指定长度短。但是我一直在if语句中收到错误信息“command not found”。 #!/bin/bash
soundlength=$(soxi -D $1)
enter code here
if [$soundlength < $2]
then
# do something
fi
我猜$ soundlen