孤立词0-9的语音识别代码+报告


模式识别的一个作业,里面有报告和仿真,适合去交作业不适合做项目
资源截图
代码片段和文件信息
function ComCep=Cfeature(str)
%=========================================================================%
%功能:提取语音信号倒谱特征
%输入str:语音信号路径
%输出ComCep:返回语音信号的倒谱特征矩阵
%=========================================================================%
x=audioread(str);                         %读取wav文件
x=filter([1 -0.9375] 1 x);            %预加重处理
A=enframe(x256128);                   %分帧
[x]=size(A1);                          %计算分帧后的帧数
for i= 1:x
    R(i:)=A(i:)‘.*hamming(256);       %加窗
end
%%计算短时能量
%En=sum(R.^22);
%figureplot(En);
%Mn=sum(abs(R)2);
%figuresubplot(211);plot(Mn);
%sgn1=R(:1:end-1);
%sgn2=R(:2:end);
%Zn=1/2*sum(abs(sgn2-sgn1)2);
% subplot(212);plot(Zn);
%[x1x2] = ddjc(MnZn);
%CCep=(rceps(R))‘;
for i=1:x
    CCep(i:)=ifft(log(abs(fft(R(i:))))); %基于同态处理的倒谱特征系数计算
end
% for i=1:Ix
%     R_1(i:)=fft(R(i:));
%     R_2(i:)=log(sqrt(real(R_1(i:)).*real(R_1(i:))+imag(R_1(i:)).*imag(R_1(i:))));
%     CCep(i:)=ifft(R_2(i:));
%  end
%=========================================================================%
ComCep=CCep(:1:12);                        %取每一帧倒谱的前12个点
return

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件      200819  2019-04-25 20:08  基于矢量量化的孤立词语音识别系统设计.docx
     目录           0  2018-12-14 21:16  模式识别仿真sounds
     文件        1224  2018-12-14 20:21  模式识别仿真soundsCfeature.m
     文件         672  2015-04-05 10:19  模式识别仿真soundsenframe.m
     文件         765  2015-06-22 21:45  模式识别仿真soundsmindis.m
     文件       43625  2018-12-14 21:03  模式识别仿真soundsmydata.mat
     文件        1799  2018-12-16 18:04  模式识别仿真sounds
ecogfinal.m
     目录           0  2018-12-16 18:01  模式识别仿真soundssounds
     目录           0  2018-12-14 20:53  模式识别仿真soundssounds_9testsounds
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(1).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(10).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(2).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(3).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(4).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(5).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(6).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(7).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(8).wav
     文件       34618  2009-08-27 21:46  模式识别仿真soundssounds_9testsounds(9).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(1).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(10).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(2).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(3).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(4).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(5).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(6).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(7).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(8).wav
     文件       33850  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds1(9).wav
     文件       39994  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds2(1).wav
     文件       39994  2009-08-27 21:45  模式识别仿真soundssounds_9testsounds2(10).wav
............此处省略181个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)