亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? estnoisem.m

?? voice box tool box for matlab
?? M
?? 第 1 頁 / 共 2 頁
字號:
function [x,zo,xs]=estnoisem(yf,tz,pp)
%ESTNOISEM - estimate noise spectrum using minimum statistics
% Inputs:
%   yf      input power spectra (one row per frame)
%   tz      frame increment in seconds
%           Alternatively, the input state from a previous call (see below)
%   pp      algorithm parameters [optional]
%
% Outputs:
%   x       estimated noise power spectra (one row per frame)
%   zo      output state
%   xs      estimated std error of x (one row per frame)
%           xs seems often to be an underestimate by a factor of 2 or 3
%
% The algorithm parameters are defined in reference [1] from which equation
% numbers are given in parentheses. They are as follows:
%
%        pp.taca      % (11): smoothing time constant for alpha_c [0.0449 seconds]
%        pp.tamax     % (3): max smoothing time constant [0.392 seconds]
%        pp.taminh    % (3): min smoothing time constant (upper limit) [0.0133 seconds]
%        pp.tpfall    % (12): time constant for P to fall [0.064 seconds]
%        pp.tbmax     % (20): max smoothing time constant [0.0717 seconds]
%        pp.qeqmin    % (23): minimum value of Qeq [2]
%        pp.qeqmax    % max value of Qeq per frame [14]
%        pp.av        % (23)+13 lines: fudge factor for bc calculation  [2.12]
%        pp.td        % time to take minimum over [1.536 seconds]
%        pp.nu        % number of subwindows to use [3]
%        pp.qith      % Q-inverse thresholds to select maximum noise slope [0.03 0.05 0.06 Inf ]
%        pp.nsmdb     % corresponding noise slope thresholds in dB/second   [47 31.4 15.7 4.1]
%
% Example use:      y=enframe(s,w,ni);                  % divide speech signal s(n) into
%                                                       % overlapping frames using window w(n)
%                   yf=rfft(y,nf,2);                    % take fourier transform
%                   dp=estnoisem(yf.*conj(yf),tinc);    % estimate the noise
%
% If convenient, you can call estnoisem in chunks of arbitrary size. Thus the following are equivalent:
%
%                   (a) dp=estnoisem(yp(1:300),tinc);
%
%                   (b) [dp(1:100),z]=estnoisem(yp(1:100),tinc);
%                       [dp(101:200),z]=estnoisem(yp(101:200),z);
%                       [dp(201:300),z]=estnoisem(yp(201:300),z);


% This is intended to be a precise implementation of [1] with Table III
% replaced by the updated table 5 from [2]. The only deliberate algorithm
% change is the introduction of a minimum value for 1/Qeq in equation (23).
% This change only affects the first few frames and improves the
% convergence of the algorithm. A minor improveemnt was reported in [3] but
% this has not yet been included.
%
% Refs:
%    [1] Rainer Martin.
%        Noise power spectral density estimation based on optimal smoothing and minimum statistics.
%        IEEE Trans. Speech and Audio Processing, 9(5):504-512, July 2001.
%    [2] Rainer Martin.
%        Bias compensation methods for minimum statistics noise power spectral density estimation
%        Signal Processing, 2006, 86, 1215-1229
%    [3] Dirk Mauler and Rainer Martin
%        Noise power spectral density estimation on highly correlated data
%        Proc IWAENC, 2006

%	   Copyright (C) Mike Brookes 2008
%      Version: $Id: estnoisem.m,v 1.1 2008/05/22 17:17:02 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
%   http://www.gnu.org/copyleft/gpl.html or by writing to
%   Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[nr,nrf]=size(yf);          % number of frames and freq bins
x=zeros(nr,nrf);            % initialize output arrays
xs=zeros(nr,nrf);           % will hold std error in the future
if isempty(yf) && isstruct(tz)             % no real data
    zo=tz;              % just keep the same state
