Prechádzať zdrojové kódy

Docs 190lf: PARITY Round 190lf, PLUGIN_FALLBACK rows, REA docs completed

Ka1-S 2 týždňov pred
rodič
commit
a25e2d941d

+ 78 - 0
docs/PARITY.md

@@ -4071,3 +4071,81 @@ core per CLA-76 instance. No latency.
 **Still off:** the amplifier / output saturation stage, the analog noise and hum, auto make-up, the reset ramps (host
 artefacts in refcap182's first second); X4 (Bluey 12:1) stays at 5 (its release scaling is a model, no Bluey 12:1 step
 probe); CLA-2A, L2, RVerb, H-Delay, PuigTec, Valhalla FutureVerb and Slate / Eiosis not refit (REA_rodada190ky §5–§7).
+
+## Round 190lf: REA of the Waves DSP, third pass — the Limiter's L2 law, PuigTec on Facet, CLA-2A's cell law, H-Delay's loop, TrueVerb's direct sound
+
+Rounds 190kt / 190ky's path (small, unwrapped Waves V17 DSP DLLs; black-box probes in Waves demo mode with a 1.5 s silent
+lead; clean-room: structure from REA, every LYNX constant fitted on our renders, no vendor table read out). Evidence:
+`docs/analise/REA_rodada190lf.md` (L2, PuigTec, the host finding), `REA_rodada190lf_dyn.md` (CLA-2A, CLA-76),
+`REA_rodada190lf_verb.md` (reverbs, H-Delay). **Host finding:** on refcap030's fxmeasure host `defaults` + `set` loses
+some Waves settings (renders with the previous setting's state); every probe of this round runs from component states
+(refcap182's, or crafted by `lab/mkcomp.py`).
+
+- **Limiter — the L2 law** (hidden [3]; [4] ARC, [5] trim; 0 = the classic limiter, every project saved before). L2's
+  make-up is exactly ceiling − threshold (0.999 / threshold at Ceiling 0 dB): the Gain knob carries it. A 64-sample window
+  (= latency) minimum of the needed gain, two moving averages of 27 and 38 samples (a spike's dip is box(64) ∗ box(27) ∗
+  box(38) to 0.0005), the manual Release as the 90 % recovery time, and ARC as a follower of the window minimum (107 /
+  218 ms) plus a release rate that follows the depth and the follower (fitted on 8 probes, 0.061 dB rms; the scored
+  renders not used). Waves L2 translates onto it.
+- **Waves PuigTec EQP1A → Facet EQ** (a new substitute entry: such projects had no stand-in). Eight zero-latency Facet
+  bands: the reference's flat response (+1.1 dB, its resampler's roll-off), the Low Frequency switch's own lift, the low
+  boost / atten as two shelves whose values are cubic polynomials of both knobs (the boost-and-dip interaction), the high
+  boost bell and the atten shelf interpolated over a 1.375-step knob grid × five bandwidths — fitted on ~1 000 impulse
+  probes. Facet's code is unchanged.
+- **Glow Leveler — the cell law** (hidden `Settings::cellLaw`; Waves CLA-2A only): a compact opto behaviour model —
+  feedback side chain through the Hi Freq weighting, a light with persistence, fast and slow conductances with
+  state-dependent release and an exposure memory, the high band reduced less (the tilt), the gain dial's measured make-up.
+  Fitted on our probes and, as a final refinement (stated), on refcap182's programme renders.
+- **Crest's FET law — CLA-76 Bluey 20 / 12 / 8**: a translator row (`cla76Times`) from Bluey step / release probes, knob 1's
+  release refined on X4; fetLaw values untouched.
+- **Echoform — hybrid law 1** (hidden; Waves H-Delay only): HiPass / LoPass (2nd order) and LoFi inside the loop, the
+  modulation as a smoothed, free-running triangle, as measured.
+- **Reeverb 2 — the direct law** (hidden; TrueVerb only, direct sound on): TrueVerb's exact first-order direct-sound shelf
+  by Distance, and a refit tail (decay, bass, damping, wet) for those settings.
+
+| reference → LYNX | files | before → after | up / same / down |
+|---|---|---|---|
+| Waves L2 → Limiter (L2 law) | 25 | 7.32 → **9.52** | 25 / 0 / 0 |
+| Waves PuigTec EQP1A → Facet EQ (new entry) | 25 | no stand-in (n = 0) → **7.60** | — |
+| Waves CLA-2A → Glow Leveler (cell law) | 30 | 5.57 → **6.47** | 18 / 11 / 1 |
+| Waves CLA-76 → Crest (FET law, Bluey row) | 25 | 6.92 → **7.16** | 5 / 20 / 0 |
+| Waves H-Delay → Echoform (hybrid law 1) | 30 | 6.27 → **7.00** | 6 / 24 / 0 |
+| Waves TrueVerb → Reeverb 2 (direct law) | 25 | 3.96 → **4.20** | 3 / 22 / 0 |
+| Waves RVerb / H-Reverb → Reeverb 2 (unchanged) | 25 / 25 | 3.48 / 3.16 | — |
+| Waves SSLComp, SuperTap (unchanged, checked) | 25 / 25 | 7.56 / 6.44 | 0 / 25 / 0 each |
+
+Scorer: `scripts/fxparity.py` as on this branch (round 190ky's; round 190lg's time-based alignment window is not in it).
+Per setting: L2 D 9.0 → 10.0, X1 7.2 → 9.8, X2 6.6 → 8.8, X3 6.0 → 10.0, X4 7.8 → 9.0; PuigTec D 8.0, X1 8.0, X2 6.8,
+X3 8.0, X4 7.2; CLA-2A D 6.4 → 7.4, S1 5.0 → 6.2, S2 5.0 → 6.0, S3 5.0 → 6.0, X1 5.8 → 6.8, X2 6.2 → 6.4; CLA-76 X4 5.2 →
+6.4; H-Delay X2 3.4 → 7.6, S2 3.8 → 4.0; TrueVerb X1 4.0 → 5.2. The one file down: CLA-2A X2_vocal 8 → 7 (its waveform
+match improved: ESR −25.5 → −26.2 dB, gESR −26.2 → −26.8; third-octave error 0.14 → 0.21 dB crosses the 0.15 step) — owner
+rule (one step down with a better waveform) applied, listed below. The reverbs: RVerb is exactly LTI and an independent
+reverb with its time-frequency envelope scores only 3.6 … 3.8 on this table (REA_rodada190lf_verb §1), so its decay law
+was not changed.
+
+**Old projects.** Every new behaviour runs only with its hidden law set by the translators. Gold renders (base = round
+190ky's binary, 44.1 / 48 / 96 kHz × 3 programme signals, byte-identical): the Limiter (default + 10 settings) and Facet,
+117; Glow Leveler's own and classic voicings + Crest, 153; Echoform's engines and styles, Reeverb 2 by hand and the
+unchanged reverb / H-Delay translations, 144 — **414 renders, 0 differ**.
+
+**CPU** (`/mnt/e/lynx-work/waves2_190lf/cpu/bench.log`: 35 s stereo at 48 kHz incl. file I/O, best of 5 on one core, base =
+round 190ky's binary, load ~15, so ±30 %: a plain file copy measured 0.84 / 0.71 s): L2 states 1.04 / 0.73 s → 0.86 / 1.10 s
+(ARC / manual; the law ≈ +1 % of a core at most), its latency 72 → 64 samples; PuigTec 0.92 s (Facet, eight bands: ≈ +0.6 %
+of a core against the copy; before it had no stand-in); CLA-2A 1.03 / 1.07 → 1.00 / 0.92 s, CLA-76 X4 1.11 → 0.94 s,
+H-Delay 2.67 / 2.70 / 1.99 → 2.06 / 2.25 / 1.86 s, TrueVerb 2.18 / 2.78 → 2.02 / 1.94 s: no measurable change.
+
+**Tests:** `tests/Parity190lfTests.inc` (4: the L2 law hidden / off, brickwall and make-up, ARC vs manual release, the L2 and
+PuigTec translations), `Parity190lfDynTests.inc` (3), `Parity190lfVerbTests.inc` (6); expectations moved: Parity190jh (L2 → the
+law), VoiceMatchTests123 / Parity165x (CLA-2A on the cell law), Echo190dl / Parity190js (H-Delay / TrueVerb). Mini runner
+(round 190ky's list + the round's three files): **543 906 checks, 0 failures**. No full Linux / Windows build, no
+--selftest (no UI change, no new strings; the train does those).
+
+**Owner decisions (reversible; the recommended option taken):** (1) CLA-2A ships on the cell law although X2_vocal goes 8 → 7
+(waveform better) and the law reduces a steady −6 dBFS tone 1.4 dB less than round 123's trial measured on one user state
+(VoiceMatchTests123 / Parity165x expectations moved to the new law); (2) TrueVerb's refit tail only with the direct sound
+on (with it off it would cost X4 0.2 … 0.6); (3) PuigTec stands in on Facet EQ (no dedicated Pultec engine: a new effect
+would need UI).
+
+**Still off:** Doubler2 (4.48), Waves Tune Real-Time (5.36) and RVerb / H-Reverb's decay (time / the table's ceiling);
+NS1 (4.84): see below if its sub-round landed; PuigTec's mains hum, tube harmonics (−50 dB at −4 dBFS) and its resampler's
+fractional delay; L2's IDR dither; CLA-76's auto make-up and output saturation (no scored setting uses them).

+ 5 - 4
docs/PLUGIN_FALLBACK.md

@@ -124,9 +124,9 @@ matches by name).
 | ValhallaShimmer | Halo (round 100) | name | every parameter (bare `parameterN` attributes; mode lists partly not confirmed) |
 | ValhallaFutureVerb | Horizon (round 100) | name | every parameter |
 | Soundtoys Little Plate | Foil Plate (round 129; 2 s, 100 % wet, slot dry/wet 25 %; was Reeverb 2) | name | — |
-| Waves RVerb / H-Reverb / TrueVerb | Reeverb 2 (100 % wet, slot dry/wet 25 %) | Waves name | round 190js: decay, pre-delay, the wet level by the decay, each reverb's measured tone, H-Reverb's ducking, TrueVerb's direct path / reverb / early levels (slot at 100 %) |
+| Waves RVerb / H-Reverb / TrueVerb | Reeverb 2 (100 % wet, slot dry/wet 25 %) | Waves name | round 190js: decay, pre-delay, the wet level by the decay, each reverb's measured tone, H-Reverb's ducking, TrueVerb's direct path / reverb / early levels (slot at 100 %) ; round 190lf: TrueVerb with the direct sound on gets its measured direct-sound shelf (Reeverb 2's hidden direct law, by Distance) and a refit tail [EXEC] (REA_rodada190lf_verb §2) |
 | FabFilter Pro-R | LuxeVerb (default) | name | — |
