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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? estnoisem.m

?? 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品国产三级国产aⅴ入口| 日韩国产欧美在线播放| 亚洲欧美日韩小说| 久久99精品久久久久婷婷| 91理论电影在线观看| 久久婷婷久久一区二区三区| 亚洲最新视频在线观看| 国产成人小视频| 日韩欧美在线影院| 亚洲一二三区在线观看| 成人性生交大片免费| 精品久久国产老人久久综合| 日韩精品久久久久久| 91黄色免费版| 中文成人综合网| 国产一区二三区好的| 日韩欧美在线一区二区三区| 日日摸夜夜添夜夜添亚洲女人| 色婷婷综合在线| 中文字幕在线不卡一区| 国产高清久久久久| 久久综合av免费| 蜜臀av国产精品久久久久| 欧美午夜视频网站| 亚洲乱码国产乱码精品精可以看| 成人国产一区二区三区精品| 国产无一区二区| 国产成人亚洲精品青草天美| 久久精品亚洲乱码伦伦中文| 国产综合一区二区| 久久免费看少妇高潮| 精品写真视频在线观看| 久久一区二区三区四区| 韩日av一区二区| 国产亚洲福利社区一区| 懂色一区二区三区免费观看| 国产日韩精品一区二区三区| 国产91精品入口| 中文字幕日本不卡| 色呦呦一区二区三区| 一区二区成人在线视频 | 中文天堂在线一区| 国产成人免费视频一区| 中文一区一区三区高中清不卡| 国产盗摄精品一区二区三区在线| 国产日产欧美精品一区二区三区| 99在线精品免费| 一区二区高清免费观看影视大全| 欧美日韩一二区| 国产综合一区二区| 中文字幕一区不卡| 欧美午夜宅男影院| 韩国av一区二区三区四区 | 国产乱码精品一区二区三区av | 亚洲成人激情综合网| 日韩一区二区精品葵司在线| 国产一区二区视频在线| 亚洲三级视频在线观看| 欧美性猛片xxxx免费看久爱| 免费成人美女在线观看| 亚洲欧洲日本在线| 欧美军同video69gay| 国产成人精品免费在线| 亚洲高清免费一级二级三级| xvideos.蜜桃一区二区| 色综合激情久久| 国产一区二区三区黄视频| 亚洲欧美韩国综合色| 久久嫩草精品久久久久| 欧美日韩一区精品| 成人精品国产免费网站| 丝袜美腿一区二区三区| 国产精品乱码人人做人人爱| 欧美年轻男男videosbes| 国产精品亚洲第一| 三级成人在线视频| 国产精品国产馆在线真实露脸| 8x福利精品第一导航| 99久久国产综合色|国产精品| 美女在线一区二区| 亚洲欧美日韩成人高清在线一区| 精品国产网站在线观看| 91久久精品日日躁夜夜躁欧美| 国产一区二区主播在线| 日本午夜一本久久久综合| 亚洲黄色小视频| 国产精品毛片久久久久久久| 日韩三级视频中文字幕| 欧美日韩免费高清一区色橹橹| 国产伦理精品不卡| 久久精品久久综合| 日日夜夜精品视频天天综合网| 亚洲欧美日本韩国| 国产精品久久久久久妇女6080| 久久亚洲一级片| 欧美成人综合网站| 91精品国产一区二区| 欧美猛男男办公室激情| 欧洲一区二区av| 色综合久久中文字幕| 成人动漫一区二区在线| 高清视频一区二区| 国产v日产∨综合v精品视频| 精品系列免费在线观看| 久久超级碰视频| 日本不卡在线视频| 免费一区二区视频| 另类小说色综合网站| 麻豆91在线播放免费| 日韩av成人高清| 天堂影院一区二区| 三级精品在线观看| 蜜臀国产一区二区三区在线播放 | 中文字幕亚洲一区二区va在线| 中文字幕 久热精品 视频在线| 国产片一区二区三区| 久久综合丝袜日本网| 26uuu精品一区二区在线观看| 久久久久久久久蜜桃| 久久日一线二线三线suv| 久久综合狠狠综合久久激情| 国产欧美在线观看一区| 国产清纯美女被跳蛋高潮一区二区久久w| 久久伊人蜜桃av一区二区| 国产日韩高清在线| 亚洲精品乱码久久久久| 亚洲一区二区三区在线看| 日韩国产欧美在线播放| 国产美女在线精品| 成人免费不卡视频| 在线亚洲+欧美+日本专区| 欧美卡1卡2卡| 久久久不卡网国产精品二区| 中文字幕一区三区| 亚洲激情图片qvod| 男男成人高潮片免费网站| 国产精品18久久久久久vr| 不卡一区中文字幕| 欧美美女bb生活片| 久久久蜜桃精品| 久久精品99久久久| 粉嫩13p一区二区三区| 91精品1区2区| 日韩免费福利电影在线观看| 国产精品三级av在线播放| 亚洲黄色小视频| 久久99精品久久久| 色吊一区二区三区| 精品动漫一区二区三区在线观看| 亚洲视频免费观看| 免费的成人av| 日本韩国视频一区二区| 日韩视频一区二区| 亚洲女厕所小便bbb| 激情五月婷婷综合| 色偷偷久久人人79超碰人人澡| 日韩一区二区三区免费看| 亚洲欧美自拍偷拍色图| 日韩精品免费视频人成| 99九九99九九九视频精品| 精品少妇一区二区| 亚洲一级电影视频| 成人午夜视频网站| 欧美成人国产一区二区| 亚洲自拍偷拍综合| 国产·精品毛片| 欧美精品一区男女天堂| 婷婷中文字幕综合| 一本到高清视频免费精品| 久久蜜桃一区二区| 美女视频一区在线观看| 91成人免费电影| 国产精品久久久久久亚洲伦| 久久成人免费网| 欧美一区二区视频在线观看2022| 亚洲欧洲综合另类在线| 国产成人在线电影| 久久久久久久久岛国免费| 美国十次了思思久久精品导航| 欧美影片第一页| 丁香婷婷综合网| 久久一夜天堂av一区二区三区| 日韩电影在线观看一区| 欧美乱妇一区二区三区不卡视频| 亚洲老司机在线| 91福利视频网站| 亚洲精品久久久蜜桃| 一本到一区二区三区| 亚洲日本在线天堂| 99视频精品在线| 国产精品日产欧美久久久久| 国产成人免费在线| 国产精品美女久久久久高潮| 国产成人精品三级| 国产精品乱人伦| 一本大道综合伊人精品热热| 亚洲天堂av老司机| 日本精品视频一区二区| 亚洲成人动漫在线观看| 欧美日韩成人综合天天影院|