python读取音频的时长

import librosa
filepath = “test.wav”
d=librosa.get_duration(filename=filepath)
print(d)

猜你喜欢

转载自blog.csdn.net/weixin_44885180/article/details/115868730