✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
⛄ 内容介绍
语音识别技术是一门综合性交叉学科,经过近40年的继续研究,现已形成比较完善的基础理论体系.目前对语音识别技术的研究主要集中在实际应用方面.语音识别技术为当今信息社会提供了人机交互的典型解决方案,必将对人们的生活和生产带来革命性的变革.语音识别技术可以应用到社会的各个行业和各个方面中.考虑到近几年语音识别技术的迅猛发展和广阔的市场背景,本论文研究了一种能对特定词进行识别的孤立词语音识别系统. 论文介绍了语音识别系统开发的完整过程,分析设计了前端预处理,端点检测和特征参数提取的原理和算法,重点介绍了所设计的带噪声端点检测算法,MEL频率倒谱系数(MFCC)特征参数提取算法,并针对所设计的算法进行了相应的仿真,仿真结果完全满足了系统性能的设计要求.
⛄ 部分代码
function f=enframe(x,win,inc)
%ENFRAME split signal up into (overlapping) frames: one per row. F=(X,WIN,INC)
%
% F = ENFRAME(X,LEN) splits the vector X up into
% frames. Each frame is of length LEN and occupies
% one row of the output matrix. The last few frames of X
% will be ignored if its length is not divisible by LEN.
% It is an error if X is shorter than LEN.
%
% F = ENFRAME(X,LEN,INC) has frames beginning at increments of INC
% The centre of frame I is X((I-1)*INC+(LEN+1)/2) for I=1,2,...
% The number of frames is fix((length(X)-LEN+INC)/INC)
%
% F = ENFRAME(X,WINDOW) or ENFRAME(X,WINDOW,INC) multiplies
% each frame by WINDOW(:)
% Copyright (C) Mike Brookes 1997
% Version: $Id: enframe.m,v 1.3 2005/02/21 15:22:12 dmb Exp $
%
% VOICEBOX is a MATLAB toolbox for speech processing.
% Home page: http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You can obtain a copy of the GNU General Public License from
% ftp://prep.ai.mit.edu/pub/gnu/COPYING-2.0 or by writing to
% Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
nx=length(x);
nwin=length(win);
if (nwin == 1)
len = win;
else
len = nwin;
end
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),:));
if (nwin > 1)
w = win(:)';
f = f .* w(ones(nf,1),:);
end
⛄ 运行结果
⛄ 参考文献
[1] 韦春丽, 霍春宝. 基于DTW的语音识别在MATLAB中的实现方法浅析[J]. 数字技术与应用, 2011(12):2.
[2] 陈新锐, 黄理. 基于MATLAB的DHMM、DTW和CHMM语音识别算法的对比研究[J]. 计算机光盘软件与应用, 2013(4):2.
[3] 陈锡锻, 王瑞, 肖雄,等. 基于DTW算法语音识别系统的仿真及DSP实现[J]. 电声技术, 2013(12):4.
[4] 张培玲, 成凌飞. 基于MATLAB的汉语数字语音识别系统[J]. 机械管理开发, 2011(4):3.
[5] 杨熙. 基于DTW改进算法的孤立词语音识别仿真与分析[J]. 湖南科技学院学报, 2015, 36(10):2.