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

📄 decodeacbsf.m

📁 ITU-T G.723.1 Speech Coder: Matlab implementation This package implements the speech coder and de
💻 M
字号:
function [L, b] = DecodeACBSF (ACBLC, ACBbIB, PMode, LPrev, Pitchpar)% Decode adaptive codebook parameters for one subframe% $Id: DecodeACBSF.m 1.1 2004/07/09 G.723.1-v2r1a $if (PMode == 1)  L = ACBLC + Pitchpar.PMin(PMode);  if (L > Pitchpar.PMax(PMode))    error ('DecodeACB: Forbidden pitch lag');  endelse  ACBLI = ACBLC + 1;  L = LPrev + Pitchpar.LOffs{PMode}(ACBLI);end% Determine the pitch coefficient vector / codebook indicesbI = ACBbIB(1);CBookI = ACBbIB(2);if (bI > size (Pitchpar.b{CBookI}, 2))  error ('DecodeACB: Invalid gain index');end% Pitch coefficient vectorb = Pitchpar.b{CBookI}(:,bI);return

⌨️ 快捷键说明

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