资源简介
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个文件信息
相关资源
- 基于小波阈值对语音信号降噪处理M
- 支持向量机非线性回归通用matlab程序
- 基于云模型的花卉特征提取matlab源代
- matlab仿真IMM算法
- 混合高斯建模加meanshift算法matlab代码
- matlab软件gossiping仿真
- FIR数字滤波器的设计和实现
- matlab2012a 破解license文件,亲测有效
- 基于meanshift的图像分割matlab代码
- MATLAB 2017a的licence文件,证书文件
-
matlab simuli
nk zigbee信号仿真 - KPCA(经典的MATLAB程序)
- AP聚类Matlab程序
- 贝叶斯方法matlab画图GUI界面
- matlab进行CRC编解码
- matlab图像修复
- matlab实现m-rife算法
- Matlab在系统辨识中的应用
- matlab 动态规划的实现
- MATLAB版超级玛丽源代码
- AODV MATLAB 实现
- 粒子滤波算法实现的目标被动跟踪m
- 模糊控制器的matlab设计步骤
- HSV查找颜色特征代码MATLAB
- 基于matlab的图像纹理特征提取
- 径向基函数建模程序,matlab
- RGB直方图-matlab
- 张正友标定matlab源代码
- matlab小程序
- matlab迭代学习笔记(专门适合刘卫国
评论
共有 条评论