mfcc

aligner.features.processing.mfcc(mfcc_directory, num_jobs, feature_config, frequency_configs)[source]

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.

Parameters:
mfcc_directory : str

Directory to save MFCC feature matrices

log_directory : str

Directory to store log files

num_jobs : int

The number of processes to use in calculation

mfcc_configs : list of MfccConfig

Configuration object for generating MFCCs

Raises:
CorpusError

If the files per speaker exceeds the number of files that are allowed to be open on the computer (for Unix-based systems)