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

 Réponse acceptée

Walter Roberson
Walter Roberson le 27 Nov 2015

1 vote

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.

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by