speech_data.mfcc batch generator error code example
Example: compute mfcc python
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')