pyampact.speechDescriptorsUtils.compute_mfcc
- pyampact.speechDescriptorsUtils.compute_mfcc(seg, sr, n_mfcc=13, n_fft=2048, hop_length=512)[source]
Compute Mel Frequency Cepstral Coefficients (MFCCs)
- Parameters:
seg (Praat Sound Object) – segment of Sound cut around onset and offset
n_mfcc (int) – number of coefficients to return; default = 13
n_fft (int) – FFT window size; default = 2048
hop_length (int) – number of samples of analysis advances between consecutive frames; default = 512
- Returns:
mfcc – list of MFCCs
- Return type:
JSON Stringified list