else
    if isstruct(tz)       % take parameters from a previous call
        nrcum=tz.nrcum;
        p=tz.p;          % smoothed power spectrum
        ac=tz.ac;               % correction factor (9)
        sn2=tz.sn2;              % estimated noise power
        pb=tz.pb;               % smoothed noisy speech power (20)
        pb2=tz.pb2;
        pminu=tz.pminu;
        actmin=tz.actmin;   % Running minimum estimate
        actminsub=tz.actminsub;           % sub-window minimum estimate
        subwc=tz.subwc;                   % force a buffer switch on first loop
        actbuf=tz.actbuf;  % buffer to store subwindow minima
        ibuf=tz.ibuf;
        lminflag=tz.lminflag;      % flag to remember local minimum
        tinc=tz.tinc;     % frame increment
        qq=tz.qq;         % parameter structure
    else
        tinc = tz;          % second argument is frame increment
        nrcum=0;            % no frames so far
        % default algorithm constants

        qq.taca=0.0449;    % smoothing time constant for alpha_c = -tinc/log(0.7) in equ (11)
        qq.tamax=0.392;    % max smoothing time constant in (3) = -tinc/log(0.96)
        qq.taminh=0.0133;    % min smoothing time constant (upper limit) in (3) = -tinc/log(0.3)
        qq.tpfall=0.064;   % time constant for P to fall (12)
        qq.tbmax=0.0717;   % max smoothing time constant in (20) = -tinc/log(0.8)
        qq.qeqmin=2;       % minimum value of Qeq (23)
        qq.qeqmax=14;      % max value of Qeq per frame
        qq.av=2.12;             % fudge factor for bc calculation (23 + 13 lines)
        qq.td=1.536;       % time to take minimum over
        qq.nu=8;           % number of subwindows
        qq.qith=[0.03 0.05 0.06 Inf]; % noise slope thresholds in dB/s
        qq.nsmdb=[47 31.4 15.7 4.1];

        if nargin>=3 && ~isempty(pp)
            qqn=fieldnames(qq);
            for i=1:length(qqn)
                if isfield(pp,qqn{i})
                    qq.(qqn{i})=pp.(qqn{i});
                end
            end
        end
    end

    % unpack parameter structure

    taca=qq.taca;    % smoothing time constant for alpha_c = -tinc/log(0.7) in equ (11)
    tamax=qq.tamax;    % max smoothing time constant in (3) = -tinc/log(0.96)
    taminh=qq.taminh;    % min smoothing time constant (upper limit) in (3) = -tinc/log(0.3)
    tpfall=qq.tpfall;   % time constant for P to fall (12)
    tbmax=qq.tbmax;   % max smoothing time constant in (20) = -tinc/log(0.8)
    qeqmin=qq.qeqmin;       % minimum value of Qeq (23)
    qeqmax=qq.qeqmax;      % max value of Qeq per frame
    av=qq.av;             % fudge factor for bc calculation (23 + 13 lines)
    td=qq.td;       % time to take minimum over
    nu=qq.nu;           % number of subwindows
    qith=qq.qith; % noise slope thresholds in dB/s
    nsmdb=qq.nsmdb;   % maximum permitted +ve noise slope in dB/s

    % derived algorithm constants

    aca=exp(-tinc/taca); % smoothing constant for alpha_c in equ (11) = 0.7
    acmax=aca;          % min value of alpha_c = 0.7 in equ (11) also = 0.7
    amax=exp(-tinc/tamax); % max smoothing constant in (3) = 0.96
    aminh=exp(-tinc/taminh); % min smoothing constant (upper limit) in (3) = 0.3
    bmax=exp(-tinc/tbmax); % max smoothing constant in (20) = 0.8
    snrexp = -tinc/tpfall;
    nv=round(td/(tinc*nu));    % length of each subwindow in frames
    if nv<4            % algorithm doesn't work for miniscule frames
        nv=4;
        nu=max(round(td/(tinc*nv)),1);
    end
    nd=nu*nv;           % length of total window in frames
    [md,hd]=mhvals(nd); % calculate the constants M(D) and H(D) from Table III
    [mv,hv]=mhvals(nv); % calculate the constants M(D) and H(D) from Table III

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情中文字幕| 亚洲尤物视频在线| 久久66热re国产| 色老汉av一区二区三区| 国产农村妇女精品| 风间由美中文字幕在线看视频国产欧美| 91精品国产品国语在线不卡| 图片区日韩欧美亚洲| 91免费国产视频网站| 中文字幕中文字幕在线一区| av一区二区三区四区| 亚洲欧美一区二区在线观看| av资源网一区| 亚洲天堂精品在线观看| 色诱视频网站一区| 亚洲一区二区三区在线播放| 成人av网站免费| 久久精品综合网| 91在线一区二区三区| 亚洲精品中文字幕在线观看| 在线视频欧美区| 日韩和欧美的一区| 久久综合久久综合久久综合| 国产乱码精品1区2区3区| 国产精品拍天天在线| 东方欧美亚洲色图在线| 亚洲欧洲精品天堂一级| 欧美日韩国产一区| 日韩一区二区三区在线视频| 久久99热这里只有精品| 国产清纯美女被跳蛋高潮一区二区久久w | 91香蕉视频在线| 综合久久久久综合| 69成人精品免费视频| 国产一区视频在线看| 1000部国产精品成人观看| 在线欧美日韩国产| 精品一区二区三区在线播放视频| 欧美国产欧美亚州国产日韩mv天天看完整| 精久久久久久久久久久| 亚洲国产经典视频| 精品视频资源站| 国产美女av一区二区三区| 亚洲精品亚洲人成人网| 精品日韩在线观看| 91亚洲资源网| 奇米一区二区三区| 国产欧美一区二区三区网站| 日本韩国一区二区三区视频| 精品一区二区免费视频| 中文字幕在线不卡国产视频| 制服视频三区第一页精品| 成人的网站免费观看| 午夜精品在线视频一区| 精品久久久久久无| 色成年激情久久综合| 国产一区视频网站| 日韩精品视频网站| 亚洲人成在线播放网站岛国| 日韩欧美激情在线| 欧美性一二三区| 不卡的av中国片| 韩国v欧美v日本v亚洲v| 亚洲一区国产视频| 国产精品动漫网站| 久久婷婷成人综合色| 欧美人动与zoxxxx乱| 国产精品亚洲人在线观看| 亚洲国产精品久久艾草纯爱 | 精品第一国产综合精品aⅴ| 欧美性猛交xxxx黑人交| 成人涩涩免费视频| 久久99精品国产.久久久久| 国产精品成人一区二区三区夜夜夜 | 久久中文字幕电影| 欧美嫩在线观看| 在线观看免费亚洲| 91蜜桃网址入口| 99精品在线免费| 99re免费视频精品全部| 99精品久久99久久久久| 奇米亚洲午夜久久精品| 日韩国产高清影视| 亚洲国产精品欧美一二99| 亚洲老妇xxxxxx| 亚洲欧美日韩在线不卡| 亚洲色欲色欲www| 久久青草欧美一区二区三区| 欧美成人激情免费网| 欧美一区二区三区四区五区| 欧美日韩一区不卡| 欧美丰满美乳xxx高潮www| 欧美最新大片在线看| 色综合久久99| 精品视频一区三区九区| 欧美三片在线视频观看| 欧美日韩在线免费视频| 欧美视频一区二区三区| 91官网在线观看| 欧美三级电影在线观看| 欧美日韩国产精品成人| 欧美精品日韩一区| 欧美一二区视频| 欧美变态凌虐bdsm| 久久精品夜色噜噜亚洲a∨| 日本一区二区成人在线| 日本一区二区三区四区| 亚洲色欲色欲www| 亚洲午夜激情网页| 日韩激情一区二区| 韩国女主播一区二区三区| 日韩精品高清不卡| 韩国成人精品a∨在线观看| 顶级嫩模精品视频在线看| 不卡免费追剧大全电视剧网站| 色视频欧美一区二区三区| 色婷婷av一区二区三区大白胸| 欧美色国产精品| 欧美成人精品3d动漫h| 国产精品高潮呻吟| 激情五月婷婷综合| 色婷婷av一区二区三区大白胸| 日韩欧美123| 一区二区三区欧美亚洲| 国产一区福利在线| 欧美日韩免费一区二区三区 | 久久久久国产精品人| 最新国产精品久久精品| 免费成人性网站| 91色视频在线| 国产日韩欧美亚洲| 青娱乐精品视频在线| 色综合久久久久综合体| 久久久久亚洲蜜桃| 蜜桃91丨九色丨蝌蚪91桃色| 色久综合一二码| 国产精品嫩草影院av蜜臀| 久热成人在线视频| 欧美日韩色综合| 亚洲女爱视频在线| 成人污视频在线观看| 精品国一区二区三区| 午夜私人影院久久久久| 91免费观看视频| 国产精品国产a级| 国产99一区视频免费| 久久综合色之久久综合| 日韩不卡一区二区| 欧美日韩在线不卡| 亚洲国产精品久久久久秋霞影院 | 国产ts人妖一区二区| 欧美成人猛片aaaaaaa| 日本大胆欧美人术艺术动态| 欧美色综合天天久久综合精品| 中文字幕一区不卡| 成人午夜短视频| 国产精品麻豆99久久久久久| 国产精品一二三区在线| 国产日韩精品一区二区浪潮av| 国产一区不卡在线| 久久天堂av综合合色蜜桃网| 精品一区免费av| 欧美精品一区二区久久久| 麻豆国产欧美日韩综合精品二区| 欧美一级片在线看| 免费成人深夜小野草| 日韩欧美国产一区二区三区 | 99re亚洲国产精品| 国产精品国产精品国产专区不片 | 91官网在线观看| 亚洲国产成人91porn| 欧美日韩情趣电影| 美洲天堂一区二卡三卡四卡视频| 9191成人精品久久| 麻豆91精品91久久久的内涵| 久久综合九色综合久久久精品综合| 激情深爱一区二区| 国产日本欧洲亚洲| 福利一区二区在线| **欧美大码日韩| 在线观看亚洲精品| 美腿丝袜亚洲一区| 久久久www免费人成精品| 成人午夜电影小说| 一区二区三区高清不卡| 欧美精品v国产精品v日韩精品| 男女男精品视频网| 久久精品一区二区三区不卡| 99久久精品久久久久久清纯| 亚洲线精品一区二区三区八戒| 欧美肥胖老妇做爰| 国产成人aaa| 一区二区三区精密机械公司| 日韩一级片在线观看| 国产盗摄精品一区二区三区在线| 亚洲超碰97人人做人人爱| 日韩久久久久久| 成人av在线一区二区三区| 亚洲午夜精品一区二区三区他趣| 欧美成人伊人久久综合网|