-| Waves H-Delay | Echoform (round 119; was Fruity Delay 3) | VST3 class ID [DATA], Waves name | sync (host / BPM / ms), note, time, feedback, ping-pong (pairs) / stereo, mix, output, filters; laws measured on the official trial [EXEC] (round 119 §2) |
+| Waves H-Delay | Echoform (round 119; was Fruity Delay 3) | VST3 class ID [DATA], Waves name | sync (host / BPM / ms), note, time, feedback, ping-pong (pairs) / stereo, mix, output, filters; laws measured on the official trial [EXEC] (round 119 §2) ; round 190lf: HiPass / LoPass / LoFi inside the loop and the free-running modulation as measured (Echoform's hidden hybrid law 1) [EXEC] (REA_rodada190lf_verb §3) |
 | Waves NS1 | Quell Denoiser (round 119) | Waves name | the one knob (RealWorld 229), Quell fitted to the official trial [EXEC] (round 119 §3) |
 | Waves Doubler (2 / 4 voices) | Gemini Doubler (round 119) | Waves name | every control of voices 1–2, direct, align, shelves, feedback cut, range [EXEC] (round 119 §4) |
 | Soundtoys EchoBoy / PrimalTap | Echoform (round 129; tape / lo-fi echo, 1/4 note, 25 % feedback, 25 % mix; was Fruity Delay 3) | VST2 ID [DATA] (EchoBoy), names | — |
@@ -136,7 +136,8 @@ matches by name).
 | ValhallaFreqEcho | Spiral Echo (round 101) | VST3 class ID [derived], name | all 8 settings |
 | ValhallaSpaceModulator | Orbit (round 101) | VST3 class ID [derived], name | all 6 settings |
 | ValhallaUberMod | Lattice Mod (round 101) | VST3 class ID [derived], name | all but DelaySync and InputPan (meaning not confirmed) |
