资源简介
基于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调制
相关资源
- SVR算法程序可运行
- 计算机图形学 边填充算法实现代码
- 福建师范大学历年算法考卷
- 栈的实现及应用,六种基本算法
- Bresenham算法绘制线段并利用“橡皮筋
- 介绍几种压缩算法及《笨笨数据压缩
- 改进的BP神经网络算法
- A星算法_原理讲解_例子
- 云模型的相关算法cloud
- 旋转矩阵求欧拉角的简单算法
- 栅栏填充算法源码(VC)
- RSA算法源码
- 关联分析Apriori算法实现
- [免费]relax算法成像
- 操作系统 LRU算法 实验报告 及 程序代
- 分治法快速排序算法QuickSort C
- 现代谱估计算法 music ESPRIT 谐波分解
- MUSIC算法c 实现
- 007出纳管理系统 v7[1].5.94 算法注册机
- 克鲁斯卡尔算法C和C 实现代码
- capon波束形成算法-VC实现
- QGA 量子遗传算法
- 利用OpenGL写毛笔字算法
- 带头结点的单链表的c算法实现
- 自适应隐写算法wow
- 协同过滤算法源码
- RSA AES DES ECC加密算法源码
- 密码学课程设计:DES加密解密算法的
- 北航人工智能原理课大作业源代码,
- A*算法的2D演示(带源码)
评论
共有 条评论