⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 genexcnull.m

📁 ITU-T G.723.1 Speech Coder: Matlab implementation This package implements the speech coder and de
💻 M
字号:
function [es, DecoderMem] = GenExcNull (DecoderMem, DecoderPar)% Null frame decoder% $Id: GenExcNull.m 1.5 2004/08/07 G.723.1-v2r1a $CNGpar = DecoderPar.CNGpar;% Gain calculationSIDGain = DecoderMem.CNG.SIDGain;GainP = DecoderMem.CNG.Gain;FModeP = DecoderMem.CNG.FModeP;if (FModeP == 0 | FModeP == 1 | FModeP == 2)  % Previous: normal transmitted frame  % Special code here: normally should never get here directly from one  % of those modes; should always pass through SID or null frame. If we  % arrive here, it is because a PLC frame has intervened.  GainT = SIDGain;else                                           % Previous: SID or null  a = CNGpar.GFactor;  GainT = (1 - a) * GainP + a * SIDGain;  endDecoderMem.CNG.SIDGain = SIDGain;DecoderMem.CNG.Gain = GainT;% Generate a CNG frame[es, DecoderMem] = GenExcCNG (GainT, DecoderMem, DecoderPar);return

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -