![]() |
语音识别的分帧程序有问题,求高手帮忙!!
%利用矩形窗对语音数据进行分帧的函数
%输入 %x语音数据 %win窗口长度 %inc窗口每次移动的长度 %输出 %f矩阵,每列表示一帧数据 function f=enframe(x,win,inc) nx=length(x(:)); len=win; if(nargin<3) inc=len; end nf=fix((nx-len+inc)/inc); f=zeros(nf,len); indf=inc*(0:(nf-1)).'; inds=(1:len); f(:)=x(indf(:,ones(1,len))+inds(ones(nf,1),:)); 他说x不能是double |
所有时间均为北京时间。现在的时间是 14:18。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.