如下所示:
import scipy.io.wavfile as wavfrom python_speech_features import mfccfs, audio = wav.read("abc.wav")feature_mfcc = mfcc(audio, samplerate=fs)print(feature_mfcc)print(feature_mfcc.shape)注:python_speech_features 不存在, 通過 pip install python_speech_features 進行安裝
以上這篇利用python提取wav文件的mfcc方法就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持武林站長站。
新聞熱點
疑難解答