mfcc(mfcc_directory, num_jobs, feature_config)¶
Multiprocessing function that converts wav files into MFCCs
See http://kaldi-asr.org/doc/feat.html and http://kaldi-asr.org/doc/compute-mfcc-feats_8cc.html for more details on how MFCCs are computed.
Also see https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/steps/make_mfcc.sh for the bash script this function was based on.
- mfcc_directory : str
Directory to save MFCC feature matrices
- num_jobs : int
The number of processes to use in calculation
- feature_config :
Configuration object for generating MFCCs
If the files per speaker exceeds the number of files that are allowed to be open on the computer (for Unix-based systems)