Creating dataset of different size audio samples

I want to train a Classification Neural Network to do Speech Emotion Recognition the dataset have audio samples with the emotion to each sample, I did the following:
  • resample the audio to 16khz
  • discrete wavelet transformation 'db8'
The problem the result of dwt have different length vectors to different length audio to put it into one input matrix to train the network, the padding wont work because the matrix size would be very large
any suggestions how to make all vectors of the same length or using another filter instead of dwt.
thanks in advance

 Accepted Answer

Using a different filter is not going to make any difference. Filters preserve proportional length; longer audio results in longer filtered output. You will either need to use a different strategy or you will need to pad or truncate your vectors to all be the same length.
You might want to consider using something similar to an fft transform to a fixed number of points.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 27 Nov 2015

Commented:

on 29 Nov 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!