📜  计算 mfcc python 代码示例

📅  最后修改于: 2022-03-11 14:45:07.495000             🧑  作者: Mango

代码示例1
import librosa
audio_path = 'audio-path.wav'

x , sr = librosa.load(audio_path)

mfccs = librosa.feature.mfcc(x, sr=sr)
print(mfccs.shape) #Displaying  the MFCCs:
librosa.display.specshow(mfccs, sr=sr, x_axis='time')