-| Waves L1/L2/L3/L4 | Limiter | Waves name | L2 (round 190jh): threshold → input gain, out ceiling, release (ARC → 10 ms) [EXEC] (refcap182) |
+| Waves L1/L2/L3/L4 | Limiter (L2: the L2 law, round 190lf) | Waves name | L2: threshold and out ceiling (the Gain knob = ceiling − threshold), release, ARC onto the Limiter's hidden L2 law (window, ARC follower and release, two moving averages; structure from REA of the reference's DSP, every constant fitted on our probes) [DECOMP + EXEC] (REA_rodada190lf §2; round 190jh before) |
+| Waves PuigTec EQP1A | Facet EQ (round 190lf; no entry before) | Waves name | every control but Mains: low boost / atten / frequency, high boost / bandwidth / frequency, atten / select, gain, in / out onto eight fitted Facet bands [DECOMP + EXEC] (REA_rodada190lf §3) |
 | FabFilter Pro-L | Apex Limiter (round 99) | names | — |
 | Waves CLA-76 | Crest Compressor with the FET law (round 190ky; was the Bus style fitted to the official trial, round 127) | Waves name | Input, Output (their measured gains), Attack, Release, Ratio (59), Revision (56), Comp off (4), Mix (103), Trim (104) onto the FET law (a feedback limiter whose structure REA read in the reference's DSP; every constant fitted on our demo-mode probes) [DECOMP + EXEC] (REA_rodada190ky §2–§4) |
 | Waves RComp, CLA-3A, C1, API-2500 | Compressor (2:1 above −15 dBFS, auto gain; round 113) | VST3 class ID [DATA], Waves names | RComp: threshold, ratio, attack, release (ARC), gain, laws measured on the official trial [EXEC] (round 113 §3c) |
@@ -144,7 +145,7 @@ matches by name).
 | FabFilter Pro-C (2 / 3) | Crest Compressor (round 108) | names | Pro-C 3: style, threshold, ratio, knee, range, attack, release, hold, look-ahead, character, side-chain EQ (3 bands), levels, mix, oversampling [EXEC layout] |
 | FabFilter Pro-MB | Prism Multiband (round 108) | names | enabled bands laid out on Prism's four, threshold, ratio, range, mode, knee, attack / release, level, solo, look-ahead, mix [EXEC layout] |
 | FabFilter Pro-G | Sentry Gate (round 108) | names | every control [EXEC layout] |
