Forráskód Böngészése

Ridge Strip 32C voicing (Harrison 32Classic EQ law) and Lustrous Plates translator

Ridge Strip gets a 32C voicing: Ridge's own engine with the EQ law measured in round 190lb
on the Harrison 32Classic trial (first-order shelves, matched bells at the dial with Q(|gain|),
matched 12 dB/oct filters to 3.15 kHz / 160 Hz) and the original's own dial scales. A hidden
parameter (saved only while on) with its own panel switch, reached by name through
hiddenEffectParamIndex. The Harrison 32C translation now uses it: tp172c H32_eq 5.36 -> 9.99,
all 302 files 5.88 -> 8.54, none down; old projects bit-identical (666 renders).

Lustrous Plates states (plain JUCE ValueTree) translate to Foil Plate on round 190ca's
physical fit (Classic law): refcap182 programme wave 1.55 -> 2.20, tail 4.00 -> 6.07, none down.

New strings: "32C console" in all 14 tables. Tests: Harrison190leTests.inc.
Ka1-S 2 hete
szülő
commit
7d53c71d3b

+ 52 - 1
docs/PARITY.md

@@ -55,7 +55,7 @@ there.
 | Ridge Strip (4K) | SSL 4K E | 9 | 8 | 6 | 8 | 148 | tp172c4: the 4K compressor blends its measured ratio nodes in log slope (10:1 acted like ~100:1; S4 6 dB too deep): fxparity 5.4 → 6.0; 190lb: its Black / Orange high-pass is 18 dB/oct (K4E_ir): 24 changed files 4.67 → 6.25, none down |
 | Ridge Strip (4K) | SSL 4K B | 8 | 8 | 5 | 8 | tp172c | tp172c4: its stepped compressor (out / 2 / 4 / 10 : 1 / ds, stepped releases) read as the 4K's near-limiting curve with the measured knee offsets, its threshold-only auto make-up, its gentler mic pre: fxparity 3.5 → 5.2 |
 | Ridge Strip (4K) | SSL 4K G | 8 | 8 | 5 | 8 | tp172c | tp172c4: its ±18 / ±20 / ±22 dB dials scaled onto the 4K's ±15 (same curves), its deeper slow compressor: fxparity 4.4 → 5.1; its Pink EQ type still plays as Black; 190lb (black-box): its Pink EQ measured on its own (the default colour; proportional-Q bells, resonant shelves, no bell on LF / HF), both colours its 18 dB/oct high-pass, uncramped low-pass and 1.1108 ceiling: all 594 files 5.17 → 6.26 (249 up / 2 down, owner decision in BLACKBOX_rodada190lb §11) |
-| Ridge Strip | Harrison 32Classic Channel Strip | 7 | 6 | 4 | 8 | tp172c | tp172c5: its state translated (was Ridge's defaults): EQ shelves / bells / filters fitted on the trial's impulse grid (a mid out of Ridge's band range moves to a free neighbour), the compressor's static line (the dial - 2 dB RMS, the Limiter ~1.8 dB lower, under -40 dBFS through the input trim), its auto make-up law, gate / expander: fxparity 3.0 → 4.5 (EQ bank 2.8 → 5.4, dynamics 3.8 → 5.5, make-up 3.6 → 6.6); tp172c6: its saturator on Ridge's new DRIVE section (Saturate model, the dial's -24 .. +24 dB shifting the measured clip curve): 32C 4.5 → 5.2 (saturator bank 5.3); tp172c10: its compressor's 27.5 dB reduction cap as a hidden Ridge parameter set by the translation (the original has no control for it): dynamics bank 5.5 → 6.2; tp172c11: its attack dial as a real time constant (hidden Ridge parameter), release time constants from the stair decay (0.25 / 0.35 / 1.6 s at 50 / 104 / 351.5 ms, half in Limiter mode): dynamics bank 6.2 → 6.7, make-up bank 6.7 → 6.6, 32C 5.2 = 5.2 |
+| Ridge Strip | Harrison 32Classic Channel Strip | 7 | 6 | 4 | 8 | tp172c | tp172c5: its state translated (was Ridge's defaults): EQ shelves / bells / filters fitted on the trial's impulse grid (a mid out of Ridge's band range moves to a free neighbour), the compressor's static line (the dial - 2 dB RMS, the Limiter ~1.8 dB lower, under -40 dBFS through the input trim), its auto make-up law, gate / expander: fxparity 3.0 → 4.5 (EQ bank 2.8 → 5.4, dynamics 3.8 → 5.5, make-up 3.6 → 6.6); tp172c6: its saturator on Ridge's new DRIVE section (Saturate model, the dial's -24 .. +24 dB shifting the measured clip curve): 32C 4.5 → 5.2 (saturator bank 5.3); tp172c10: its compressor's 27.5 dB reduction cap as a hidden Ridge parameter set by the translation (the original has no control for it): dynamics bank 5.5 → 6.2; tp172c11: its attack dial as a real time constant (hidden Ridge parameter), release time constants from the stair decay (0.25 / 0.35 / 1.6 s at 50 / 104 / 351.5 ms, half in Limiter mode): dynamics bank 6.2 → 6.7, make-up bank 6.7 → 6.6, 32C 5.2 = 5.2; 190le: its EQ in Ridge's new **32C voicing** (the exact law of BLACKBOX_rodada190lb §4: first-order shelves, matched bells at the dial with Q(|gain|), matched 12 dB/oct filters to 3.15 kHz / 160 Hz; its own dials): EQ bank 5.36 → 9.99 (curve error 1.15 → 0.00 dB rms, filters 8.3 / 9.0 → 0.01 / 0.00 dB), all 302 files 5.88 → 8.54 (206 up, 0 down) |
 | Ridge Strip | Harrison MPC Channel Strip | 7 | 6 | 5 | 8 | tp172c | tp172c5: its 8 bands onto Ridge's 4 (shelves on LF / HF, the bells on the free slots), the 12 dB/oct filters on the 32C's laws, its compressor's measured line and knee: fxparity 4.6 → 5.5 (dynamics bank 3.8 → 6.6, EQ bank 1.9 → 3.2: band-pass / notch shapes, Q under 0.5 and ±19 dB gains are outside Ridge's bands; open for this release: no new Ridge bands or plugin) |
 | Kiln Channel (Console E / G / A / N / Y, Tube) | Slate VCC Channel | 7 | 7 | 7 | 8 | tp172c7 | tp172c7: its own plugin (was Ridge's DRIVE section): a compact dark single-channel console like the original (amber VU, console selector with the six models round it, Input / Output, Drive, Group, Noise reduction and Group bypass keys, main In / Out columns with meters), own art and emblem; the same measured drive stages; its noise floor per console (NR off: E / G -113.9, A -110.0, N -109.8, Y -101.6, Tube -101.9 dBFS RMS, uncorrelated L / R) and group bypass shared by the group's channels; state fully translated (console, drive, trims, NR, group, group bypass, main gains): fxparity 6.8 (drive bank 6.8, US A 6.3, group / NR sets 6.7 / 6.9) |
 | Fret Channel (guitar / bass channel strip) | SSL Guitarstrip | 8 | 7 | 6 | 8 | tp172c8 | tp172c8: its own plugin (was Ridge with its DRIVE section): input / output, phase correction (align to side chain / left / right, ±20 ms delay with ±1 / ±10 sample nudges, polarity, 1st / 2nd-order all-pass with its phase screen, correlation), the EQ (LF / MF / HF shelves and bell, high- and low-pass, pre / post), the compressor (five measured modes, threshold, mix, auto gain), the guitar amp (pre-amp, drive, Boost / Punch / Edge) and bass amp (drive, Punch / Shape) with mix, output mix, mono and side-chain listen; the panel in the original's layout, own drawing. State translated 1:1. fxparity 5.7 (bank 5.5 → 5.8 → 6.0, voicings at drive 2.8 → 3.2 → 3.9). tp172c9: part of each amp's tone runs ahead of its curve, as the original's drive sweeps show (guitar: a 4 kHz low-pass, so its highs compress less; bass: a +17 dB 1.27 kHz pre-emphasis shelf, so its highs compress more), nodes refitted on the de-embedded harmonics, bass voicings ahead of the amp, Boost / Punch laws measured at drive. Missing: the EQ's Auto listen key (not in the state) |
@@ -4053,3 +4053,54 @@ rose) and K4G_ir BlHFBf1g5 4 → 3 (an extreme Black boost at the ceiling). Old
 0 mismatches. CPU: no measurable difference (law on / off in one build). Harrison 32C's exact EQ law (first-order
 shelves, bells at the dial, Q by |gain|, 12 dB/oct filters to 3.15 kHz / 160 Hz) waits for a "32C" voicing (owner
 decision, BLACKBOX §11).
+
+## Round 190le: Ridge Strip's "32C" voicing (Harrison 32Classic EQ law) and the Lustrous Plates translator
+
+Owner decisions taken (recommended options of BLACKBOX_rodada190lb §11.3 and §5.4). Work folder
+`/mnt/e/lynx-work/harrison190le/` (lab scripts, runs, logs).
+
+**Harrison 32C → Ridge Strip, 32C voicing.** A new voicing of Ridge's own engine (hidden parameter `h32`, saved only while
+on, with its own panel switch "32C console" beside the 4K / Modern ones: `hiddenEffectParamIndex` lets a layout reach a
+hidden parameter by name). Its EQ is the law measured in round 190lb, now reproduced exactly on all 148 renders of tp172c's
+H32_eq grid (lab `shelves*.py`, `bells.py`, `hp.py`): Lo shelf first order, bilinear prewarped at its centre (rms 0.0003 dB);
+Hi shelf first order, its magnitude matched to the analog shelf at DC, at its centre and at Nyquist (max 0.009 dB; plain or
+prewarped bilinear were 0.27 dB off at 10 kHz); bells (mids, and the end bands in Bell mode) magnitude-matched peaking
+sections (Vicanek) at the dial with Q(|g|) = 0.5249 − 0.00357 |g| + 0.00145 g² (≤ 0.004 dB); Butterworth 12 dB/oct high- /
+low-pass at the dial, magnitude-matched (the always-in 20 kHz low-pass is −2.40 dB at 18 kHz, as measured). The dials read
+the original's own host scales (texts at ninths of the travel): Hi shelf centre 400 … 2650 … 10000 Hz and Lo 25 … 145 …
+1500 Hz (straight lines broken at the middle), their bells 689 … 14 500 / 19 … 799 Hz, Hi-Mid 271 Hz … 8 kHz, Low-Mid
+104 Hz … 4.37 kHz, high-pass 25 Hz … 3.15 kHz, low-pass 20 kHz … 160 Hz, shelf plateau ±13.5 dB linear, bell gain ±13.74 dB
+on the original's taper; the Q dials hide (the 32C has none), the Brown / Black tabs dim. The translation now sets the
+voicing and its dials (the saved end-band frequency / gain are the Bell mode's; the shelf follows the dial); dynamics,
+trims and saturator as before. Switching a console voicing (E / 4K / Modern) on switches the 32C off and the reverse.
+
+| reference → LYNX | bank | files | before → after | up / same / down |
+|---|---|---|---|---|
+| Harrison 32C → Ridge Strip 32C | tp172c H32_eq (impulse grid) | 148 | 5.36 → **9.99** | 148 / 0 / 0 |
+| | tp172c H32_dyn | 72 | 6.74 → **7.51** | 27 / 45 / 0 |
+| | tp172c H32_sat | 20 | 5.30 → **6.25** | 11 / 9 / 0 |
+| | tp172c H32_mk | 42 | 6.57 → **7.02** | 10 / 32 / 0 |
+| | refcap182 programme | 20 | 5.70 → **6.90** | 10 / 10 / 0 |
+| | all | 302 | 5.88 → **8.54** | 206 / 96 / 0 |
+
+Curve error on the grid (30 Hz – 16 kHz, rms dB): shelves 1.16 / 0.82 → 0.00, end bells 0.72 / 0.75 → 0.00, mid bells
+0.38 / 0.42 → 0.00, filters 8.33 / 9.02 → 0.01 / 0.00 (`logs/curveerr_*.txt`).
+
+**LiquidSonics Lustrous Plates → Foil Plate.** Round 190bz is in; its Classic law is the old engine bit for bit, and round
+190ca's physical Foil fit of the plate (Iron, full band, Classic law) is the setting used, so no refit was needed. Its
+plain ValueTree state is read (`LP_FullState` › `StateVT` › PARAM id / value): Damper and Plate Model → Foil decay, the two
+700 Hz shelves and the low cut (190ca's knots: Damper 2.5 / 5, model 12 = "Reserved (using Iridium)"); Dry/Wet → Foil's Mix
+at the same wet : dry ratio (equal-power law; the ends are one path); Width scales the fitted width; Master Gain moves both
+shelves (a flat wet gain); a Master EQ low cut above the fitted one replaces it. Not mapped: modulation, dispersion, the
+band EQs, the high cut, dynamics.
+
+| reference → LYNX | bank | files | before → after (wave) | tail score | up / same / down |
+|---|---|---|---|---|---|
+| Lustrous Plates → Foil Plate (role preset → translator) | refcap182 programme | 20 | 1.55 → **2.20** | 4.00 → **6.07** | wave 13 / 7 / 0, tail 20 / 0 / 0 |
+
+Gate: old projects `lab/gold.sh` (base = round 190lb's fxrender): every strip whose translation is unchanged via `--sub`
+(SSL 4K E / G / B, Channel Strip 2, Vocalstrip 2, Harrison MPC), the Harrison 32C Ridge Strips a project saved before holds
+(base `--dump`), Ridge Strips set directly in every voicing — also with the 32C switch on under a console voicing — and
+Foil Plate as the role preset and at defaults; 44.1 / 48 / 96 kHz: **666 renders, 0 mismatches**. CPU (one binary, 280 s
+programme, user seconds best of 5): old translation vs 32C voicing 3.02 / 2.93 (S1), 5.97 / 5.88 (S3), 2.86 / 2.95 (S2):
+no measurable difference (same section count; the coefficients are designed once per block). Latency 0.

+ 2 - 0
docs/PLUGIN_FALLBACK.md

@@ -148,6 +148,8 @@ matches by name).
 | 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 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) |
 | SSL 4K G / 4K E (round 190lb, black-box) | Ridge Strip, 4K voicing | names | 4K G: EqType Pink (its default) → the measured Pink EQ (hidden k4Pink, ÷3 / ×3), both colours its 18 dB/oct high-pass, uncramped low-pass and 1.1108 output ceiling (k4gLaw); 4K E Black / Orange: its 18 dB/oct high-pass (k4eHpLaw) [EXEC] (BLACKBOX_rodada190lb §2–3) |
+| Harrison 32Classic Channel Strip (round 190le, black-box) | Ridge Strip, 32C voicing (hidden `h32`, its own panel switch "32C console") | names | the EQ on the measured 32C law with the original's own dials (Hi / Lo shelf or bell, Hi-Mid / Low-Mid, high- / low-pass, EQ / filters in); dynamics, trims, saturator as since tp172c5–11 [EXEC] (BLACKBOX_rodada190lb §4) |
+| LiquidSonics Lustrous Plates (round 190le) | Foil Plate, Classic law (round 190ca's physical fit: Iron, full band) | names (complete-access-reverbs) | its plain ValueTree state: Damper and Plate Model → decay, shelves, low cut; Dry/Wet → Mix (equal-power ratio); Width; Master Gain → the 700 Hz shelves; Master EQ low cut [EXEC] (BLACKBOX_rodada190lb §5) |
 | 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) |
 | Waves DeEsser | Hush De-esser (5.5 kHz, −20 dBFS, 4 dB; round 113) | Waves name | frequency, threshold, split / wideband, side-chain filter, monitor, laws measured on the official trial [EXEC] (round 113 §3c) |

+ 7 - 0
docs/analise/BLACKBOX_rodada190lb.md

@@ -163,6 +163,11 @@ dial stops at 450 Hz). Two ways (owner decision, §11): **(a, recommended)** a "
 Strip with its own ranges and read-outs, as the 4K and Modern voicings have; (b) hidden per-band frequencies set by the
 translation (the visible dials would no longer drive those bands — not recommended).
 
