MFCC in Speech Recognition and ANN I have a dataset with over 2000 examples of digits (0 to 9) recorded on wav files. I'm trying to process these files with MFCC so that later I could train an Artificial Neural Network (ANN).

My problem is that ANNs requires, each sample of data, to have the same size, and every single tool I tried (HTK, Matlab and others..), generates outputs of different sizes. 

This is probably due to the fact that some digits take more time to be pronounced than others. But how could I deal with this? Should I crop then in order to force them to have the same size? Or should I concatenate all of them with '0's, which would also make them with the same size?

I got stuck with the implementation, any suggestion is welcome
You might try padding the shorter (and even the longer) speech samples with a wide range of different (but realistic) background noise environments to create a larger training set (all to an equal training input size).  This might allow the DNN to be trained to be more robust at inference in noise.

You might even want to add variations of noise and a range of slight time-pitch variations to all your dataset samples to enlarge your training set.