How to segment a voice signal into frames of 256 samples?

조회 수: 1 (최근 30일)
Anurag Pujari
Anurag Pujari 2013년 2월 25일
댓글: Walter Roberson 2019년 9월 9일
How to segment a voice signal into frames of 256 samples?

채택된 답변

Honglei Chen
Honglei Chen 2013년 2월 25일
Do you mean something like this?
x = rand(1024,1);
y = buffer(x,256);
  댓글 수: 5
Walter Roberson
Walter Roberson 2019년 9월 9일
Saad Rehman comments to Honglei Chen:
for matlab 2016a version FRAMING is done via BUFFER function. Thumbs up!
Walter Roberson
Walter Roberson 2019년 9월 9일
To recover the original signal after using buffer, use the (:) operator
buffered_signal = buffer(inputsignal, length_of_buffer);
reconstructed_signal = buffered_signal(:);
This assumes that no padding was needed and that there was no overlap used. If padding was needed then to reconstruct the original you would need to know the length of the original.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

guada
guada 2014년 3월 16일
i think i also have a similar problem, could you also please help me with this: given a with 7.238 second duration and fs=16000, i need 25 msec per frame and overlaps 10 msec every succesive frame.

sufyan masood
sufyan masood 2018년 7월 23일
how to decompose audio signal in transfered domain ?

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by