资源简介
MATLAB的voicebox工具箱MATLAB的voicebox工具箱MATLAB的voicebox工具箱MATLAB的voicebox工具箱MATLAB的voicebox工具箱

代码片段和文件信息
function [levaffsofsx]=activlev(spfsmode)
%ACTIVLEV Measure active speech level as in ITU-T P.56 [LEVAFFSO]=(spFSMODE)
%
%Usage: (1) lev=activlev(sfs); % speech level in units of power
% (2) db=activlev(sfs‘d‘); % speech level in dB
% (3) s=activlev(sfs‘n‘); % normalize active level to 0 dB
%
%Inputs: sp is the speech signal (with better than 20dB SNR)
% FS is the sample frequency in Hz (see also FSO below)
% MODE is a combination of the following:
% r - raw omit input filters (default is 200 Hz to 5.5 kHz)
% 0 - no high pass filter (i.e. include DC)
% 4 - high pass filter at 40 Hz (but allows mains hum to pass)
% 1 - use cheybyshev 1 filter
% 2 - use chebyshev 2 filter (default)
% e - use elliptic filter
% h - omit low pass filter at 5.5 kHz
% d - give outputs in dB rather than power
% n - output a normalized speech signal as the first argument
% N - output a normalized filtered speech signal as the first argument
% l - give both active and long-term power levels
%Outputs:
% If the “n“ option is specified a speech signal normalized to 0dB will be given as
% the first output followed by the other outputs.
% LEV gives the speech level in units of power (or dB if mode=‘d‘)
% if mode=‘l‘ is specified LEV is a row vector with the “long term
% level“ as its second element (this is just the mean power)
% AF is the activity factor (or duty cycle) in the range 0 to 1
% FSO is a column vector of intermediate information that allows
% you to process a speech signal in chunks. Thus:
%
% fso=fs; for i=1:inc:nsamp [levfso]=activlev(sp(i:i+inc-1)fsomode); end
%
% is equivalent to: lev=activlev(sp(1:nsamp)fsmode)
%
% but is much slower. The two methods will not give identical results
% because they will use slightly different threshods.
%For completeness we list here the contents of the FSO structure:
%
% ffs : sample frequency
% fmd : mode string
% nh : hangover time in samples
% ae : smoothing filter coefs
% bl : 200Hz HP filter numerator
% al : 200Hz HP filter denominator
% bh : 5.5kHz LP filter numerator
% ah : 5.5kHz LP filter denominator
% ze : smoothing filter state
% zl : 200Hz HP filter state
% zh : 5.5kHz LP filter state
% zx : hangover max filter state
% emax : maximum envelope exponent + 1
% ssq : signal sum of squares
% ns : number of signal samples
% ss : sum of speech samples (not actually used here)
% kc : cumulative occupancy counts
% Copyright (C) Mike Brookes 2008
% Version: $Id: activlev.mv 1.10 2010/08/20 20:54:59 dmb Exp $
%
% VOICEBOX is a MATLAB toolbox for speech processing.
% Home page: http://www.ee.ic.ac.uk/hp/staff/dm
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 11102 2010-08-20 21:55 activlev.m
文件 1798 2007-11-23 19:47 atan2sc.m
文件 4470 2010-01-08 23:57 bark2frq.m
文件 3310 2007-05-04 08:01 bitsprec.m
文件 2474 2009-11-01 22:10 cblabel.m
文件 2018 2007-05-04 08:01 ccwarpf.m
文件 2136 2007-05-04 08:01 cep2pow.m
文件 2244 2007-05-04 08:01 choosenk.m
文件 1608 2007-05-04 08:01 choosrnk.m
文件 10285 2010-08-20 21:58 Contents.m
文件 3824 2007-05-04 08:01 distchar.m
文件 3427 2007-05-04 08:01 distchpf.m
文件 3693 2010-05-10 16:06 disteusq.m
文件 4646 2007-05-04 08:01 distisar.m
文件 3741 2007-05-04 08:01 distispf.m
文件 4175 2007-05-04 08:01 distitar.m
文件 3606 2007-05-04 08:01 distitpf.m
文件 1987 2007-05-04 08:01 ditherq.m
文件 2751 2007-05-04 08:01 dlyapsq.m
文件 2483 2007-05-04 08:01 dualdiag.m
文件 26180 2007-05-04 08:01 dypsa.m
文件 2895 2009-11-01 22:08 enfr
文件 3911 2007-05-04 08:01 entropy.m
文件 2738 2010-07-28 20:46 erb2frq.m
文件 15550 2008-05-22 18:17 estnoisem.m
文件 2466 2007-05-04 08:01 ewgrpdel.m
文件 2972 2009-09-29 22:12 figbolden.m
文件 12784 2010-01-02 17:28 filtbankm.m
文件 3512 2010-08-04 21:16 filterbank.m
文件 4207 2007-05-04 08:01 findpeaks.m
文件 2429 2008-09-24 10:58 finishat.m
............此处省略173个文件信息
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论