Apply each frame's own clipgain in the analysis scalar
This commit is contained in:
1 parent
55f14667d2
commit
7cd5c660e4
4 files changed
+178
-17
No files matched your search
+12
-6
@@ -150,7 +150,12 @@ G_{\mathrm{clip}}=
|
||||
1+\frac{y}{32}2^{x-4}.
|
||||
$$
|
||||
|
||||
It is applied to object PCM after inverse QMF and does not apply to LFE.
|
||||
It is folded into the analysis-side scalar $S=\frac{1}{16}G_{\mathrm{clip}}$, which multiplies
|
||||
every core-bed sample before the QMF analysis; the $\times16$ after the object inverse QMF cancels the
|
||||
$1/16$, so the net effect is a multiply by $G_{\mathrm{clip}}$ and the $[-1,1]$ clamp sits **after** the
|
||||
gain. The scalar keeps two per-frame slots: the first 256 samples of a frame ramp linearly from the
|
||||
previous frame's value to this frame's value and the rest stays constant, and the first frame after a
|
||||
reset takes the new value directly. LFE bypasses this scalar.
|
||||
|
||||
## 3. Parameter-band expansion and time interpolation
|
||||
|
||||
@@ -238,8 +243,9 @@ $$
|
||||
\qquad c\in\{L,R,C\}.
|
||||
$$
|
||||
|
||||
For Ls and Rs the ten-slot delay, the $-j$ rotation for $b>0$ and the band-0 21-tap
|
||||
complex FIR are all gated by the **same switch** $\sigma(k)=1\iff k\in\{3,4\}$:
|
||||
Ls and Rs take the same delay inside the surround path, whose delay line advances
|
||||
regardless; the $-j$ rotation for $b>0$ and the band-0 21-tap complex FIR are gated by
|
||||
the **same switch** $\sigma(k)=1\iff k\in\{3,4\}$:
|
||||
|
||||
$$
|
||||
\widehat X_{c,b,t}=
|
||||
@@ -251,9 +257,9 @@ X_{c,b,t-10}, & \text{otherwise}.
|
||||
$$
|
||||
|
||||
For $N=7$ the sixth and seventh core channels (Lb/Rb or Tfl/Tfr) behave like the front
|
||||
channels and only take the ten-slot delay: channel identity affects metadata and the ADM
|
||||
placement, not the DSP. These delays and filter histories are decoder state and cannot be
|
||||
reset independently for every frame.
|
||||
channels and only take the ten-slot delay: channel identity affects metadata and rendering,
|
||||
not the DSP. These delays and filter histories are decoder state and cannot be reset
|
||||
independently for every frame.
|
||||
|
||||
## 6. Object matrix
|
||||
|
||||
|
||||
+7
-4
@@ -150,7 +150,10 @@ G_{\mathrm{clip}}=
|
||||
1+\frac{y}{32}2^{x-4}.
|
||||
$$
|
||||
|
||||
它在对象 inverse QMF 之后作用于对象 PCM,不作用于 LFE。
|
||||
它并入分析端标量 $S=\frac{1}{16}G_{\mathrm{clip}}$,乘在核心 bed 的每个采样上(QMF 分析之前);
|
||||
对象 inverse QMF 之后的 $\times16$ 抵消 $1/16$,净效果是乘 $G_{\mathrm{clip}}$,因此钳位 $[-1,1]$
|
||||
处在增益**之后**。标量按帧保留两个槽,本帧前 256 个采样从上一帧值线性过渡到本帧值、之后为常数,
|
||||
复位后的第一帧直接取新值。LFE 走旁通通路,不参与该标量。
|
||||
|
||||
## 3. 参数带展开与时间插值
|
||||
|
||||
@@ -239,8 +242,8 @@ $$
|
||||
\qquad c\in\{L,R,C\}.
|
||||
$$
|
||||
|
||||
Ls、Rs 的 10 时槽延迟、$b>0$ 的 $-j$ 旋转与 band-0 的 21-tap 复 FIR 由**同一个开关**
|
||||
$\sigma(k)=1\iff k\in\{3,4\}$ 门控:
|
||||
Ls、Rs 的 10 时槽延迟在环绕通路内完成,延迟线照常推进;$b>0$ 的 $-j$ 旋转与 band-0 的
|
||||
21-tap 复 FIR 由**同一个开关** $\sigma(k)=1\iff k\in\{3,4\}$ 门控:
|
||||
|
||||
$$
|
||||
\widehat X_{c,b,t}=
|
||||
@@ -252,7 +255,7 @@ X_{c,b,t-10}, & \text{其他情况}.
|
||||
$$
|
||||
|
||||
$N=7$ 时第 6、7 个核心声道(Lb/Rb 或 Tfl/Tfr)与前级相同,只做 10 时槽延迟:
|
||||
通道身份只影响元数据与 ADM 落位,不进入 DSP。这些延迟和滤波历史属于解码状态,
|
||||
通道身份只影响元数据与渲染,不进入 DSP。这些延迟和滤波历史属于解码状态,
|
||||
不能按帧独立清零。
|
||||
|
||||
## 6. 对象矩阵
|
||||
|
||||
Reference in new issue
Block a user