P4: decode FUN_180529fe0 mono-path exactly + extract live mask tables
Full decomp of the per-band mask-apply loop (scale -> IIR1/2/3 leaky ->
blend -> exp2 bigkernel -> combine/accumulate -> dual warp -> dry/wet -> FFT-conv).
Extracted runtime tables to rt_mask_tables.{hpp,cpp}: IIR A1/B1,A2/B2,A3/B3
(leaky y=A*acc+B*x, B=1-A), warp 0x5406a8, per-band 0x540768, PRNG LUT 0x5408b0.
bigkernel 0x26b820 = vectorized exp2 (log2e/floor/mantissa tables). Fixed the
broken warp line in framed_model.cpp (compiles again).
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// rt_mask_tables.hpp — runtime mask-apply tables captured from live snapshot
|
||||
// (snap_rt.bin, ctx 0x2370040, SR=48000/N=4096). Bit-exact mask chain (FUN_180529fe0).
|
||||
// IIR stage: y = A[i]*acc + B[i]*x (first-order leaky, B = 1 - A).
|
||||
#pragma once
|
||||
|
||||
extern const double kIIR_A1[];
|
||||
extern const double kIIR_B1[];
|
||||
extern const double kIIR_A2[];
|
||||
extern const double kIIR_B2[];
|
||||
extern const double kIIR_A3[];
|
||||
extern const double kIIR_B3[];
|
||||
extern const float kWarp[];
|
||||
extern const float kBand768[];
|
||||
extern const float kPRNGLut[];
|
||||
Reference in New Issue
Block a user