Dividing speech signal into short-time segments?
3 次查看(过去 30 天)
显示 更早的评论
Hi all. I created a speech signal in Matlab. I need to divide speech signal into short-time segments with lengths 150 samples. Later I will process each segment to determine if it is voiced or unvoiced, and pitch period for voiced speechs. Here is the info:
0 个评论
采纳的回答
Baltam
2016-4-12
If your sound signal is a vector, try to use reshape. For example from the info I understand that your sound signal would be a vector with 72000 elements which you want to divide in groups of 150.
SeperatedSoundSignal = reshape(soundSignal,150,72000/150);
This will convert your vector into 72000/150 columns which have each 150 elements/samples.
Kind regards, Baltam
6 个评论
SSV
2019-10-13
Hi, I have a doubt in case if we couldnt make it as a square matrix then what is the alternative way?
In my case I have 112456x1 , I need to do the segmentation for 600 samples per segment .
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 AI for Audio 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!