Creating dataset of different size audio samples

4 views (last 30 days)
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

Walter Roberson
Walter Roberson on 27 Nov 2015
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 AI for Signals and Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!