mfcc

aligner.multiprocessing.mfcc(mfcc_directory, log_directory, num_jobs, mfcc_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_directorystr

Directory to save MFCC feature matrices

log_directorystr

Directory to store log files

num_jobsint

The number of processes to use in calculation

mfcc_configslist 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)