资源简介
基于DTW算法的语音识别原理与实现(附源码)
代码片段和文件信息
% enframe.m
function f=enframe(xwininc)
%ENframe split signal up into (overlapping) frames: one per row. F=(XWININC)
%
% F = ENframe(XLEN) 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(XLENINC) has frames beginning at increments of INC
% The centre of frame I is X((I-1)*INC+(LEN+1)/2) for I=12...
% The number of frames is fix((length(X)-LEN+INC)/INC)
%
% F = ENframe(XWINDOW) or ENframe(XWINDOWINC) multiplies
% each frame by WINDOW(:)
% Copyright (C) Mike Brookes 1997
% Version: $Id: enframe.mv 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(nflen);
indf= inc*(0:(nf-1)).‘;
inds = (1:len);
f(:) = x(indf(:ones(1len))+inds(ones(nf1):));
if (nwin > 1)
w = win(:)‘;
f = f .* w(ones(nf1):);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 438272 2009-09-07 22:05 基于DTW算法的语音识别原理与实现.doc
文件 46906 2009-08-27 21:33 myVoice\test\01.wav
文件 64570 2009-08-27 21:35 myVoice\test\11.wav
文件 59962 2009-08-27 21:36 myVoice\test\21.wav
文件 59194 2009-08-27 21:36 myVoice\test\31.wav
文件 36922 2009-08-27 21:37 myVoice\test\41.wav
文件 46906 2009-08-27 21:38 myVoice\test\51.wav
文件 37690 2009-08-27 21:38 myVoice\test\61.wav
文件 36922 2009-08-27 21:39 myVoice\test\71.wav
文件 38458 2009-08-27 21:40 myVoice\test\81.wav
文件 43834 2009-08-27 21:41 myVoice\test\91.wav
文件 33850 2009-08-27 21:45 myVoice\train\10.wav
文件 39994 2009-08-27 21:45 myVoice\train\20.wav
文件 40762 2009-08-27 21:44 myVoice\train\30.wav
文件 34618 2009-08-27 21:44 myVoice\train\40.wav
文件 33850 2009-08-27 21:43 myVoice\train\50.wav
文件 36922 2009-08-27 21:43 myVoice\train\60.wav
文件 35386 2009-08-27 21:42 myVoice\train\80.wav
文件 47674 2009-08-27 21:42 myVoice\train\90.wav
文件 34618 2009-08-27 21:46 myVoice\train\00.wav
文件 41530 2009-08-27 21:42 myVoice\train\70.wav
文件 4547 2009-08-27 20:43 myVoice\vad.m
文件 361 2009-08-27 00:17 myVoice\train.m
文件 1265 2009-08-27 00:02 myVoice\mfcc.m
文件 1542 2009-08-27 00:20 myVoice\dtw.m
文件 177130 2009-08-27 21:46 myVoice\mfcc.mat
文件 656 2009-08-27 22:04 myVoice\dtwtest.m
文件 2207 2009-08-07 17:25 enfr
目录 0 2009-08-26 23:27 myVoice\test
目录 0 2009-08-26 23:27 myVoice\train
............此处省略4个文件信息
- 上一篇:交通信号灯模拟控制的设计
- 下一篇:跳频信号-BPSK调制
相关资源
- 《数据结构及算法经典》源代码.
- 3D图像算法从入门到进阶包含C实现
- 激光加工系统扫描振镜畸变校正算法
- Anyligic与遗传算法
- 模糊神经网络,结合模糊算法与神经
- 匹配追踪MP、正交匹配追踪算法OMP,稀
- 基于加速遗传算法的投影寻踪聚类模
- 带约束处理的粒子群算法,简明清晰
- 八数码 算法流程图.vsdx
- 二值图像的轮廓提取以及跟踪算法
- 粒子群算法 实现 最短路径
- 天津理工大学,操作系统实验报告*
- 大数据挖掘算法代码
- 改进鸟群算法源码(1).rar
- 3维RRT避障路径规划算法
- 决策树算法.rar
- 基于后投影算法穿墙雷达成像
- 深度强化学习的交叉熵优化与策略优
- 利用Qt实现的N皇后算法
- 用遗传算法求解线性规划问题
- A_StarSearch.rar
- 改进的自适应遗传算法和粒子群算法
- 模糊PID控制算法
- A星算法代码QT运行
- Scratch数学问题.rar
- 页面置换算法实验报告
- 拓扑排序------打印输出计算机本科专
- ntru 加密算法开源C实现
- 卡尔曼滤波算法流程
- 基于序列检验和Viterbi的检测前跟踪算
评论
共有 条评论