How to segment a voice signal into frames of 256 samples?
조회 수: 1 (최근 30일)
이전 댓글 표시
How to segment a voice signal into frames of 256 samples?
댓글 수: 0
채택된 답변
Honglei Chen
2013년 2월 25일
Do you mean something like this?
x = rand(1024,1);
y = buffer(x,256);
댓글 수: 5
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
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
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!