首页 > 编程 > Python > 正文

利用python提取wav文件的mfcc方法

2019-11-25 13:31:07
字体:
来源:转载
供稿:网友

如下所示:

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方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持武林网。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表