Dividing speech signal into short-time segments?

2 次查看(过去 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:

采纳的回答

Baltam
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
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 CenterFile Exchange 中查找有关 AI for Audio 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by