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!