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

 채택된 답변

Walter Roberson
Walter Roberson 2015년 11월 27일

1 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2015년 11월 27일

댓글:

2015년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by