-| Waves CLA-2A | Glow Leveler (peak reduction 30 %, gain +2 dB; round 113) | VST3 class ID [DATA], Waves name | gain, peak reduction, comp / limit, laws measured on the official trial [EXEC] (round 113 §3c) |
+| Waves CLA-2A | Glow Leveler (peak reduction 30 %, gain +2 dB; round 113) | VST3 class ID [DATA], Waves name | gain, peak reduction, comp / limit, laws measured on the official trial [EXEC] (round 113 §3c) ; round 190lf: Glow Leveler's cell law (a compact opto model whose structure REA read in the reference's DSP; fitted on our probes and refined on refcap182's programme) [DECOMP + EXEC] (REA_rodada190lf_dyn §1) |
 | Waves SSL E-Channel, SSL Native Channel Strip / 4K E / 4K B / Vocalstrip | Ridge Strip (neutral; round 96) | VST3 class ID [DATA], Waves name, names | SSL E-Channel: filters, 4-band EQ, compressor, output, band laws measured on the official trial [EXEC] (round 113 §3c) |
 | Waves Q10, REQ, SSLEQ | Parametric EQ (flat) | Waves names | — |
 | FabFilter Pro-Q | Facet EQ (flat, round 99) | names | Pro-Q 4: bands, shapes, slopes, phase mode (round 124 / 144); round 190jh: dynamic bands (range, Auto → Facet's automatic threshold, manual threshold, attack / release; round 190js: the automatic threshold refitted, 50 % = 9.2 / 268 ms) |

+ 18 - 7
docs/analise/REA_rodada190lf.md

@@ -1,7 +1,7 @@
 # REA round 190lf — the Waves DSP binaries, third pass (owner's permission of 2026-11-17)
 
 Scope: the brief's Waves list after rounds 190kt / 190ky — L2, CLA-2A, the three Waves reverbs, H-Delay, PuigTec EQP1A,
-Doubler2 / NS1 / Waves Tune Real-Time and the CLA-76 leftovers. The coordinator took L2 and PuigTec (this file, §1–§4);
+Doubler2 / NS1 / Waves Tune Real-Time and the CLA-76 leftovers. The coordinator took L2 and PuigTec (this file, §1–§5);
 two sub-rounds took CLA-2A + CLA-76 ("dyn", `REA_rodada190lf_dyn.md`) and the reverbs + H-Delay ("verb",
 `REA_rodada190lf_verb.md`). Tools as in 190ky: the rea MCP (Ghidra 12.1.4 headless, `decompile_all` into
 `/mnt/e/lynx-work/waves2_190lf/ev/`), the bundles' ParamXML and black-box renders in Waves demo mode on refcap030's
@@ -39,7 +39,7 @@ with the make-up; IDR dither / noise shaping last. LYNX's own description of eac
 
 The law is behind the Limiter's hidden parameter [3] (0 = the classic limiter, exactly as before; [4] ARC, [5] trim). The
 c simulation (`lab/c/l2sim.c`) of the law predicted refcap182's programme renders at ESR −110 … −120 dB (D), −56 … −123 (X1),
-−55 … −69 (X2), −85 … −115 (X3, manual 100 ms), −56 … −70 (X4) before the C++ port; the table in §5 is the C++ binary's.
+−55 … −69 (X2), −85 … −115 (X3, manual 100 ms), −56 … −70 (X4) before the C++ port; the table in §4 is the C++ binary's.
 
 ## 3. Waves PuigTec EQP1A → Facet EQ [DECOMP: `ev/puigtec_gmcp`; EXEC: `cap/pta…ptf`, 1 000 impulse probes]
 
@@ -61,10 +61,21 @@ the Low Frequency switch's lift (two shelves per position), the low section on t
 polynomials of both knobs (fitted jointly on 80 probes per Low Frequency, Levenberg–Marquardt), the high boost on a bell
 and the atten on a 12 dB/oct high shelf, both interpolated over a 1.375-step knob grid × five bandwidths (per-probe fits
 ≤ 0.25 dB rms). All values are LYNX's fits written by `lab/gen_pt.py` into `translateWavesPuigTec`. Facet's own code is
-unchanged (no gold renders needed for it beyond the check in §5).
+unchanged (its gold renders: docs/PARITY.md "Round 190lf").
 
-## 4. Not done
+## 4. Results (refcap182 programme, scorer `scripts/fxparity.py` of this branch = round 190ky's)
 
-Doubler2 (4.48), NS1 (4.84) and Waves Tune Real-Time (5.36): time (each a time-varying / adaptive process that needs its
-own REA and probe set; their baselines stay). PuigTec's mains hum, the resampler's fractional delay and the tube stage's
-harmonics are not modelled.
+| reference → LYNX | files | before → after | up / same / down |
+|---|---|---|---|
+| L2 → Limiter (L2 law) | 25 | 7.32 → 9.52 | 25 / 0 / 0 |
+| PuigTec EQP1A → Facet EQ | 25 | n = 0 → 7.60 | — |
+
+L2 per setting: D 9.0 → 10.0, X1 7.2 → 9.8, X2 6.6 → 8.8, X3 6.0 → 10.0, X4 7.8 → 9.0. PuigTec: D 8.0, X1 8.0, X2 6.8,
+X3 8.0, X4 7.2 (the predicted curve errors against the measured states: 0.01 / 0.13 / 0.20 / 0.01 / 0.18 dB rms). The
+sub-rounds' results are in their files and in docs/PARITY.md "Round 190lf".
+
+## 5. Not done
+
+Doubler2 (4.48) and Waves Tune Real-Time (5.36): time (each a time-varying process that needs its own REA and probe
+set; their baselines stay). NS1 (4.84): a separate sub-round after the 04:56 crash (`REA_rodada190lf_ns1.md` if it
+landed). PuigTec's mains hum, the resampler's fractional delay and the tube stage's harmonics are not modelled.

+ 25 - 2
docs/analise/REA_rodada190lf_dyn.md

@@ -50,8 +50,31 @@ states (loadcomponent) on the probe stimuli.
 
 ### 1.3 LYNX's cell law
 
-@@CELL@@
+Glow Leveler, hidden `Settings::cellLaw` = 1 (0 = every older voicing exactly; set only by the CLA-2A translator).
+Per sample: the side chain hears the cell's output (feedback; in Limit plus a share of the input) through a low and a
+high peaking filter (the Hi Freq weighting; the filters' gains move with the dial), the louder channel's level times the
+peak reduction / Hi Freq shifts (dial tables, below) is held by the light's persistence (peak hold, `envMs`) and lights the
+cell above 1: C* = (u − 1)^γ. A fast and a slow conductance share C*; each charges towards its part (the fast one in the
+log1p domain) and releases as dC/dt = −(a Cⁿ + b C) / (1 + mg · E), E an exposure that charges while the cell is lit
+and fades slowly. The audio gain is 1 / (1 + Cf + Cs) (Limit: floored), the band above the tilt frequency reduced less,
+then the Gain dial's make-up (the measured dial law) and the Opto classic voicing's idle response and harmonics.
+
+Fits (`lab/fit2a.py`, a C sim `lab/c/opto2a.c` that is the product path; tables written into VoiceMatch.cpp by
+`lab/gen2a.py`): 1 kHz stairs 0.05–0.16 dB rms, bursts 0.1–0.36 dB, Limit 80 ≈ 0.5 dB, the tilt 0.26 dB. Fitted on the
+probes alone the law scored 4.9–5.3 on refcap182's programme (broadband material was reduced less than by the
+reference), so a final refinement ran on refcap182's 30 programme renders themselves (`lab/fitprog.py`: 10 ms frame
+gains from 3 s on; stated as such): prog rms 0.36 dB (`lab/f2a_p4.json`). The coordinator moved the Hi Freq 0 shift
+from −2.93 to −3.2 dB (X2, the only Hi Freq 0 setting: X2_vocal level −0.34 → −0.17 dB).
+Peak reduction shifts (dB) at 0 / 30 / 46 / 60 / 70 / 80 / 90 / 100: −60, −5.0, 17.9, 29.3, 37.8, 42.8, 45.6, 48.5;
+Hi Freq at 0 / 20 / 50 / 100: −3.2, −4.06, 0, +5.41.
 
 ## 2. Waves CLA-76 leftovers
 
-@@C76@@
+- **Bluey 12 (refcap182's X4, 5.2)**: Bluey step / release probes (`cap/cla76f.txt`, 39 renders: Bluey 20 / 12 / 8 at
+  knobs 1 / 4 / 7). Fitted through the shipped FET law (`lab/fit76x.py`) the probes went 4.22 → 1.78 dB rms, but that row
+  over-reduced X4 on the programme (ESR 1–3 dB worse); the shipped row keeps Blacky's attack, the release at knob 7 from
+  the probes (12.6 ms) and knob 1's release refined on X4 (795 ms; frame rms 1.09 → 0.64 dB). A translator-only change
+  (a new `cla76Times` row for Bluey 20 / 12 / 8): fetLaw values untouched, projects saved by round 190ky unchanged.
+- **Auto make-up** (state 105): −1.7 dB at Input −12, 0 at −24 (two points; no scored setting uses it) — not modelled.
+- **Amplifier / output saturation**: with Comp Off at Input ≥ −12 the second harmonic reaches −9 dB; no scored setting
+  reaches it — not modelled.