+**Built in round 190le** (owner decision 3, recommended option): Ridge Strip's "32C" voicing — Ridge's own engine with
+this law (Lo shelf bilinear prewarped at its centre, Hi shelf magnitude-matched at DC / centre / Nyquist, Vicanek-matched
+bells and Butterworth filters), the original's own dial scales (the host table's texts) and read-outs, a hidden parameter
+with its own panel switch. H32_eq 5.36 → 9.99, curve error 1.15 → 0.00 dB rms. `docs/PARITY.md`, round 190le.
+
 ## 5. LiquidSonics Lustrous Plates — parameter laws and state (spec)
 ### 5.1 API (refcap0124 host table)
 Master Gain −20 … +20 dB (linear); Dry/Wet "Dry" … "Equal Mix" … "Wet" (default Wet); Plate Model 25 steps (Chrome,
@@ -185,6 +190,8 @@ roughly constant in frequency, so the high end is dense from the start and there
 just under 1 s to ~5 s, varying by band, and a low-frequency onset ~10 ms later than the highs (dispersion)
 ([Lustrous Plates manual](https://www.falkemedia-shop.de/media/pdf/b4/00/f4/Lustrous_Plates_ManualCddKXRlmsIyQw.pdf)).
 ### 5.4 Why no translator this round
+(Round 190le: 190bz is in; the translator was built on round 190ca's physical Foil fit, which runs on Foil's Classic
+law — untouched by 190bz — so it needed no refit. `docs/PARITY.md`, round 190le.)
 Today the role preset plays (Foil Plate, Decay 0.3, 25 % wet). A translator needs Damper → Foil decay and model → Foil type
 per band, calibrated on Foil's wet law, which round 190bz is changing (`/mnt/e/lynx-work/nebula190ca/HANDOFF.md`: all Foil maps
 need a refit after 190bz lands); its only scorable references with states are refcap182's 20 programme files (the tp172c

+ 1 - 0
resources/i18n/de.txt

@@ -4334,6 +4334,7 @@ countries: de at ch li lu
 "Measured effect characters" = "Gemessene Effektcharaktere"
 "Brown|Black|Orange" = "Braun|Schwarz|Orange"
 "4K console" = "4K-Konsole"
+"32C console" = "32C-Konsole"
 "Mic pre" = "Mic-Pre"
 "Mic" = "Mic"
 "Vocal detector" = "Vocal-Detektor"

+ 1 - 0
resources/i18n/es.txt

@@ -4334,6 +4334,7 @@ countries: es mx ar co cl pe ve
 "Measured effect characters" = "Caracteres de efecto medidos"
 "Brown|Black|Orange" = "Marrón|Negro|Naranja"
 "4K console" = "Consola 4K"
+"32C console" = "Consola 32C"
 "Mic pre" = "Previo de micro"
 "Mic" = "Micro"
 "Vocal detector" = "Detector vocal"

+ 1 - 0
resources/i18n/fr.txt

@@ -4334,6 +4334,7 @@ countries: fr be ch ca lu
 "Measured effect characters" = "Caractères d'effet mesurés"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "Console 4K"
+"32C console" = "Console 32C"
 "Mic pre" = "Préampli micro"
 "Mic" = "Micro"
 "Vocal detector" = "Détecteur vocal"

+ 1 - 0
resources/i18n/id.txt

@@ -4334,6 +4334,7 @@ countries: id
 "Measured effect characters" = "Karakter efek terukur"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "4K console"
+"32C console" = "Konsol 32C"
 "Mic pre" = "Mic pre"
 "Mic" = "Mic"
 "Vocal detector" = "Detektor vokal"

+ 1 - 0
resources/i18n/it.txt

@@ -4334,6 +4334,7 @@ countries: it ch sm
 "Measured effect characters" = "Caratteri di effetto misurati"
 "Brown|Black|Orange" = "Marrone|Nero|Arancione"
 "4K console" = "Console 4K"
+"32C console" = "Console 32C"
 "Mic pre" = "Preamp mic"
 "Mic" = "Mic"
 "Vocal detector" = "Rilevatore vocale"

+ 1 - 0
resources/i18n/ja.txt

@@ -4334,6 +4334,7 @@ countries: jp
 "Measured effect characters" = "計測したエフェクトキャラクター"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "4Kコンソール"
+"32C console" = "32Cコンソール"
 "Mic pre" = "マイクプリ"
 "Mic" = "マイク"
 "Vocal detector" = "ボーカル検出器"

+ 1 - 0
resources/i18n/ko.txt

@@ -4334,6 +4334,7 @@ countries: kr
 "Measured effect characters" = "측정된 이펙트 캐릭터"
 "Brown|Black|Orange" = "브라운|블랙|오렌지"
 "4K console" = "4K 콘솔"
+"32C console" = "32C 콘솔"
 "Mic pre" = "마이크 프리"
 "Mic" = "마이크"
 "Vocal detector" = "보컬 디텍터"

+ 1 - 0
resources/i18n/nl.txt

@@ -4334,6 +4334,7 @@ countries: nl be
 "Measured effect characters" = "Gemeten effectkarakters"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "4K console"
+"32C console" = "32C-console"
 "Mic pre" = "Mic pre"
 "Mic" = "Mic"
 "Vocal detector" = "Zangdetector"

+ 1 - 0
resources/i18n/pl.txt

@@ -4334,6 +4334,7 @@ countries: pl
 "Measured effect characters" = "Zmierzone charaktery efektu"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "Konsola 4K"
+"32C console" = "Konsola 32C"
 "Mic pre" = "Przedwzm. mikr."
 "Mic" = "Mikr."
 "Vocal detector" = "Detektor wokalu"

+ 1 - 0
resources/i18n/pt-BR.txt

@@ -4381,6 +4381,7 @@ countries: br
 "Measured effect characters" = "Caracteres de efeito medidos"
 "Brown|Black|Orange" = "Marrom|Preto|Laranja"
 "4K console" = "Console 4K"
+"32C console" = "Console 32C"
 "Mic pre" = "Pré de microfone"
 "Mic" = "Mic"
 "Vocal detector" = "Detector vocal"

+ 1 - 0
resources/i18n/ru.txt

@@ -4334,6 +4334,7 @@ countries: ru by kz
 "Measured effect characters" = "Измеренные характеры эффекта"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "4K console"
+"32C console" = "Консоль 32C"
 "Mic pre" = "Микр. пред."
 "Mic" = "Микрофон"
 "Vocal detector" = "Вокальный детектор"

+ 1 - 0
resources/i18n/tr.txt

@@ -4334,6 +4334,7 @@ countries: tr
 "Measured effect characters" = "Ölçülmüş efekt karakterleri"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "4K console"
+"32C console" = "32C konsol"
 "Mic pre" = "Mic pre"
 "Mic" = "Mikrofon"
 "Vocal detector" = "Vokal dedektörü"

+ 1 - 0
resources/i18n/zh-Hans.txt

@@ -4334,6 +4334,7 @@ countries: cn sg
 "Measured effect characters" = "实测效果特性"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "4K调音台"
+"32C console" = "32C调音台"
 "Mic pre" = "话放"
 "Mic" = "麦克风"
 "Vocal detector" = "人声检测器"

+ 1 - 0
resources/i18n/zh-Hant.txt

@@ -4334,6 +4334,7 @@ countries: tw hk mo
 "Measured effect characters" = "實測效果特性"
 "Brown|Black|Orange" = "Brown|Black|Orange"
 "4K console" = "4K調音台"
+"32C console" = "32C調音台"
 "Mic pre" = "麥克風前級"
 "Mic" = "麥克風"
 "Vocal detector" = "人聲偵測器"

+ 33 - 0
src/core/Effects.cpp

@@ -69,6 +69,7 @@
 #include <cmath>
 #include <complex>
 #include <cstdio>
+#include <cstring>
 
 namespace lynx
 {
@@ -3649,6 +3650,8 @@ std::string formatEffectParam (EffectKind kind, int param, float v, double bpm,
         return mixsuite::ridge::k4ParamText (param, v);
     if (kind == EffectKind::ridgeStrip && mixsuite::ridge::eVoicing (context)) // round 123: the console's own scales
         return mixsuite::ridge::eParamText (param, v);
+    if (kind == EffectKind::ridgeStrip && mixsuite::ridge::h32Voicing (context)) // round 190le: the 32C's own dials
+        return mixsuite::ridge::h32ParamText (param, v, context);
     if (kind == EffectKind::ridgeStrip && (param == mixsuite::ridge::lfGain || param == mixsuite::ridge::lmfGain
                                            || param == mixsuite::ridge::hmfGain || param == mixsuite::ridge::hfGain))
     {
@@ -4377,6 +4380,36 @@ std::size_t savedEffectParamCount (const EffectSlot& slot) noexcept
     return count;
 }
 
+namespace
+{
+struct HiddenParam
+{
+    EffectKind kind;
+    int index;
+    const char* name;
+};
+const HiddenParam kHiddenWithControl[] {
+    { EffectKind::ridgeStrip, (int) mixsuite::ridge::h32, "32C voicing" }, // round 190le
+};
+} // namespace
+
+int hiddenEffectParamIndex (EffectKind kind, const char* name) noexcept
+{
+    if (name != nullptr)
+        for (const auto& h : kHiddenWithControl)
+            if (h.kind == kind && std::strcmp (h.name, name) == 0)
+                return h.index;
+    return -1;
+}
+
+const char* hiddenEffectParamName (EffectKind kind, int index) noexcept
+{
+    for (const auto& h : kHiddenWithControl)
+        if (h.kind == kind && h.index == index)
+            return h.name;
+    return nullptr;
+}
+
 double savedEffectParamValue (float v) noexcept
 {
     const auto rounded = std::round ((double) v * 10000.0) / 10000.0;

+ 4 - 0
src/core/Effects.h

@@ -60,6 +60,10 @@ void setEffectMidiInPort (EffectSlot& slot, int port) noexcept; // −1…255
 // How many of a slot's parameters a project / preset saves (issue #67): the named ones plus any hidden ones after them
 // that hold a value (the Parametric EQ's FL law, processing, band mask and FL's own values: ParametricEqFl.h [36…47]).
 std::size_t savedEffectParamCount (const EffectSlot& slot) noexcept;
+// Round 190le: the hidden parameters (after the named ones, saved only while they hold a value) that have a control on
+// the effect's own panel, by the name the layout gives them (Ridge Strip's "32C voicing"); −1 / nullptr = none
+int hiddenEffectParamIndex (EffectKind kind, const char* name) noexcept;
+const char* hiddenEffectParamName (EffectKind kind, int index) noexcept;
 // A parameter value as written to a file: rounded to 4 decimals when that reads back as the same float, else the
 // shortest decimal that does (FL's raw values, e.g. a frequency of raw/65536, survive a save and reload bit for bit)
 double savedEffectParamValue (float v) noexcept;

+ 248 - 0
src/core/MixSuite.cpp

@@ -72,6 +72,7 @@ struct OnePoleHp
         b1 = -b0;
         a1 = (k - 1.0) / (k + 1.0);
     }
+    void bypass() noexcept { b0 = 1.0; b1 = a1 = 0.0; } // round 190le: a pass-through (the 32C's high-pass is second order)
     void reset() noexcept { x1[0] = x1[1] = y1[0] = y1[1] = 0.0; }
     float process (float x, int ch) noexcept
     {
@@ -430,6 +431,126 @@ double autoMakeupDb (const EffectParams& p) noexcept
     return vmatch::echannel::compMakeupDb (e);
 }
 
+// ---- round 190le: the 32C voicing's scales. The dial positions are the original's host parameters (refcap0124's
+// table: its own texts at ninths of the travel); the band laws were measured on tp172c's H32_eq impulse grid
+// (BLACKBOX_rodada190lb.md §4, lab fits in /mnt/e/lynx-work/harrison190le/lab)
+bool h32Voicing (const EffectParams& p) noexcept
+{
+    return on (p[h32]) && ! modernVoicing (p) && ! k4Voicing (p) && ! eVoicing (p) && ! vocalVoicing (p);
+}
+namespace
+{
+// a law through knots at equal steps of the dial, interpolated on the logarithm (exactly invertible)
+template <std::size_t N>
+double logKnots (float v, const double (&hz)[N]) noexcept
+{
+    const auto x = (double) std::clamp (v, 0.0f, 1.0f) * (double) (N - 1);
+    const auto i = std::min ((std::size_t) x, N - 2);
+    return hz[i] * std::pow (hz[i + 1] / hz[i], x - (double) i);
+}
+template <std::size_t N>
+float logKnotsValue (double f, const double (&hz)[N]) noexcept
+{
+    if (! (f > hz[0])) return 0.0f;
+    if (f >= hz[N - 1]) return 1.0f;
+    std::size_t i = 0;
+    while (i + 2 < N && f > hz[i + 1]) ++i;
+    return (float) (((double) i + std::log (f / hz[i]) / std::log (hz[i + 1] / hz[i])) / (double) (N - 1));
+}
+// the original's texts at ninths of the travel (host parameter table)
+constexpr double kH32Hpf[9] { 25.0, 33.0, 85.0, 215.0, 456.0, 841.0, 1400.0, 2160.0, 3150.0 };
+constexpr double kH32Lpf[9] { 160.0, 212.0, 538.0, 1360.0, 2900.0, 5340.0, 8880.0, 13710.0, 20000.0 };
+constexpr double kH32Lmf[9] { 103.586, 210.0, 311.709, 414.0, 608.74, 950.0, 1778.5, 2980.0, 4366.39 };
+constexpr double kH32Hmf[9] { 270.697, 427.0, 711.314, 996.0, 1421.74, 2050.0, 3544.21, 5780.0, 8000.0 };
+// the end bands in Bell mode: the saved dial at quarters of the travel (tp172c states; the bell sits there exactly)
+constexpr double kH32LoBell[5] { 18.9487, 58.8066, 111.355, 369.313, 798.73 };
+constexpr double kH32HiBell[5] { 689.048, 1389.53, 3618.97, 9021.65, 14497.6 };
+// the bells' gain taper: |gain| at |2 (v - 0.5)| (the measured dials 0.3 / 0.7 / 1 and the table's 0.5 / 0.75)
+constexpr double kH32TaperX[6] { 0.0, 0.3, 0.5, 0.7, 0.75, 1.0 };
+constexpr double kH32TaperDb[6] { 0.0, 2.490617, 4.5, 6.936618, 7.8, 13.737392 };
+// monotone cubic through the taper's knots (Fritsch–Butland weighted harmonic slopes, as PCHIP)
+double taperDb (double x) noexcept
+{
+    constexpr int n = 6;
+    x = std::clamp (x, 0.0, 1.0);
+    double d[n - 1], m[n];
+    for (int k = 0; k < n - 1; ++k)
+        d[k] = (kH32TaperDb[k + 1] - kH32TaperDb[k]) / (kH32TaperX[k + 1] - kH32TaperX[k]);
+    m[0] = d[0];
+    m[n - 1] = d[n - 2];
+    for (int k = 1; k < n - 1; ++k)
+    {
+        const double h0 = kH32TaperX[k] - kH32TaperX[k - 1], h1 = kH32TaperX[k + 1] - kH32TaperX[k];
+        const double w1 = 2.0 * h1 + h0, w2 = h1 + 2.0 * h0;
+        m[k] = d[k - 1] * d[k] <= 0.0 ? 0.0 : (w1 + w2) / (w1 / d[k - 1] + w2 / d[k]);
+    }
+    int k = 0;
+    while (k < n - 2 && x > kH32TaperX[k + 1]) ++k;
+    const double h = kH32TaperX[k + 1] - kH32TaperX[k], t = (x - kH32TaperX[k]) / h, t2 = t * t, t3 = t2 * t;
+    return (2 * t3 - 3 * t2 + 1) * kH32TaperDb[k] + (t3 - 2 * t2 + t) * h * m[k] + (-2 * t3 + 3 * t2) * kH32TaperDb[k + 1]
+           + (t3 - t2) * h * m[k + 1];
+}
+} // namespace
+double h32HpfHz (float v) noexcept { return v <= 0.0f ? 0.0 : logKnots (v, kH32Hpf); }
+double h32LpfHz (float v) noexcept { return v <= 0.0f ? 0.0 : logKnots (1.0f - v, kH32Lpf); }
+double h32LmfHz (float v) noexcept { return logKnots (v, kH32Lmf); }
+double h32HmfHz (float v) noexcept { return logKnots (v, kH32Hmf); }
+// the shelves' centres: straight lines in the dial, broken at its middle (the table: 25 / 145 / 1500 Hz, 400 / 2650 / 10000 Hz)
+double h32LfHz (float v, bool bell) noexcept
+{
+    const auto x = (double) std::clamp (v, 0.0f, 1.0f);
+    return bell ? logKnots (v, kH32LoBell) : x <= 0.5 ? 25.0 + 240.0 * x : 145.0 + 2710.0 * (x - 0.5);
+}
+double h32HfHz (float v, bool bell) noexcept
+{
+    const auto x = (double) std::clamp (v, 0.0f, 1.0f);
+    return bell ? logKnots (v, kH32HiBell) : x <= 0.5 ? 400.0 + 4500.0 * x : 2650.0 + 14700.0 * (x - 0.5);
+}
+double h32ShelfDb (float v) noexcept { return 27.0 * ((double) std::clamp (v, 0.0f, 1.0f) - 0.5); }
+double h32BellDb (float v) noexcept
+{
+    const auto x = 2.0 * ((double) std::clamp (v, 0.0f, 1.0f) - 0.5);
+    return std::copysign (taperDb (std::abs (x)), x);
+}
+// fitted on the bells of the grid (0.525 / 0.57 / 0.75 at 2.49 / 6.94 / 13.74 dB, the same for every band)
+double h32Q (double gainDb) noexcept
+{
+    const auto g = std::min (std::abs (gainDb), 13.74);
+    return 0.5248794 - 0.00356832 * g + 0.00145216 * g * g;
+}
+float h32HpfValue (double hz) noexcept { return std::max (1e-4f, logKnotsValue (hz, kH32Hpf)); }
+float h32LpfValue (double hz) noexcept { return std::max (1e-4f, 1.0f - logKnotsValue (hz, kH32Lpf)); }
+float h32LmfValue (double hz) noexcept { return logKnotsValue (hz, kH32Lmf); }
+float h32HmfValue (double hz) noexcept { return logKnotsValue (hz, kH32Hmf); }
+float h32LfValue (double bellHz) noexcept { return logKnotsValue (bellHz, kH32LoBell); }
+float h32HfValue (double bellHz) noexcept { return logKnotsValue (bellHz, kH32HiBell); }
+float h32GainValue (double dialDb) noexcept
+{
+    const auto a = std::min (std::abs (dialDb), kH32TaperDb[5]);
+    double lo = 0.0, hi = 1.0; // the taper rises: bisection
+    for (int i = 0; i < 40; ++i)
+    {
+        const auto mid = 0.5 * (lo + hi);
+        (taperDb (mid) < a ? lo : hi) = mid;
+    }
+    return (float) (0.5 + std::copysign (0.25 * (lo + hi), dialDb));
+}
+std::vector<std::pair<int, float>> linkedEdit (const EffectParams& p, int param, float value)
+{
+    std::vector<std::pair<int, float>> edits { { param, value } };
+    if (! on (value))
+        return edits;
+    if (param == h32)
+    {
+        for (const int other : { (int) modern, (int) console4k, (int) voicing })
+            if (on (p[(std::size_t) other]))
+                edits.push_back ({ other, 0.0f });
+    }
+    else if ((param == modern || param == console4k || param == voicing) && on (p[h32]))
+        edits.push_back ({ (int) h32, 0.0f });
+    return edits;
+}
+
 // round 145: the Vocal strip voicing's settings (the reference's own laws, core/VoxStrip.h)
 voxstrip::Settings vocalSettings (const EffectParams& p) noexcept
 {
@@ -477,6 +598,11 @@ struct EqDesign
 
     void design (const EffectParams& p, double sr)
     {
+        if (h32Voicing (p)) // round 190le: the 32C voicing's own EQ
+        {
+            design32 (p, sr);
+            return;
+        }
         const bool black = on (p[curve]);
         hpOn = p[hpf] > 0.0f;
         lpOn = p[lpf] > 0.0f;
@@ -510,6 +636,106 @@ struct EqDesign
 
     // "black" bells: proportional Q — wide for small boosts / cuts, narrower as the gain grows
     static double propQ (double q, double gainDb) { return std::max (0.2, q * (0.5 + std::abs (gainDb) / 12.0)); }
+
+    // ---- round 190le: the 32C voicing (Harrison 32Classic, measured on tp172c's H32_eq impulse grid at 48 kHz; every
+    // law below reproduced the 148 renders within 0.05 dB rms, lab /mnt/e/lynx-work/harrison190le/lab):
+    //  - filters: second-order Butterworth high- / low-pass at the dial, magnitude-matched (no bilinear cramping: the
+    //    20 kHz low-pass is -2.4 dB at 18 kHz, as the original's always-in default);
+    //  - Lo: a first-order shelf (analog (s + wc sqrtG) / (s + wc / sqrtG)), bilinear, prewarped at its centre;
+    //  - Hi: a first-order shelf whose magnitude equals the analog one at DC, at its centre and at Nyquist;
+    //  - bells (the mids, and the end bands in Bell mode): magnitude-matched peaking filters at the dial, Q(|gain|).
+    // M. Vicanek, "Matched Second Order Digital Filters" (2016) for the matched sections; the first-order match is the
+    // same idea with one pole (three magnitude conditions, a closed-form quadratic for the pole)
+    void design32 (const EffectParams& p, double sr)
+    {
+        hpOn = p[hpf] > 0.0f;
+        lpOn = p[lpf] > 0.0f;
+        hp1.bypass();
+        if (hpOn)
+            matchedPass (hp2, sr, h32HpfHz (p[hpf]), true);
+        if (lpOn)
+            matchedPass (lp, sr, h32LpfHz (p[lpf]), false);
+        const bool loBell = on (p[lfBell]), hiBell = on (p[hfBell]);
+        if (loBell)
+            bell32 (lf, sr, h32LfHz (p[lfFreq], true), h32BellDb (p[lfGain]));
+        else
+            lowShelf32 (lf, sr, h32LfHz (p[lfFreq], false), h32ShelfDb (p[lfGain]));
+        if (hiBell)
+            bell32 (hf, sr, h32HfHz (p[hfFreq], true), h32BellDb (p[hfGain]));
+        else
+            highShelf32 (hf, sr, h32HfHz (p[hfFreq], false), h32ShelfDb (p[hfGain]));
+        bell32 (lmf, sr, h32LmfHz (p[lmfFreq]), h32BellDb (p[lmfGain]));
+        bell32 (hmf, sr, h32HmfHz (p[hmfFreq]), h32BellDb (p[hmfGain]));
+    }
+
+    // the poles of an analog second-order section (s^2 + 2 zeta s + 1 at w0) by z = e^(sT)
+    static void matchedPoles (double w0, double zeta, double& a1, double& a2) noexcept
+    {
+        a1 = zeta <= 1.0 ? -2.0 * std::exp (-zeta * w0) * std::cos (std::sqrt (1.0 - zeta * zeta) * w0)
+                         : -2.0 * std::exp (-zeta * w0) * std::cosh (std::sqrt (zeta * zeta - 1.0) * w0);
+        a2 = std::exp (-2.0 * zeta * w0);
+    }
+
+    // Butterworth (Q 1/sqrt 2) high- / low-pass, magnitude-matched at DC, the corner and Nyquist (Vicanek's HP / LP)
+    static void matchedPass (Biquad& b, double sr, double hz, bool high) noexcept
+    {
+        constexpr double q = 0.70710678118654752;
+        const double w0 = 2.0 * pi * std::clamp (hz, 1.0, sr * 0.49) / sr;
+        double a1, a2;
+        matchedPoles (w0, 0.5 / q, a1, a2);
+        const double A0 = (1.0 + a1 + a2) * (1.0 + a1 + a2), A1 = (1.0 - a1 + a2) * (1.0 - a1 + a2), A2 = -4.0 * a2;
+        const double p1 = std::sin (w0 / 2.0) * std::sin (w0 / 2.0), p0 = 1.0 - p1, p2 = 4.0 * p0 * p1;
+        if (high)
+        {
+            const double b0 = q * std::sqrt (std::max (A0 * p0 + A1 * p1 + A2 * p2, 0.0)) / (4.0 * p1);
+            b.set (b0, -2.0 * b0, b0, 1.0, a1, a2);
+            return;
+        }
+        const double R1 = (A0 * p0 + A1 * p1 + A2 * p2) * q * q;
+        const double B0 = A0, B1 = (R1 - B0 * p0) / p1;
+        const double b0 = 0.5 * (std::sqrt (B0) + std::sqrt (std::max (B1, 0.0)));
+        b.set (b0, std::sqrt (B0) - b0, 0.0, 1.0, a1, a2);
+    }
+
+    static void bell32 (Biquad& b, double sr, double hz, double db) noexcept
+    {
+        if (std::abs (db) < 1e-4)
+            b.set (1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
+        else
+            voxstrip::matchedPeak (b, sr, hz, h32Q (db), db);
+    }
+
+    static void lowShelf32 (Biquad& b, double sr, double centreHz, double db) noexcept
+    {
+        const double g = std::sqrt (dbToGain (db)), wc = 2.0 * pi * std::min (centreHz, sr * 0.45);
+        const double wz = wc * g, wp = wc / g, k = wc / std::tan (wc / (2.0 * sr));
+        b.set (k + wz, wz - k, 0.0, k + wp, wp - k, 0.0);
+    }
+
+    static void highShelf32 (Biquad& b, double sr, double centreHz, double db) noexcept
+    {
+        if (std::abs (db) < 1e-4)
+        {
+            b.set (1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
+            return;
+        }
+        // analog |H|^2 = G^2 (w^2 + wz^2) / (w^2 + wp^2), wz = wc / sqrtG, wp = wc sqrtG: 1 at DC, G at the centre
+        const double G = dbToGain (db), sg = std::sqrt (G), wc = 2.0 * pi * std::min (centreHz, sr * 0.45);
+        const double wz = wc / sg, wp = wc * sg, wn = pi * sr;
+        const double hn = G * G * (wn * wn + wz * wz) / (wn * wn + wp * wp), hm = G;
+        const double phi = std::sin (wc / (2.0 * sr)) * std::sin (wc / (2.0 * sr));
+        // |1 + a1 z^-1|^2 = (1 + a1)^2 - 4 a1 phi (phi = sin^2 (w / 2)); the three conditions give a1^2 + B a1 + 1 = 0
+        const double P = (1.0 - phi) - hm, Q = hn * phi;
+        const double B = (2.0 * P - 2.0 * Q + 4.0 * hm * phi) / (P + Q);
+        if (! std::isfinite (B) || B * B <= 4.0)
+        {
+            lowShelf32 (b, sr, centreHz, 0.0); // (never with the original's ranges) flat rather than unstable
+            return;
+        }
+        const double big = 0.5 * (-B - std::copysign (std::sqrt (B * B - 4.0), B)), a1 = 1.0 / big;
+        const double s = 1.0 + a1, d = std::sqrt (hn) * (1.0 - a1);
+        b.set (0.5 * (s + d), 0.5 * (s - d), 0.0, 1.0, a1, 0.0);
+    }
 };
 } // namespace
 
@@ -4217,6 +4443,27 @@ std::string modernParamText (int param, float v)
     }
 }
 
+// round 190le: the 32C voicing's read-outs (the original's own dials; the end bands read the shelf's centre and plateau,
+// or in Bell mode the bell's frequency and peak, as its panel does)
+std::string h32ParamText (int param, float v, const EffectParams& p)
+{
+    switch (param)
+    {
+        case hpf: return v <= 0.0f ? "off" : hzText (h32HpfHz (v));
+        case lpf: return v <= 0.0f ? "off" : hzText (h32LpfHz (v));
+        case lfGain: return fmt ("%+.1f dB", on (p[lfBell]) ? h32BellDb (v) : h32ShelfDb (v));
+        case hfGain: return fmt ("%+.1f dB", on (p[hfBell]) ? h32BellDb (v) : h32ShelfDb (v));
+        case lmfGain: case hmfGain: return fmt ("%+.1f dB", h32BellDb (v));
+        case lfFreq: return hzText (h32LfHz (v, on (p[lfBell])));
+        case hfFreq: return hzText (h32HfHz (v, on (p[hfBell])));
+        case lmfFreq: return hzText (h32LmfHz (v));
+        case hmfFreq: return hzText (h32HmfHz (v));
+        case lmfQ: case hmfQ: case curve: return "-";
+        case h32: return on (v) ? "32C console" : "off";
+        default: return paramText (EffectKind::ridgeStrip, param, v);
+    }
+}
+
 std::string vocalParamText (int param, float v)
 {
     namespace vs = voxstrip;
@@ -4293,6 +4540,7 @@ std::string paramText (EffectKind kind, int param, float v)
             case order: return on (v) ? "dyn > EQ" : "EQ > dyn";
             case voicing: return on (v) ? "E console" : "classic";
             case console4k: return on (v) ? "4K console" : "off";
+            case h32: return on (v) ? "32C console" : "off"; // round 190le
             case modern: case compPeak: case gateHold: return modernParamText (param, v); // round tp172c
             case k4Colour: case k4Mic: case k4MakeupOffset: return k4ParamText (param, v);
             case filterSplit: return on (v) ? "split" : "with EQ";

+ 31 - 1
src/core/MixSuite.h

@@ -164,7 +164,13 @@ enum Param
     // ceiling (1.1108, both polarities)
     k4Pink, k4LmfDiv3, k4HmfMult3, k4gLaw,
     // round 190lb, hidden (set only by the SSL 4K E translation): its Black / Orange high-pass at 18 dB/oct (as measured)
-    k4eHpLaw
+    k4eHpLaw,
+    // round 190le, hidden the same way (saved only while on: off = the old sound) but with a control on the panel ("32C
+    // console", Effects.h hiddenEffectParamIndex): the "32C" voicing — Ridge's own engine with the EQ measured on the
+    // Harrison 32Classic trial (tp172c H32_eq; docs/analise/BLACKBOX_rodada190lb.md §4): first-order shelves, matched
+    // bells at the dial with a gain-dependent Q, 12 dB/oct filters to 3.15 kHz / 160 Hz. The EQ controls then read the
+    // original's own dials (h32* below); the dynamics, trims and DRIVE section stay Ridge's
+    h32
 };
 double compGrCapDb (float v) noexcept;   // 0 = no cap (a huge value), else 0 .. 60 dB
 double compAttackFineSeconds (float v) noexcept; // 0 .. 0.25 s
@@ -237,6 +243,30 @@ double mQ (float v) noexcept;        // 0.5 .. 2.5
 double mRatio (float v) noexcept;    // 1 (0) .. 63 : 1, infinity at the top (1e9); the reference's dial
 float mRatioValue (double ratio) noexcept;
 double mHoldSeconds (float v) noexcept; // 0 .. 4 s
+// round 190le: the 32C voicing (on, and none of the console voicings above) and its scales: the dial position 0..1 is the
+// original's own (its host-visible parameter), so the read-outs are its texts
+bool h32Voicing (const EffectParams& p) noexcept;
+std::string h32ParamText (int param, float v, const EffectParams& p);
+double h32HpfHz (float v) noexcept;              // 0 = out, else 25 Hz .. 3.15 kHz
+double h32LpfHz (float v) noexcept;              // 0 = out, else 20 kHz .. 160 Hz
+double h32LmfHz (float v) noexcept;              // 104 Hz .. 4.37 kHz
+double h32HmfHz (float v) noexcept;              // 271 Hz .. 8 kHz
+double h32LfHz (float v, bool bell) noexcept;    // the shelf's centre 25 Hz .. 1.5 kHz, the bell's 19 .. 799 Hz
+double h32HfHz (float v, bool bell) noexcept;    // the shelf's centre 400 Hz .. 10 kHz, the bell's 689 Hz .. 14.5 kHz
+double h32ShelfDb (float v) noexcept;            // the shelves' plateau, ±13.5 dB (linear in the dial)
+double h32BellDb (float v) noexcept;             // the bells' peak, ±13.74 dB (the original's gain taper)
+double h32Q (double gainDb) noexcept;            // the bells' Q: 0.525 at ±2.5 dB .. 0.75 at ±13.74 dB
+// the inverses (the state translation: the original's saved values in its own units -> the dial position)
+float h32HpfValue (double hz) noexcept;
+float h32LpfValue (double hz) noexcept;
+float h32LmfValue (double hz) noexcept;
+float h32HmfValue (double hz) noexcept;
+float h32LfValue (double bellHz) noexcept;       // the saved Low frequency is the bell's (its shelf centre follows the dial)
+float h32HfValue (double bellHz) noexcept;
+float h32GainValue (double dialDb) noexcept;     // the saved gain is the bells' taper (a shelf's plateau follows the dial)
+// round 190le: an editor edit that switches a voicing on switches the 32C voicing off and the reverse (the console
+// voicings take precedence in the engine; the panel shows one at a time)
+std::vector<std::pair<int, float>> linkedEdit (const EffectParams& p, int param, float value);
 } // namespace ridge
 
 // ---- Glow Leveler (optical leveler) ----

+ 15 - 4
src/core/PluginLayout.cpp

@@ -1882,15 +1882,21 @@ Layout ridgeStrip()
         v.push_back (section (4, y, 276, 98, names[b]));
         v.push_back (dial (54, y + 44.0f, 36, gains[b], TR_NOOP ("Gain"), bipolar));
         v.push_back (dial (140, y + 44.0f, 36, freqs[b], TR_NOOP ("Freq")));
-        if (b == 1 || b == 2)
-            v.push_back (dial (226, y + 44.0f, 30, extra[b], TR_NOOP ("Q")));
+        if (b == 1 || b == 2) // (round 190le: the 32C's mid bands have no Q control: their Q follows the gain)
+            v.push_back (when (dial (226, y + 44.0f, 30, extra[b], TR_NOOP ("Q")), "32C voicing", 0.0f, 0.5f));
         else
             v.push_back (toggle (194, y + 34.0f, 72, 20, extra[b], TR_NOOP ("Bell")));
     }
     v.push_back (section (4, 520, 276, 124, TR_NOOP ("Equalizer")));
     // round 165: the Brown / Black curves are Ridge's own engine's (the E console voicing has the console's one curve)
     // (round tp172c: two conditions at most — the 4K and Modern voicings; in the E voicing the curve has no effect)
-    v.push_back (when (when (tabs (10, 548, 150, 20, "EQ curve", TR_NOOP ("Brown|Black")), "4K voicing", 0.0f, 0.5f), "Modern voicing", 0.0f, 0.5f));
+    {
+        auto c = when (when (tabs (10, 548, 150, 20, "EQ curve", TR_NOOP ("Brown|Black")), "4K voicing", 0.0f, 0.5f), "Modern voicing", 0.0f, 0.5f);
+        c.idleParam = "32C voicing"; // round 190le: the 32C voicing has its own curve (dimmed: it does nothing there)
+        c.idleMin = 0.5f;
+        c.idleMax = 1.0f;
+        v.push_back (c);
+    }
     // round tp172c: the Modern voicing (the console measured on the SSL Native Channel Strip 2 trial) — the curve picks its
     // E / G EQ type; its compressor's peak detector, the gate's hold and the make-up offset join the dynamics
     v.push_back (when (tabs (10, 548, 150, 20, "EQ curve", TR_NOOP ("E type|G type")), "Modern voicing", 0.5f, 1.0f));
@@ -1902,6 +1908,9 @@ Layout ridgeStrip()
     // its gain, the make-up offset; the rest of the panel drives it with the console's own scales
     v.push_back (when (when (tabs (10, 548, 150, 20, "EQ colour", TR_NOOP ("Brown|Black|Orange")), "4K voicing", 0.5f, 1.0f), "Modern voicing", 0.0f, 0.5f));
     v.push_back (toggle (170, 584, 104, 20, "4K voicing", TR_NOOP ("4K console")));
+    // round 190le: the 32C voicing (Ridge's own engine with the EQ measured on the Harrison 32Classic trial: its filters,
+    // first-order shelves and matched bells; the EQ dials read the original's) — a switch like the 4K and Modern ones
+    v.push_back (toggle (10, 620, 150, 20, "32C voicing", TR_NOOP ("32C console")));
     v.push_back (when (when (dial (652, 52, 24, "Make-up offset", TR_NOOP ("Offset"), bipolar), "4K voicing", 0.5f, 1.0f), "Modern voicing", 0.0f, 0.5f));
     v.push_back (toggle (170, 548, 104, 20, "EQ on", TR_NOOP ("EQ in")));
     // round 123: the voicing — Ridge's own engine, or the measured E-type console (substitutes start there)
@@ -4674,6 +4683,8 @@ int stateIndex (EffectKind kind, int param)
 
 const char* paramName (EffectKind kind, int index)
 {
+    if (const auto* hidden = hiddenEffectParamName (kind, index)) // round 190le: a hidden parameter with a control
+        return hidden;
     if (index < 0 || index >= paramCount (kind))
         return "";
     if (const auto s = stateIndex (kind, index); s >= 0)
@@ -4692,7 +4703,7 @@ int paramIndex (EffectKind kind, const char* name)
     if (const auto* table = stateparams::tableFor (kind))
         if (const auto s = table->index (name); s >= 0)
             return (int) params.size() + s;
-    return -1;
+    return hiddenEffectParamIndex (kind, name); // round 190le
 }
 
 float stateValue01 (EffectKind kind, int param, const std::vector<std::uint8_t>& state)

+ 191 - 55
src/core/PluginSubstitutes.cpp

@@ -5,6 +5,7 @@
 #include <cctype>
 #include <cmath>
 #include <cstring>
+#include <functional>
 #include <initializer_list>
 #include <limits>
 #include <map>
@@ -17,6 +18,7 @@
 #include "core/FlPluginDb.h"
 #include "core/FlWrapper.h"
 #include "core/LynxTune.h"
+#include "core/LynxVerbs.h"
 #include "core/MixSuite.h"
 #include "core/VocalPitch.h"
 #include "core/VoiceTools.h"
@@ -687,6 +689,9 @@ lynx = Foil Plate
 names = Lustrous Plates; Seventh Heaven; Seventh Heaven Professional; Cinematic Rooms; Cinematic Rooms Professional; Illusion; VerbSuite Classics; SSL Native FlexVerb; SSL PlateVerb; SSL SpringVerb; SSL GateVerb; smartreverb2; smartreverb; pureverb; learnreverb; Vocal Reverb
 preset = Decay=0.3; Mix=1; Law=0
 mix = 0.25
+# round 190le: a Lustrous Plates state (its plain ValueTree) gets round 190ca's fitted Foil setting (translateLustrousPlates);
+# the other devices keep the role preset or their default line below
+translate = lustrous-plates
 # round 190ca: four of these devices at their own default setting, from Foil setting maps fitted on physical measurements of
 # each device's probe renders (decay per band, onset, dry gain, wet energy and band balance, echo density, L/R correlation,
 # band limit; the lab folder nebula190ca/maps, fitverb.py). FlexVerb and VerbSuite default to 100 % wet, the two SSL plates
@@ -1928,36 +1933,11 @@ double interp (double x, std::initializer_list<double> xs, std::initializer_list
 }
 double lg (double hz) { return std::log (std::max (hz, 1.0)); }
 
-// bells: the dial's gain; Q 0.5 (Ridge's widest) for small gains up to 0.75 at full gain
+// bells (the MPC's bands on Ridge's own curve): Q 0.5 (Ridge's widest) for small gains up to 0.75 at full gain
 double bellQ (double gainDb) { return interp (std::abs (gainDb), { 0.0, 7.0, 13.74 }, { 0.5, 0.55, 0.75 }); }
 
-// the 32C's low shelf (dial 19 .. 800 Hz): Ridge's corner and plateau at full gain, scaled for smaller gains
-void lowShelf (double hz, double gainDb, double& ridgeHz, double& ridgeDb)
-{
-    const auto x = lg (hz);
-    const std::initializer_list<double> f { lg (18.95), lg (58.81), lg (111.35), lg (369.3), lg (798.7) };
-    const auto fullHz = std::exp (interp (x, f, { lg (51.0), lg (111.4), lg (174.2), lg (887.5), lg (1593.0) }));
-    const auto fullDb = interp (x, f, { 6.65, 10.8, 11.67, 12.73, 12.87 });
-    const auto a = std::abs (gainDb);
-    ridgeDb = std::copysign (fullDb * interp (a, { 0.0, 2.49, 6.94, 13.74 }, { 0.0, 0.307, 0.709, 1.0 }), gainDb);
-    ridgeHz = fullHz * interp (a, { 2.49, 6.94, 13.74 }, { 0.93, 0.96, 1.0 });
-}
-
-// the 32C's high shelf (dial 690 Hz .. 14.5 kHz): boost and cut differ
-void highShelf (double hz, double gainDb, double& ridgeHz, double& ridgeDb)
-{
-    const auto x = lg (hz);
-    const std::initializer_list<double> f { lg (689.0), lg (1389.5), lg (3619.0), lg (9021.6), lg (14497.5) };
-    const bool boost = gainDb >= 0.0;
-    const auto fullHz = std::exp (boost ? interp (x, f, { lg (362.6), lg (1286.4), lg (2104.8), lg (4212.6), lg (5744.7) })
-                                        : interp (x, f, { lg (382.4), lg (1406.5), lg (2363.2), lg (4995.4), lg (6982.4) }));
-    const auto fullDb = boost ? interp (x, f, { 12.52, 11.79, 11.16, 9.19, 7.38 }) : interp (x, f, { 13.05, 12.71, 12.40, 11.27, 10.02 });
-    const auto a = std::abs (gainDb);
-    ridgeDb = std::copysign (fullDb * (boost ? interp (a, { 0.0, 2.49, 6.94, 13.74 }, { 0.0, 0.274, 0.694, 1.0 })
-                                             : interp (a, { 0.0, 2.49, 6.94, 13.74 }, { 0.0, 0.341, 0.722, 1.0 })), gainDb);
-    ridgeHz = fullHz * (boost ? interp (a, { 2.49, 6.94, 13.74 }, { 0.948, 1.008, 1.0 }) : interp (a, { 2.49, 6.94, 13.74 }, { 1.16, 1.042, 1.0 }));
-}
-
+// (round 190le: the 32C's shelves and filters play in Ridge's 32C voicing since; the corner / plateau fits of tp172c5 that
+// played them on the brown curve are gone. The filter laws below still serve the MPC's high- / low-pass shapes.)
 // the 32C's filters: high-pass 12 dB/oct (Ridge's 18 dB/oct one a little lower), low-pass 12 dB/oct (as measured)
 double hpfHz (double hz) { return hz * std::exp (interp (lg (hz), { lg (30.0), lg (250.0) }, { std::log (0.93), std::log (0.70) })); }
 double lpfHz (double hz)
@@ -2033,35 +2013,26 @@ int translateHarrisonStrip (const std::vector<std::uint8_t>& state, EffectSlot&
     {
         // ---- 32Classic: 4-band EQ (Hi / Hi-Mid / Low-Mid / Low; shelf or bell at the ends), filters, compressor
         // (Leveler / Compressor / Limiter), gate / expander, saturator (Ridge's DRIVE section since tp172c6), trims
+        // round 190le: the EQ goes to Ridge's 32C voicing (the original's measured EQ law, its own dials: the saved
+        // values in the original's units map to its dial positions; the end bands' frequency and gain are saved as the
+        // Bell mode's, the shelf's centre and plateau follow the dial). Before, Ridge's brown curve played it (tp172c5:
+        // fitted corners and plateaus, mids moved to a neighbour band outside Ridge's ranges, an 18 dB/oct high-pass
+        // stopping at 350 Hz)
+        p[r::h32] = 1.0f;
         const bool filtersIn = sw ("equalizer_in", true) && sw ("equalizer_filters_in", true);
-        const auto hp = at ("equalizer_highpass_filter_freq", 25.0), lp = at ("equalizer_lowpass_filter_freq", 20000.0);
-        p[r::hpf] = filtersIn ? std::max (1e-4f, logNorm (harrison::hpfHz (hp), 16.0, 350.0)) : 0.0f;
-        p[r::lpf] = filtersIn ? std::max (1e-4f, logNorm (harrison::lpfHz (lp), 22000.0, 3000.0)) : 0.0f;
+        p[r::hpf] = filtersIn ? r::h32HpfValue (at ("equalizer_highpass_filter_freq", 25.0)) : 0.0f;
+        p[r::lpf] = filtersIn ? r::h32LpfValue (at ("equalizer_lowpass_filter_freq", 20000.0)) : 0.0f;
         p[r::eqOn] = sw ("equalizer_in", true) && sw ("equalizer_eq_in", true) ? 1.0f : 0.0f;
-        // the dials: Hi (shelf / bell), Hi-Mid 270 .. 8000 Hz, Low-Mid 104 .. 4366 Hz, Low (shelf / bell). A mid outside
-        // its Ridge band's range (Hi-Mid 600 .. 7000, Low-Mid 200 .. 2500), or an end bell outside LF / HF's (30 .. 450,
-        // 1500 .. 16000), moves to a neighbour band left flat
-        struct Dial { double hz, db; bool bell; };
-        Dial hi { at ("equalizer_band_freq_1", 3619.0), at ("equalizer_band_gain_1", 0.0), sw ("equalizer_hi_bell", false) };
-        Dial hm { at ("equalizer_band_freq_2", 1422.0), at ("equalizer_band_gain_2", 0.0), true };
-        Dial lm { at ("equalizer_band_freq_3", 609.0), at ("equalizer_band_gain_3", 0.0), true };
-        Dial lo { at ("equalizer_band_freq_4", 111.35), at ("equalizer_band_gain_4", 0.0), sw ("equalizer_lo_bell", false) };
-        auto flat = [] (const Dial& d) { return std::abs (d.db) < 0.05; };
-        if (! flat (hm) && hm.hz < 600.0 && flat (lm)) std::swap (hm, lm);
-        else if (! flat (hm) && hm.hz > 7000.0 && flat (hi)) { hi = hm; hm.db = 0.0; }
-        if (! flat (lm) && lm.hz > 2500.0 && flat (hm)) std::swap (hm, lm);
-        else if (! flat (lm) && lm.hz < 200.0 && flat (lo)) { lo = lm; lm.db = 0.0; }
-        if (hi.bell && ! flat (hi) && hi.hz < 1500.0 && flat (hm)) { hm = hi; hi.db = 0.0; }
-        if (lo.bell && ! flat (lo) && lo.hz > 450.0 && flat (lm)) { lm = lo; lo.db = 0.0; }
-        double hz = 0, db = 0;
-        p[r::hfBell] = hi.bell ? 1.0f : 0.0f;
-        if (hi.bell) { hz = hi.hz; db = hi.db; } else harrison::highShelf (hi.hz, hi.db, hz, db);
-        setBell (r::hfGain, r::hfFreq, -1, hz, db, 1500.0, 16000.0);
-        setBell (r::hmfGain, r::hmfFreq, r::hmfQ, hm.hz, hm.db, 600.0, 7000.0);
-        setBell (r::lmfGain, r::lmfFreq, r::lmfQ, lm.hz, lm.db, 200.0, 2500.0);
-        p[r::lfBell] = lo.bell ? 1.0f : 0.0f;
-        if (lo.bell) { hz = lo.hz; db = lo.db; } else harrison::lowShelf (lo.hz, lo.db, hz, db);
-        setBell (r::lfGain, r::lfFreq, -1, hz, db, 30.0, 450.0);
+        p[r::hfBell] = sw ("equalizer_hi_bell", false) ? 1.0f : 0.0f;
+        p[r::hfFreq] = r::h32HfValue (at ("equalizer_band_freq_1", 3618.97));
+        p[r::hfGain] = r::h32GainValue (at ("equalizer_band_gain_1", 0.0));
+        p[r::hmfFreq] = r::h32HmfValue (at ("equalizer_band_freq_2", 1421.74));
+        p[r::hmfGain] = r::h32GainValue (at ("equalizer_band_gain_2", 0.0));
+        p[r::lmfFreq] = r::h32LmfValue (at ("equalizer_band_freq_3", 608.74));
+        p[r::lmfGain] = r::h32GainValue (at ("equalizer_band_gain_3", 0.0));
+        p[r::lfBell] = sw ("equalizer_lo_bell", false) ? 1.0f : 0.0f;
+        p[r::lfFreq] = r::h32LfValue (at ("equalizer_band_freq_4", 111.355));
+        p[r::lfGain] = r::h32GainValue (at ("equalizer_band_gain_4", 0.0));
         // compressor: threshold in dBFS, ratio 1 .. 100 : 1. On the stair (sines) its static line meets the input at
         // the dial - 2 dB RMS (the Limiter's ~1.8 dB lower); Ridge's detector reads the sine's peak (+3 dB), so its
         // threshold sits at the dial + 1. Under Ridge's -40 dBFS floor the rest moves into the input trim (taken back
@@ -3167,6 +3138,169 @@ float fittedValue (const FittedLink& l, double v)
     return k.back().second;
 }
 
+// round 190le: LiquidSonics Lustrous Plates -> Foil Plate. Its component state carries a plain JUCE ValueTree
+// (LP_FullState > StateVT > PARAM id="<host index>" value=<double in the parameter's own units>; read, nothing decoded:
+// BLACKBOX_rodada190lb.md §5.2). The Foil settings are round 190ca's physical fit of the plate's scored impulse renders
+// (nebula190ca/maps/maps2/Lustrous_Plates.json: T30 500 Hz … 2 kHz, onset, band energies, L/R correlation, time
+// variance; Iron type, full band, Foil's Classic law — the law it was fitted on, kept as the role preset keeps it),
+// keyed by the Damper (2.5 / 5.0) with the plate model's offset (Chrome / model 12, which plays Iridium). Dry/Wet goes to
+// Foil's Mix (the same wet : dry ratio on its equal-power law), Width scales the fitted width, Master Gain moves the two
+// 700 Hz shelves together (a flat wet gain), a Master EQ low cut above the fitted one replaces it.
+namespace lustrous
+{
+// one JUCE ValueTree node (ValueTree::writeToStream): name, properties, children; false = malformed
+struct Reader
+{
+    const std::vector<std::uint8_t>& d;
+    std::size_t at;
+    bool ok = true;
+    long long compressed()
+    {
+        if (at >= d.size()) { ok = false; return 0; }
+        const auto head = d[at++];
+        const int n = head & 0x7f;
+        if (n > 8 || at + (std::size_t) n > d.size()) { ok = false; return 0; }
+        unsigned long long v = 0;
+        for (int i = 0; i < n; ++i)
+            v |= (unsigned long long) d[at + (std::size_t) i] << (8 * i);
+        at += (std::size_t) n;
+        return (head & 0x80) != 0 ? -(long long) v : (long long) v;
+    }
+    std::string cstring()
+    {
+        std::string s;
+        while (at < d.size() && d[at] != 0)
+            s += (char) d[at++];
+        if (at >= d.size()) ok = false;
+        ++at;
+        return s;
+    }
+};
+// the StateVT node's PARAM children: id -> value (doubles, ints and numeric strings)
+std::map<int, double> stateParams (const std::vector<std::uint8_t>& state)
+{
+    std::map<int, double> out;
+    const auto start = findBytes (state, std::string_view ("StateVT\0", 8));
+    if (start == std::string::npos)
+        return out;
+    Reader r { state, start };
+    std::function<bool (int, bool)> node = [&] (int depth, bool keep) -> bool {
+        const auto name = r.cstring();
+        const auto props = r.compressed();
+        if (! r.ok || props < 0 || props > 4096 || depth > 8)
+            return false;
+        std::string id;
+        std::optional<double> value;
+        for (long long k = 0; k < props && r.ok; ++k)
+        {
+            const auto key = r.cstring();
+            const auto size = r.compressed();
+            if (! r.ok || size < 0 || r.at + (std::size_t) size > state.size())
+                return false;
+            const auto* p = state.data() + r.at;
+            if (size > 0)
+            {
+                const auto type = p[0];
+                double v = std::numeric_limits<double>::quiet_NaN();
+                std::string text;
+                if (type == 1 && size >= 5) { std::int32_t x; std::memcpy (&x, p + 1, 4); v = x; }
+                else if (type == 4 && size >= 9) std::memcpy (&v, p + 1, 8);
+                else if (type == 6 && size >= 9) { std::int64_t x; std::memcpy (&x, p + 1, 8); v = (double) x; }
+                else if (type == 5) text.assign ((const char*) p + 1, (std::size_t) size - 1);
+                if (! text.empty() && text.back() == 0) text.pop_back();
+                if (key == "id") id = ! text.empty() ? text : (std::isfinite (v) ? std::to_string ((long long) v) : std::string());
+                else if (key == "value")
+                {
+                    float f = 0;
+                    if (std::isfinite (v)) value = v;
+                    else if (! text.empty() && parseFloat (text, f) && std::isfinite (f)) value = f;
+                }
+            }
+            r.at += (std::size_t) size;
+        }
+        if (keep && name == "PARAM" && ! id.empty() && value && id.find_first_not_of ("0123456789") == std::string::npos && id.size() < 4)
+            out[std::stoi (id)] = *value;
+        const auto children = r.compressed();
+        if (! r.ok || children < 0 || children > 4096)
+            return false;
+        for (long long c = 0; c < children; ++c)
+            if (! node (depth + 1, depth == 0))
+                return false;
+        return true;
+    };
+    if (! node (0, false))
+        out.clear();
+    return out;
+}
+double knots (double x, double x0, double y0, double x1, double y1) noexcept
+{
+    const auto t = std::clamp ((x - x0) / (x1 - x0), 0.0, 1.0);
+    return y0 + t * (y1 - y0);
+}
+} // namespace lustrous
+
+int translateLustrousPlates (const std::vector<std::uint8_t>& state, EffectSlot& slot)
+{
+    if (slot.kind != EffectKind::foilPlate || findBytes (state, "LP_FullState") == std::string::npos)
+        return 0;
+    const auto v = lustrous::stateParams (state);
+    if (v.size() < 10)
+        return 0;
+    auto at = [&v] (int id, double fallback) {
+        const auto it = v.find (id);
+        return it != v.end() && std::isfinite (it->second) ? it->second : fallback;
+    };
+    auto& p = slot.params;
+    using lustrous::knots;
+    // the host table's units: 0 Master Gain dB, 1 Dry/Wet 0 … 1, 2 Plate Model 0 … 24, 3 Damper 0 … 10, 9 Width 0 … 10,
+    // 12 Master EQ, 13 Low Cut Hz
+    const auto damper = std::clamp (at (3, 5.0), 0.0, 10.0) / 10.0, model = std::clamp (at (2, 0.0), 0.0, 24.0) / 24.0;
+    const auto offset = [model] (double y) { return knots (model, 0.0, 0.0, 0.5, y); };
+    p[1] = 0.0f;                                                   // the fit's onset: Foil's own plate delay is already later
+    p[2] = (float) std::clamp (knots (damper, 0.25, 0.3876, 0.5, 0.38241) + offset (-0.10713), 0.0, 1.0);
+    p[3] = 0.0f;
+    p[5] = 0.0f;
+    p[6] = 0.04363f;
+    p[7] = 0.742f;
+    p[9] = 0.0606f;
+    p[11] = 0.792f;                                                // Iron (full band, the reference's 16 kHz reach)
+    p[12] = 0.0f;
+    p[14] = 0.0f;
+    p[16] = 0.0f;                                                  // the Classic law (what the fit was made on)
+    p[(std::size_t) verbs::foil::revision] = 0.0f;
+    const auto width = std::clamp (at (9, 7.5), 0.0, 10.0);
+    p[4] = (float) std::clamp (0.36298 * width / 7.5, 0.0, 1.0);
+    // Master Gain: both 700 Hz shelves (low −12 … +12 dB over the dial; high +24 dB per dial above its middle)
+    const auto gainDb = std::clamp (at (0, 0.0), -20.0, 20.0);
+    const auto low = knots (damper, 0.25, 0.65531, 0.5, 0.64922) + offset (0.05273);
+    const auto high = knots (damper, 0.25, 0.56156, 0.5, 0.56589) + offset (0.09439);
+    p[8] = (float) std::clamp (low + gainDb / 24.0, 0.0, 1.0);
+    p[10] = (float) std::clamp (high + gainDb / 24.0, 0.5, 1.0);
+    // low cut: the fit's (Foil's 20 Hz … 1 kHz law), or the reference's Master EQ low cut when that is higher
+    auto lowCut = (float) std::clamp (knots (damper, 0.25, 0.25244, 0.5, 0.17804) + offset (-0.0248), 0.0, 1.0);
+    if (at (12, 0.0) >= 0.5)
+    {
+        const auto hz = std::clamp (at (13, 20.0), 20.0, 1000.0);
+        const auto value = (float) (std::log (hz / 20.0) / std::log (1000.0 / 20.0));
+        if (verbs::foil::lowCutHz (value) > verbs::foil::lowCutHz (lowCut))
+            lowCut = value;
+    }
+    p[13] = lowCut;
+    // Dry/Wet: dry 0 dB and wet -40 dB per unit below the middle, wet 0 dB and dry falling above it; the ends are one path
+    const auto mixV = std::clamp (at (1, 1.0), 0.0, 1.0);
+    if (mixV >= 0.9995)
+        p[0] = 1.0f;
+    else if (mixV <= 0.0005)
+        p[0] = 0.0f;
+    else
+    {
+        const auto ratio = std::pow (10.0, (mixV <= 0.5 ? -40.0 * (0.5 - mixV) : 40.0 * (mixV - 0.5)) / 20.0); // wet : dry
+        p[0] = (float) (std::atan (ratio) / (3.14159265358979 * 0.5));
+    }
+    slot.mix = 1.0f;
+    return (int) v.size();
+}
+
 int translateFittedMap (const std::vector<std::uint8_t>& state, EffectSlot& slot)
 {
     const std::string text (state.begin(), state.end());
@@ -3246,6 +3380,8 @@ RawTranslator rawTranslatorNamed (std::string_view name)
         return translateSslVocalstrip2;
     if (name == "harrison-strip")
         return translateHarrisonStrip;
+    if (name == "lustrous-plates") // round 190le
+        return translateLustrousPlates;
     if (name == "vcc-channel")
         return translateVccChannel;
     if (name == "ssl-guitarstrip")

+ 6 - 0
src/ui/PluginEditors.cpp

@@ -437,6 +437,12 @@ public:
                 setParams (edits);
                 return;
             }
+        if (kind == EffectKind::ridgeStrip) // round 190le: the 32C voicing and the console voicings exclude each other
+            if (const auto edits = mixsuite::ridge::linkedEdit (current()->params, param, value); edits.size() > 1)
+            {
+                setParams (edits);
+                return;
+            }
         if (kind == EffectKind::ember) // round 165: the Classic voicing's Auto moves Output with Drive
             if (const auto edits = mixsuite::ember::linkedEdit (current()->params, param, value); edits.size() > 1)
             {

+ 421 - 0
tests/Harrison190leTests.inc

@@ -0,0 +1,421 @@
+// Round 190le: Ridge Strip's "32C" voicing — Ridge's own engine with the EQ measured on the Harrison 32Classic trial
+// (tp172c H32_eq impulse grid; BLACKBOX_rodada190lb.md §4, /mnt/e/lynx-work/harrison190le): its filters (matched
+// Butterworth 12 dB/oct, 25 Hz … 3.15 kHz / 20 kHz … 160 Hz), first-order shelves, matched bells at the dial with
+// Q(|gain|). A hidden parameter (saved only while on) with its own switch on the panel; the Harrison 32C translation
+// turns it on, every other Ridge Strip keeps the old sound.
+#include <cmath>
+#include <complex>
+
+namespace h190le
+{
+// analog references of the measured laws (dB at hz)
+inline double analogBellDb (double f0, double db, double q, double hz)
+{
+    const auto A = std::pow (10.0, db / 40.0);
+    const std::complex<double> s (0.0, hz / f0);
+    return 20.0 * std::log10 (std::abs ((s * s + s * (A / q) + 1.0) / (s * s + s / (A * q) + 1.0)));
+}
+inline double analogShelfDb (bool low, double centre, double db, double hz)
+{
+    const auto g = std::pow (10.0, db / 20.0), sg = std::sqrt (g);
+    const std::complex<double> s (0.0, hz);
+    const auto H = low ? (s + centre * sg) / (s + centre / sg) : g * (s + centre / sg) / (s + centre * sg);
+    return 20.0 * std::log10 (std::abs (H));
+}
+// a Ridge Strip in the 32C voicing, EQ flat, filters out, dynamics off
+inline lynx::EffectParams flat32()
+{
+    namespace r = lynx::mixsuite::ridge;
+    auto p = lynx::makeEffectSlot (lynx::EffectKind::ridgeStrip).params;
+    p[r::h32] = 1.0f;
+    p[r::hpf] = p[r::lpf] = 0.0f;
+    p[r::dynOn] = 0.0f;
+    for (const int g : { (int) r::lfGain, (int) r::lmfGain, (int) r::hmfGain, (int) r::hfGain })
+        p[(std::size_t) g] = 0.5f;
+    return p;
+}
+inline lynx::EffectSlot c32 (const std::string& params)
+{
+    using tp172c::p32;
+    const std::string base = p32 ("bypass", 0) + p32 ("compressor_in", 0) + p32 ("gate_in", 0) + p32 ("equalizer_in", 1)
+                             + p32 ("equalizer_eq_in", 1) + p32 ("equalizer_filters_in", 1) + p32 ("input_trim", 0)
+                             + p32 ("output_trim", 0) + p32 ("FaderLevel", 0);
+    return tp172c::harrisonSlot ("Harrison 32Classic Channel Strip",
+                                 "<SSL_PLUGIN_STATE PluginName=\"Harrison 32Classic Channel Strip\" Version=\"2.0.20\" StateASelected=\"1\"><A><PROCESSOR_STATE>"
+                                     + base + params + "</PROCESSOR_STATE></A><B><PROCESSOR_STATE/></B></SSL_PLUGIN_STATE>");
+}
+inline std::vector<float> renderImpulse (const lynx::EffectParams& p, double sr, int n = 8192)
+{
+    auto s = lynx::makeEffectSlot (lynx::EffectKind::ridgeStrip);
+    s.params = p;
+    auto fx = lynx::makeEffect (s);
+    fx->prepare (sr);
+    std::vector<float> l ((std::size_t) n, 0.0f), r ((std::size_t) n, 0.0f);
+    l[0] = r[0] = 0.5f;
+    for (int off = 0; off < n; off += 256)
+        fx->process (l.data() + off, r.data() + off, std::min (256, n - off), s.params, 120.0);
+    return l;
+}
+} // namespace h190le
+
+TEST (harrison190le_32c_voicing_is_hidden_off_by_default_and_has_a_control)
+{
+    using namespace lynx;
+    namespace r = mixsuite::ridge;
+    auto s = makeEffectSlot (EffectKind::ridgeStrip);
+    CHECK (s.params[r::h32] == 0.0f && ! r::h32Voicing (s.params));
+    CHECK ((int) r::h32 == (int) r::k4eHpLaw + 1 && (int) r::h32 > (int) r::count && (int) r::h32 < maxEffectParams);
+    CHECK ((int) effectInfo (EffectKind::ridgeStrip).params.size() == r::count); // still hidden: not in the info
+    CHECK (savedEffectParamCount (s) == (std::size_t) r::count);                  // off: not saved (old files unchanged)
+    s.params[r::h32] = 1.0f;
+    CHECK (savedEffectParamCount (s) == (std::size_t) r::h32 + 1);
+    // the panel's switch reaches it by name
+    CHECK (hiddenEffectParamIndex (EffectKind::ridgeStrip, "32C voicing") == (int) r::h32);
+    CHECK (plugui::paramIndex (EffectKind::ridgeStrip, "32C voicing") == (int) r::h32);
+    CHECK (std::string (plugui::paramName (EffectKind::ridgeStrip, r::h32)) == "32C voicing");
+    CHECK (hiddenEffectParamIndex (EffectKind::ridgeStrip, "Ratio") == -1 && hiddenEffectParamIndex (EffectKind::glowLeveler, "32C voicing") == -1);
+    CHECK (formatEffectParam (EffectKind::ridgeStrip, r::h32, 1.0f, 120.0, s.params) == "32C console");
+    // the console voicings take precedence (the panel switches them off: linkedEdit)
+    for (const int other : { (int) r::modern, (int) r::console4k, (int) r::voicing, (int) r::vocal })
+    {
+        auto q = s.params;
+        q[(std::size_t) other] = 1.0f;
+        CHECK (! r::h32Voicing (q));
+    }
+    const auto on32 = r::linkedEdit ([] { auto q = makeEffectSlot (EffectKind::ridgeStrip).params; q[r::console4k] = q[r::modern] = 1.0f; return q; }(), r::h32, 1.0f);
+    CHECK (on32.size() == 3 && on32[0].first == r::h32 && on32[1].second == 0.0f && on32[2].second == 0.0f);
+    const auto on4k = r::linkedEdit (s.params, r::console4k, 1.0f);
+    CHECK (on4k.size() == 2 && on4k[1].first == r::h32 && on4k[1].second == 0.0f);
+    CHECK (r::linkedEdit (s.params, r::h32, 0.0f).size() == 1 && r::linkedEdit (makeEffectSlot (EffectKind::ridgeStrip).params, r::modern, 1.0f).size() == 1);
+}
+
+TEST (harrison190le_32c_dials_read_the_originals_scales)
+{
+    using namespace lynx;
+    namespace r = mixsuite::ridge;
+    // the host table's texts at ninths of the travel
+    const double hp[9] { 25, 33, 85, 215, 456, 841, 1400, 2160, 3150 }, lp[9] { 160, 212, 538, 1360, 2900, 5340, 8880, 13710, 20000 };
+    for (int k = 1; k < 9; ++k)
+    {
+        CHECK (std::abs (r::h32HpfHz ((float) k / 8.0f) - hp[k]) < 1e-3 * hp[k]);
+        CHECK (std::abs (r::h32LpfHz (1.0f - (float) k / 8.0f) - lp[k]) < 1e-3 * lp[k] || k == 8);
+    }
+    CHECK (r::h32HpfHz (0.0f) == 0.0 && r::h32LpfHz (0.0f) == 0.0 && std::abs (r::h32LpfHz (1.0f) - 160.0) < 1e-6);
+    // shelves: centres straight in the dial (25 / 145 / 1500, 400 / 2650 / 10000), plateau ±13.5 linear
+    CHECK (std::abs (r::h32LfHz (0.0f, false) - 25.0) < 1e-9 && std::abs (r::h32LfHz (0.5f, false) - 145.0) < 1e-6 && std::abs (r::h32LfHz (1.0f, false) - 1500.0) < 1e-6);
+    CHECK (std::abs (r::h32LfHz (0.75f, false) - 822.5) < 1e-6 && std::abs (r::h32HfHz (0.25f, false) - 1525.0) < 1e-6);
+    CHECK (std::abs (r::h32HfHz (0.0f, false) - 400.0) < 1e-9 && std::abs (r::h32HfHz (0.5f, false) - 2650.0) < 1e-6 && std::abs (r::h32HfHz (1.0f, false) - 10000.0) < 1e-6);
+    CHECK (std::abs (r::h32ShelfDb (1.0f) - 13.5) < 1e-9 && std::abs (r::h32ShelfDb (0.65f) - 4.05) < 1e-5 && std::abs (r::h32ShelfDb (0.15f) + 9.45) < 1e-5);
+    // bells: the measured dials (0.65 / 0.85 / 1) and the table's 0.75 / 0.875, odd, monotone
+    CHECK (std::abs (r::h32BellDb (0.65f) - 2.4906) < 1e-3 && std::abs (r::h32BellDb (0.85f) - 6.9366) < 1e-3 && std::abs (r::h32BellDb (1.0f) - 13.7374) < 1e-3);
+    CHECK (std::abs (r::h32BellDb (0.75f) - 4.5) < 1e-3 && std::abs (r::h32BellDb (0.875f) - 7.8) < 1e-3 && std::abs (r::h32BellDb (0.625f) - 2.1) < 0.06);
+    CHECK (r::h32BellDb (0.5f) == 0.0 && std::abs (r::h32BellDb (0.2f) + r::h32BellDb (0.8f)) < 1e-9);
+    for (int k = 1; k <= 200; ++k)
+        CHECK (r::h32BellDb (0.5f + 0.0025f * (float) k) > r::h32BellDb (0.5f + 0.0025f * (float) (k - 1)));
+    CHECK (std::abs (r::h32Q (2.4906) - 0.525) < 2e-3 && std::abs (r::h32Q (-6.9366) - 0.57) < 2e-3 && std::abs (r::h32Q (13.7374) - 0.75) < 2e-3);
+    // the translation's inverses
+    for (const double db : { -13.7374, -6.9366, -2.4906, -0.3, 0.0, 1.0, 2.4906, 5.0, 6.9366, 10.0, 13.7374 })
+        CHECK (std::abs (r::h32BellDb (r::h32GainValue (db)) - db) < 1e-4);
+    for (const double hz : { 104.0, 312.0, 609.0, 1778.5, 4366.0 })
+        CHECK (std::abs (r::h32LmfHz (r::h32LmfValue (hz)) - hz) < 1e-3 * hz);
+    for (const double hz : { 271.0, 711.31, 1421.74, 3544.2, 8000.0 })
+        CHECK (std::abs (r::h32HmfHz (r::h32HmfValue (hz)) - hz) < 1e-3 * hz);
+    for (const double hz : { 29.34, 252.97, 1152.9, 3150.0 })
+        CHECK (std::abs (r::h32HpfHz (r::h32HpfValue (hz)) - hz) < 1e-3 * hz);
+    for (const double hz : { 187.57, 1607.3, 7320.9, 20000.0 })
+        CHECK (std::abs (r::h32LpfHz (r::h32LpfValue (hz)) - hz) < 2e-3 * hz);
+    // the end bands' saved frequency is the bell's: quarters of the travel
+    CHECK (std::abs (r::h32LfValue (111.355) - 0.5f) < 1e-5 && std::abs (r::h32HfValue (9021.65) - 0.75f) < 1e-5 && std::abs (r::h32LfHz (r::h32LfValue (369.313), true) - 369.313) < 1e-3);
+    // read-outs follow the band's mode
+    auto p = h190le::flat32();
+    p[r::hfFreq] = 0.5f;
+    CHECK (formatEffectParam (EffectKind::ridgeStrip, r::hfFreq, 0.5f, 120.0, p) == "2.65 kHz");
+    p[r::hfBell] = 1.0f;
+    CHECK (formatEffectParam (EffectKind::ridgeStrip, r::hfFreq, 0.5f, 120.0, p) == "3.62 kHz");
+    CHECK (formatEffectParam (EffectKind::ridgeStrip, r::hfGain, 1.0f, 120.0, p) == "+13.7 dB");
+    p[r::hfBell] = 0.0f;
+    CHECK (formatEffectParam (EffectKind::ridgeStrip, r::hfGain, 1.0f, 120.0, p) == "+13.5 dB");
+    CHECK (formatEffectParam (EffectKind::ridgeStrip, r::hpf, 1.0f, 120.0, p) == "3.15 kHz" && formatEffectParam (EffectKind::ridgeStrip, r::lpf, 0.0f, 120.0, p) == "off");
+}
+
+TEST (harrison190le_32c_curve_is_the_measured_law)
+{
+    using namespace lynx;
+    namespace r = mixsuite::ridge;
+    using h190le::analogBellDb;
+    using h190le::analogShelfDb;
+    for (const double sr : { 44100.0, 48000.0, 96000.0 })
+    {
+        // bells at the dial: the analog peaking prototype (no cramping) with Q(|gain|), every band
+        for (const float gv : { 0.0f, 0.15f, 0.65f, 1.0f })
+            for (const float fv : { 0.0f, 0.5f, 1.0f })
+            {
+                auto p = h190le::flat32();
+                p[r::hmfGain] = gv;
+                p[r::hmfFreq] = fv;
+                const auto f0 = r::h32HmfHz (fv), g = r::h32BellDb (gv);
+                double worst = 0.0;
+                for (double hz = 20.0; hz <= std::min (16000.0, sr * 0.25); hz *= 1.1)
+                    worst = std::max (worst, std::abs (r::responseDb (p, sr, hz) - analogBellDb (f0, g, r::h32Q (g), hz)));
+                CHECK (worst < (sr > 50000.0 ? 0.1 : 0.3));
+                CHECK (std::abs (r::responseDb (p, sr, f0) - g) < 0.02);
+            }
+        // Lo shelf: the analog first-order shelf (prewarped at its centre: exact there)
+        for (const float fv : { 0.0f, 0.5f, 1.0f })
+            for (const float gv : { 0.0f, 0.85f })
+            {
+                auto p = h190le::flat32();
+                p[r::lfFreq] = fv;
+                p[r::lfGain] = gv;
+                const auto c = r::h32LfHz (fv, false), g = r::h32ShelfDb (gv);
+                CHECK (std::abs (r::responseDb (p, sr, c) - 0.5 * g) < 0.01);
+                CHECK (std::abs (r::responseDb (p, sr, 10.0) - analogShelfDb (true, c, g, 10.0)) < 0.02);
+                for (double hz = 20.0; hz <= 4000.0; hz *= 1.2)
+                    CHECK (std::abs (r::responseDb (p, sr, hz) - analogShelfDb (true, c, g, hz)) < 0.15);
+            }
+        // Hi shelf: equal to the analog one at its centre and at Nyquist, 0 dB at DC
+        for (const float fv : { 0.0f, 0.5f, 0.75f, 1.0f })
+            for (const float gv : { 0.0f, 0.35f, 0.65f, 1.0f })
+            {
+                auto p = h190le::flat32();
+                p[r::hfFreq] = fv;
+                p[r::hfGain] = gv;
+                const auto c = r::h32HfHz (fv, false), g = r::h32ShelfDb (gv);
+                CHECK (std::abs (r::responseDb (p, sr, c) - 0.5 * g) < 0.01);
+                CHECK (std::abs (r::responseDb (p, sr, sr * 0.4999) - analogShelfDb (false, c, g, sr * 0.4999)) < 0.02);
+                CHECK (std::abs (r::responseDb (p, sr, 5.0)) < 0.01);
+            }
+        // filters: Butterworth corners at the dial (-3.01 dB), 12 dB/oct, the 20 kHz low-pass uncramped
+        auto p = h190le::flat32();
+        p[r::hpf] = r::h32HpfValue (215.0);
+        p[r::lpf] = r::h32LpfValue (1360.0);
+        CHECK (std::abs (r::responseDb (p, sr, 215.0) + 3.0103) < 0.03 && std::abs (r::responseDb (p, sr, 1360.0) + 3.0103) < 0.03);
+        CHECK (std::abs (r::responseDb (p, sr, 215.0 / 8.0) - r::responseDb (p, sr, 215.0 / 16.0) - 12.0) < 0.2);
+        p[r::hpf] = r::h32HpfValue (25.0);
+        p[r::lpf] = r::h32LpfValue (20000.0);
+        if (sr >= 48000.0) // the trial's default at 48 kHz: -2.40 dB at 18 kHz (measured)
+            CHECK (std::abs (r::responseDb (p, sr, 18000.0) + 2.40) < 0.06);
+        CHECK (std::abs (r::responseDb (p, sr, 1000.0)) < 0.01);
+    }
+    // the engine plays the curve the display shows: an impulse through the strip, its spectrum at a few frequencies
+    auto p = h190le::flat32();
+    p[r::lfGain] = 0.85f; p[r::lfFreq] = 0.3f;
+    p[r::lmfGain] = 0.2f; p[r::lmfFreq] = 0.6f;
+    p[r::hmfGain] = 0.9f; p[r::hmfFreq] = 0.7f;
+    p[r::hfGain] = 0.3f; p[r::hfFreq] = 0.4f; p[r::hfBell] = 1.0f;
+    p[r::hpf] = 0.2f; p[r::lpf] = 0.1f;
+    const auto h = h190le::renderImpulse (p, 48000.0);
+    for (const double hz : { 60.0, 250.0, 1000.0, 3000.0, 9000.0 })
+    {
+        std::complex<double> acc;
+        for (std::size_t i = 0; i < h.size(); ++i)
+            acc += (double) h[i] / 0.5 * std::polar (1.0, -2.0 * 3.141592653589793 * hz * (double) i / 48000.0);
+        CHECK (std::abs (20.0 * std::log10 (std::abs (acc)) - r::responseDb (p, 48000.0, hz)) < 0.02);
+    }
+}
+
+TEST (harrison190le_32c_is_stable_and_leaves_other_strips_alone)
+{
+    using namespace lynx;
+    namespace r = mixsuite::ridge;
+    std::mt19937 rng (190);
+    std::uniform_real_distribution<float> u (0.0f, 1.0f);
+    for (const double sr : { 22050.0, 44100.0, 48000.0, 96000.0, 192000.0 })
+        for (int t = 0; t < 12; ++t)
+        {
+            auto p = makeEffectSlot (EffectKind::ridgeStrip).params;
+            for (const int k : { (int) r::hpf, (int) r::lpf, (int) r::lfGain, (int) r::lfFreq, (int) r::lfBell, (int) r::lmfGain, (int) r::lmfFreq,
+                                 (int) r::hmfGain, (int) r::hmfFreq, (int) r::hfGain, (int) r::hfFreq, (int) r::hfBell })
+                p[(std::size_t) k] = t < 2 ? (float) t : u (rng);
+            p[r::h32] = 1.0f;
+            const auto h = h190le::renderImpulse (p, sr, (int) (sr * 0.5) / 256 * 256); // (a 19 Hz bell rings ~0.3 s)
+            double tail = 0.0, peak = 0.0;
+            for (std::size_t i = 0; i < h.size(); ++i)
+            {
+                CHECK (std::isfinite (h[i]));
+                peak = std::max (peak, (double) std::abs (h[i]));
+                if (i > h.size() - 1024) tail = std::max (tail, (double) std::abs (h[i]));
+            }
+            CHECK (peak < 4.0 && tail < 1e-4);
+        }
+    // the console voicings, and the own engine with the switch off, play as before: the switch changes nothing there
+    for (const int voice : { -1, (int) r::console4k, (int) r::modern, (int) r::voicing })
+    {
+        auto a = makeEffectSlot (EffectKind::ridgeStrip).params;
+        a[r::lfGain] = 0.8f; a[r::hmfGain] = 0.3f; a[r::hpf] = 0.3f; a[r::lpf] = 0.4f; a[r::compRatio] = 0.5f; a[r::compThreshold] = 0.4f;
+        if (voice >= 0)
+            a[(std::size_t) voice] = 1.0f;
+        auto b = a;
+        b[r::h32] = voice >= 0 ? 1.0f : 0.0f;
+        const auto ha = h190le::renderImpulse (a, 48000.0), hb = h190le::renderImpulse (b, 48000.0);
+        CHECK (std::equal (ha.begin(), ha.end(), hb.begin()));
+    }
+}
+
+TEST (harrison190le_32c_state_translates_to_the_32c_voicing)
+{
+    using namespace lynx;
+    using tp172c::p32;
+    namespace r = mixsuite::ridge;
+    // the grid's states: a Hi-Mid bell at 711 Hz +6.94 dB, the Lo shelf at the 4th dial (369.3 Hz saved) -13.74,
+    // the high-pass at 252.97 Hz; the default filters stay in (25 Hz / 20 kHz)
+    auto s = h190le::c32 (p32 ("equalizer_band_freq_2", 711.31396484375) + p32 ("equalizer_band_gain_2", 6.936617851257324)
+                          + p32 ("equalizer_band_freq_4", 369.3134765625) + p32 ("equalizer_band_gain_4", -13.73739242553711)
+                          + p32 ("equalizer_highpass_filter_freq", 252.9704895019531) + p32 ("equalizer_lowpass_filter_freq", 20000.0));
+    auto& p = s.params;
+    CHECK (s.kind == EffectKind::ridgeStrip && r::h32Voicing (p) && ! r::k4Voicing (p) && ! r::modernVoicing (p));
+    CHECK (std::abs (r::h32HmfHz (p[r::hmfFreq]) - 711.314) < 0.01 && std::abs (r::h32BellDb (p[r::hmfGain]) - 6.9366) < 1e-3);
+    CHECK (p[r::lfBell] < 0.5f && std::abs (r::h32LfHz (p[r::lfFreq], false) - 822.5) < 0.1 && std::abs (r::h32ShelfDb (p[r::lfGain]) + 13.5) < 1e-3);
+    CHECK (std::abs (r::h32HpfHz (p[r::hpf]) - 252.97) < 0.05 && std::abs (r::h32LpfHz (p[r::lpf]) - 20000.0) < 20.0);
+    // the measured centre / plateau of that shelf: half the plateau at 822.5 Hz (with the filters' small share)
+    auto q = p;
+    q[r::hpf] = q[r::lpf] = 0.0f;
+    q[r::hmfGain] = 0.5f;
+    CHECK (std::abs (r::responseDb (q, 48000.0, 822.5) + 6.75) < 0.01);
+    // Bell mode: the saved frequency is the bell's own
+    s = h190le::c32 (p32 ("equalizer_lo_bell", 1) + p32 ("equalizer_band_freq_4", 58.80659866333008) + p32 ("equalizer_band_gain_4", 13.73739242553711)
+                     + p32 ("equalizer_hi_bell", 1) + p32 ("equalizer_band_freq_1", 9021.6455078125) + p32 ("equalizer_band_gain_1", -13.73739242553711));
+    CHECK (s.params[r::lfBell] > 0.5f && std::abs (r::h32LfHz (s.params[r::lfFreq], true) - 58.8066) < 1e-3);
+    CHECK (s.params[r::hfBell] > 0.5f && std::abs (r::h32HfHz (s.params[r::hfFreq], true) - 9021.65) < 1e-2 && std::abs (r::h32BellDb (s.params[r::hfGain]) + 13.7374) < 1e-3);
+    // filters out / EQ out
+    s = h190le::c32 (p32 ("equalizer_filters_in", 0) + p32 ("equalizer_band_gain_3", 3.0));
+    CHECK (s.params[r::hpf] == 0.0f && s.params[r::lpf] == 0.0f && s.params[r::eqOn] > 0.5f);
+    // the MPC strip keeps Ridge's own curve
+    const std::string mpc = "<HarrisonMPCChannelStrip plugin_size=\"1.0\" version=\"327936\">" + p32 ("bypass", 0) + p32 ("mpc_equalizerin", 1)
+                            + p32 ("mpceq_bandGain3", 6) + p32 ("mpceq_bandFreq3", 185) + p32 ("mpceq_bandShape3", 7) + p32 ("mpc_trim", 0)
+                            + p32 ("mpc_compressorin", 0) + "</HarrisonMPCChannelStrip>";
+    CHECK (tp172c::harrisonSlot ("Harrison_MPCChannelStrip", mpc).params[r::h32] == 0.0f);
+}
+
+TEST (harrison190le_32c_panel_follows_the_voicing_switches)
+{
+    using namespace lynx;
+    namespace r = mixsuite::ridge;
+    const auto& l = plugui::layoutFor (EffectKind::ridgeStrip);
+    auto p = makeEffectSlot (EffectKind::ridgeStrip).params;
+    int toggles = 0, qShown = 0, qShown32 = 0;
+    const plugui::LayoutItem* curveTabs = nullptr;
+    auto q32 = p;
+    q32[r::h32] = 1.0f;
+    for (const auto& item : l.items)
+    {
+        if (item.param != nullptr && std::string (item.param) == "32C voicing")
+        {
+            ++toggles;
+            CHECK (item.type == plugui::Item::toggle && item.label != nullptr && std::string (item.label) == "32C console");
+            CHECK (plugui::isShown (EffectKind::ridgeStrip, item, 0, p, nullptr) && plugui::isShown (EffectKind::ridgeStrip, item, 0, q32, nullptr));
+        }
+        if (item.param != nullptr && (std::string (item.param) == "HMF Q" || std::string (item.param) == "LMF Q"))
+        {
+            qShown += plugui::isShown (EffectKind::ridgeStrip, item, 0, p, nullptr) ? 1 : 0;
+            qShown32 += plugui::isShown (EffectKind::ridgeStrip, item, 0, q32, nullptr) ? 1 : 0;
+        }
+        if (item.param != nullptr && std::string (item.param) == "EQ curve" && item.options != nullptr && std::string (item.options) == "Brown|Black")
+            curveTabs = &item;
+    }
+    CHECK (toggles == 1 && qShown == 2 && qShown32 == 0);
+    CHECK (curveTabs != nullptr && ! plugui::isIdle (EffectKind::ridgeStrip, *curveTabs, p) && plugui::isIdle (EffectKind::ridgeStrip, *curveTabs, q32));
+}
+
+// --- Lustrous Plates: its plain ValueTree state -> Foil Plate (round 190ca's physical fit, Classic law) ------------
+namespace h190le
+{
+// a JUCE ValueTree in ValueTree::writeToStream's format (compressed ints, '\0'-ended names, typed vars)
+inline void putInt (std::vector<std::uint8_t>& b, long long v)
+{
+    const bool neg = v < 0;
+    auto u = (unsigned long long) (neg ? -v : v);
+    std::vector<std::uint8_t> bytes;
+    while (u != 0) { bytes.push_back ((std::uint8_t) (u & 0xff)); u >>= 8; }
+    b.push_back ((std::uint8_t) (bytes.size() | (neg ? 0x80 : 0)));
+    b.insert (b.end(), bytes.begin(), bytes.end());
+}
+inline void putName (std::vector<std::uint8_t>& b, const std::string& s) { b.insert (b.end(), s.begin(), s.end()); b.push_back (0); }
+inline std::vector<std::uint8_t> lustrousState (const std::map<int, double>& params)
+{
+    std::vector<std::uint8_t> b { 'V', 's', 't', 'W', 0, 0, 0, 8, 0, 0, 0, 1, 0, 0, 0, 0 };
+    putName (b, "LP_FullState");
+    putInt (b, 1);
+    putName (b, "written_by_version__string");
+    putInt (b, 7);
+    b.push_back (5);
+    for (const char c : std::string ("1.3.7")) b.push_back ((std::uint8_t) c);
+    b.push_back (0);
+    putInt (b, 1);
+    putName (b, "StateVT");
+    putInt (b, 1);
+    putName (b, "preset_name");
+    putInt (b, 14);
+    b.push_back (5);
+    for (const char c : std::string ("Chrome Plated")) b.push_back ((std::uint8_t) c);
+    putInt (b, (long long) params.size());
+    for (const auto& [id, value] : params)
+    {
+        putName (b, "PARAM");
+        putInt (b, 2);
+        putName (b, "id");
+        const auto text = std::to_string (id);
+        putInt (b, (long long) text.size() + 2);
+        b.push_back (5);
+        b.insert (b.end(), text.begin(), text.end());
+        b.push_back (0);
+        putName (b, "value");
+        putInt (b, 9);
+        b.push_back (4);
+        std::uint8_t d[8];
+        std::memcpy (d, &value, 8);
+        b.insert (b.end(), d, d + 8);
+        putInt (b, 0);
+    }
+    return b;
+}
+// refcap182's four settings (D, S1, S2, S3: Damper / pre-delay / model), the rest at the plate's defaults
+inline std::map<int, double> lustrousSetting (double damper, double predelayMs, double model, double dryWet = 1.0, double gainDb = 0.0)
+{
+    std::map<int, double> m { { 0, gainDb }, { 1, dryWet }, { 2, model }, { 3, damper }, { 4, 2.5 }, { 5, 0.5 }, { 6, predelayMs }, { 7, 0 },
+                              { 8, 0 }, { 9, 7.5 }, { 10, 10 }, { 11, 0.7 }, { 12, 0 }, { 13, 20 }, { 21, 18000 } };
+    return m;
+}
+inline lynx::EffectSlot lustrousSlot (const std::map<int, double>& params)
+{
+    auto f = p190ca::vst3Named ("Lustrous Plates");
+    f.state = substtest::flVst3State (lustrousState (params));
+    return p190ca::substituted (f);
+}
+} // namespace h190le
+
+TEST (harrison190le_lustrous_plates_state_translates_to_the_fitted_foil)
+{
+    using namespace lynx;
+    auto paramOf = [] (const EffectSlot& s, const char* name) { return s.params[(std::size_t) p190ca::paramNamed (s.kind, name)]; };
+    // refcap182's settings reproduce round 190ca's fitted Foil settings (maps2/Lustrous_Plates.json)
+    struct Want { double damper, pre, model; float decay, lowGain, highGain, lowCut; };
+    for (const auto& w : { Want { 5.0, 10.0, 0.0, 0.38241f, 0.64922f, 0.56589f, 0.17804f }, Want { 5.0, 0.0, 0.0, 0.38241f, 0.64922f, 0.56589f, 0.17804f },
+                           Want { 2.5, 10.0, 0.0, 0.3876f, 0.65531f, 0.56156f, 0.25244f }, Want { 8.0, 10.0, 12.0, 0.27528f, 0.70195f, 0.66028f, 0.15324f } })
+    {
+        const auto s = h190le::lustrousSlot (h190le::lustrousSetting (w.damper, w.pre, w.model));
+        CHECK (s.kind == EffectKind::foilPlate && s.isSubstitute() && s.mix == 1.0f);
+        CHECK (std::abs (paramOf (s, "Decay") - w.decay) < 1e-4f && std::abs (paramOf (s, "Low EQ gain") - w.lowGain) < 1e-4f);
+        CHECK (std::abs (paramOf (s, "High EQ gain") - w.highGain) < 1e-4f && std::abs (paramOf (s, "Low cut") - w.lowCut) < 1e-4f);
+        CHECK (paramOf (s, "Mix") == 1.0f && std::abs (paramOf (s, "Type") - 0.792f) < 1e-6f && paramOf (s, "Voicing") == 0.0f);
+        CHECK (std::abs (paramOf (s, "Width") - 0.36298f) < 1e-5f && std::abs (paramOf (s, "Mod depth") - 0.04363f) < 1e-6f);
+        CHECK (s.params[(std::size_t) verbs::foil::engineLaw] == 0.0f && s.params[(std::size_t) verbs::foil::revision] == 0.0f);
+        CHECK (paramOf (s, "Predelay") == 0.0f);
+    }
+    // Dry/Wet on Foil's equal-power Mix (same wet : dry ratio): Equal Mix = 0.5, "-10 / 0 dB" = 10 dB more wet
+    auto s = h190le::lustrousSlot (h190le::lustrousSetting (5.0, 10.0, 0.0, 0.5));
+    CHECK (std::abs (paramOf (s, "Mix") - 0.5f) < 1e-5f);
+    s = h190le::lustrousSlot (h190le::lustrousSetting (5.0, 10.0, 0.0, 0.75));
+    CHECK (std::abs (std::tan (paramOf (s, "Mix") * 3.14159265 / 2.0) - std::pow (10.0, 0.5)) < 1e-3);
+    CHECK (paramOf (h190le::lustrousSlot (h190le::lustrousSetting (5.0, 10.0, 0.0, 0.0)), "Mix") == 0.0f);
+    // Master Gain: both shelves together (+6 dB = a quarter of the low shelf's travel)
+    s = h190le::lustrousSlot (h190le::lustrousSetting (5.0, 10.0, 0.0, 1.0, 6.0));
+    CHECK (std::abs (paramOf (s, "Low EQ gain") - (0.64922f + 0.25f)) < 1e-4f && std::abs (paramOf (s, "High EQ gain") - (0.56589f + 0.25f)) < 1e-4f);
+    // a state without the plate's tree, or a malformed one, keeps the role preset
+    auto bad = h190le::lustrousState (h190le::lustrousSetting (5.0, 10.0, 0.0));
+    bad.resize (bad.size() / 2);
+    auto f = p190ca::vst3Named ("Lustrous Plates");
+    f.state = substtest::flVst3State (bad);
+    s = p190ca::substituted (f);
+    CHECK (s.kind == EffectKind::foilPlate && std::abs (s.mix - 0.25f) < 1e-6f && std::abs (paramOf (s, "Decay") - 0.3f) < 1e-6f);
+}

+ 3 - 1
tests/MixSuiteTests96.inc

@@ -470,7 +470,9 @@ TEST (mixsuite_panels_place_every_parameter)
             {
                 const auto p = plugui::paramIndex (kind, item.param);
                 CHECK (p >= 0);
-                if (p >= 0)
+                if (p >= count) // round 190le: a hidden parameter with a control (Ridge's 32C voicing)
+                    CHECK (hiddenEffectParamName (kind, p) != nullptr);
+                else if (p >= 0)
                 {
                     bool variant = false; // another variant of a control already counted
                     for (const auto* other : byParam[(std::size_t) p])

+ 5 - 3
tests/Tp172cTests.inc

@@ -203,10 +203,11 @@ TEST (ridge_harrison_strips_translated_tp172c5)
                   + p32 ("compressor_threshold", -20.0) + p32 ("CompAutoMakeUp", 1.0));
     auto& p = s.params;
     CHECK (s.kind == EffectKind::ridgeStrip && ! r::k4Voicing (p) && ! r::modernVoicing (p) && p[r::curve] < 0.5f);
-    CHECK (std::abs (r::hmfHz (p[r::hmfFreq]) - 1421.74) < 0.5 && std::abs (r::bandGainDb (p[r::hmfGain], false) + 4.0) < 1e-3);
+    // round 190le: the EQ plays in Ridge's 32C voicing, its dials the original's own
+    CHECK (r::h32Voicing (p) && std::abs (r::h32HmfHz (p[r::hmfFreq]) - 1421.74) < 0.01 && std::abs (r::h32BellDb (p[r::hmfGain]) + 4.0) < 1e-3);
     CHECK (std::abs (r::ratio (p[r::compRatio]) - 4.0) < 0.01 && std::abs (r::compThresholdDb (p[r::compThreshold]) + 19.0) < 1e-3);
     CHECK (std::abs (r::trimDb (p[r::output]) - 7.5) < 0.01);      // its auto make-up: half of 20 dB x (1 - 1/4)
-    CHECK (std::abs (r::hpfHz (p[r::hpf]) - 23.25) < 0.1 && p[r::lpf] > 0.0f); // 12 dB/oct 25 Hz -> Ridge's 18 dB/oct lower
+    CHECK (std::abs (r::h32HpfHz (p[r::hpf]) - 25.0) < 0.1 && std::abs (r::h32LpfHz (p[r::lpf]) - 20000.0) < 20.0); // its always-in defaults
     s = c32 (p32 ("compressor_mode", 0) + p32 ("compressor_ratio", 10.0) + p32 ("gate_depth", 20) + p32 ("gate_threshold", -30)
              + p32 ("gate_mode", 1) + p32 ("equalizer_band_freq_4", 111.35) + p32 ("equalizer_band_gain_4", 13.74));
     CHECK (s.params[r::compRatio] == 0.0f);                                         // the Leveler: no static reduction
@@ -237,7 +238,8 @@ TEST (ridge_harrison_strips_translated_tp172c5)
         CHECK (outDb - inDb > -27.5 - 1.0 && outDb - inDb < -27.5 + 1.0); // +4 dB in, -4 dB out: the cap alone
     }
     CHECK (std::abs (r::gateRangeDb (s.params[r::gateRange]) - 20.0) < 1e-3 && s.params[r::expander] > 0.5f);
-    CHECK (std::abs (r::lfHz (s.params[r::lfFreq]) - 174.2) < 0.5 && std::abs (r::bandGainDb (s.params[r::lfGain], false) - 11.67) < 0.01);
+    // round 190le: the Lo shelf at the dial's middle: centre 145 Hz, plateau the full 13.5 dB
+    CHECK (std::abs (r::h32LfHz (s.params[r::lfFreq], false) - 145.0) < 0.5 && std::abs (r::h32ShelfDb (s.params[r::lfGain]) - 13.5) < 0.01);
 
     const std::string mpc = "<HarrisonMPCChannelStrip plugin_size=\"1.0\" version=\"327936\">" + p32 ("bypass", 0) + p32 ("mpc_compressorin", 1)
                             + p32 ("mpccomp_ratio", 1.5) + p32 ("mpccomp_threshold", -10) + p32 ("mpccomp_release", 100) + p32 ("mpccomp_attack", 5)

+ 1 - 0
tests/tests.cpp

@@ -17777,6 +17777,7 @@ TEST (fl_low_lifter_matches_fl_engine)
 #include "Parity190jsTests.inc" // round 190js: the Waves reverbs on Reeverb 2, Hush's Single Vocal revision, Facet's auto-threshold refit
 #include "Parity190ktTests.inc" // round 190kt: REA of the Waves SSLComp DSP, Crest's console law, SSLComp on Crest
 #include "Parity190lbTests.inc" // round 190lb: black-box study (no decryption); SSL 4K G Pink EQ + output ceiling
+#include "Harrison190leTests.inc" // round 190le: Ridge Strip's 32C voicing (Harrison 32Classic EQ law)
 #include "Sampler190dhTests.inc"
 #include "Fix190eaTests.inc"
 #include "Iss158Tests.inc"