利用python提取wav文件的mfcc方法
如下所示:
importscipy.io.wavfileaswav frompython_speech_featuresimportmfcc fs,audio=wav.read("abc.wav") feature_mfcc=mfcc(audio,samplerate=fs) print(feature_mfcc) print(feature_mfcc.shape)
注:python_speech_features不存在,通过pipinstallpython_speech_features进行安装
以上这篇利用python提取wav文件的mfcc方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持毛票票。