19.02.2013 Views

2010318163752818

2010318163752818

2010318163752818

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ISO/IEC 14496-3:2005(E)<br />

frames (VUV = 0). The subclauses below show how to generate the decoder parameters for back ground noise<br />

interval.<br />

2.5.9.4.1 LSP decoding<br />

In the decoder, two sets of previously transmitted LSP parameters, prevLSP1 and prevLSP2, are held.<br />

prevLSP1: transmitted LSP parameters<br />

prevLSP2: transmitted LSP parameters before prevLSP1<br />

“Background noise” mode occurs only after “unvoiced” or “background noise” mode. When the “background noise”<br />

mode is selected, LSP parameters are transmitted only when the frame is “noise update frame” (UpdateFlag = 1). If<br />

new LSP parameters are transmitted, prevLSP1 is copied to prevLSP2 and newly transmitted LSPs are copied to<br />

prevLSP1 regardless of VUV decision.<br />

LSP parameters for each frame during the “background noise” mode are generated by the interpolation between<br />

prevLSP1 and prevLSP2 using the equation:<br />

where<br />

qLsp( i)<br />

= ratio ⋅ prevLsp1(<br />

i)<br />

+ ( 1−<br />

ratio)<br />

⋅ prevLsp2(<br />

i)<br />

Li<br />

= 1..<br />

10<br />

(2.5.9.1)<br />

2 ⋅ ( bgnIntval + rnd)<br />

+ 1<br />

ratio =<br />

2 ⋅ BGN _ INTVL<br />

(2.5.9.2)<br />

qLsp(i) is the i-th LSP to be used for decoding operation of the current frame, prevLsp1(i) is the i-th LSP of<br />

prevLSP1, prevLsp2(i) is the i-th LSP of prevLSP2 ( 1 ≤ i ≤ 10). In this equation, bgnIntval is a counter which<br />

counts the number of consecutive background noise frames, and is reset to 0 at the receipt of background noise<br />

update frame. BGN_INTVL(=12) is a constant, and rnd is a randomly generated integer value between –3 and 3.<br />

If counter bgnIntval reaches BGN_INTVL, bgnIntvl is set to BGN_INTVL-1, and if the ratio obtained by the equation<br />

(2.5.9.2) is smaller than 0 or greater than 1, the value of rnd is set to 0 and ratio is recomputed.<br />

2.5.9.5 Excitation generation<br />

During the period of “background noise” mode, the Gain index (VX_gain[0]) transmitted in the noise update frame is<br />

used for all the subframes, the values of Shape index (VX_Shape1[0,1]) are randomly generated between 0 and<br />

NUM_SHAPE_L0-1. These excitation parameters are used with the interpolated LSP parameters as described<br />

above to generate the signals of background noise mode.<br />

LSP index<br />

UpdateFlag<br />

V/UV/BGN<br />

Celp Gain Index<br />

Inverse VQ of LSP Interpolation for BGN<br />

Random Number<br />

Generator<br />

Figure 2.15 — Additional diagram for variable rate decoder<br />

LSP Interpolation for UV<br />

Celp Shape Index<br />

60 © ISO/IEC 2005 — All rights reserved

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!