语音特征提取(语谱图Spectrogram,Fbank, MFCC, 及其delta-一阶差分)——python代码
导入相关包importosimportwavioimportnumpyasnpimportmathfrommatplotlibimportpyplotaspltfromscipy.fftpackimportdctfrompython_speech_featuresimportmfcc,delta,logfbank读取语音数据及主函数forwavinwavs:wav_dir=os.path.join