unify the length of frames for several wave files

1 view (last 30 days)
hi everybody I record 5 sec for several person, then i remove the silent places, Now I want to unify the lengths of these frames again, I hear that there is a function can unify the lenght of these frames to speceific number for example 125 frames

Answers (1)

Jan
Jan on 13 Dec 2012
You can crop the longer signals, you can pad the shorter signals with zeros, you can interpolate all signals using different algorithms, you can decimate the signals. So please explain what you want with more details.
What does "frames" mean here? Sound signals with 125 elements are very short.
  1 Comment
Abdulkareem
Abdulkareem on 13 Dec 2012
sir by frames i mean block which contain 256 elements ( i recorded 5 sec wave file with sampling rate 8000 ,then i elemenated the silent places,in the result i need only 4 sec )(4*800/256=125 frames)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!