Просмотр исходного кода

Vocal strip voicing: the de-esser / de-ploser SPLIT is a 3rd-order Butterworth crossover (LP + g·HP), solved on steady tones; split renders −24 … −64 dB

Ka1-S 1 месяц назад
Родитель
Сommit
c7d6cdf2c7
4 измененных файлов с 26 добавлено и 17 удалено
  1. 3 3
      docs/PARITY.md
  2. 6 5
      docs/analise/REA_rodada145.md
  3. 13 6
      src/core/VoxStrip.cpp
  4. 4 3
      src/core/VoxStrip.h

+ 3 - 3
docs/PARITY.md

@@ -24,8 +24,8 @@ Round 128 covers the FabFilter / Slate / Antares roles (below). Round 129 covers
 ## Round 145: SSL Native Vocalstrip 2 (Ridge Strip's Vocal strip voicing)
 
 Round 145 (`docs/analise/REA_rodada145.md`) measured the official Vocalstrip 2 trial (Complete Access) black-box and
-gave Ridge Strip a **Vocal strip voicing** with every control of the reference: config **2 → 9** (de-esser /
-de-ploser split mode approximate; no FFT analyser), design **1 → 7** (the reference's modules and reading order in
+gave Ridge Strip a **Vocal strip voicing** with every control of the reference: config **2 → 9** (no FFT
+analyser), design **1 → 7** (the reference's modules and reading order in
 LYNX's style; the transfer-curve and GR-history displays are bars). Her Vocalstrip 2 state now plays the measured
 model (−60 … −67 dB null on her takes). The other Complete Access plugins (Slate, SSL, LiquidSonics, sonible,
 Harrison) map to LYNX effects by role only.
@@ -625,7 +625,7 @@ Trial on this PC: yes (older capture used).
 | Level meter | stereo bar meter −50…0 dBFS with an INPUT / OUTPUT selector and a numeric peak readout ("−7.2") | none | ✅ | UI (the engine already exports in/out peaks via meters.set); round 129: the GAIN block's input / output meter with peak read-outs |
 | EQ response display | — | "Equalizer" curve | ➕ | |
 | Latency | 1 sample | 0 | ✅ | irrelevant |
-| Vocalstrip 2 (SSL Native) role | de-esser, de-ploser, 3-band EQ, compander with knee/makeup/drive, process order | round 145: Ridge's **Vocal strip voicing** — every control of the reference (34 parameters, its own laws), its own panel (level, compander, de-esser / de-ploser, equaliser, order menu, GR meters), measured on the official trial; her state translated (−60 … −67 dB null on her takes) | ✅ | REA_rodada145 §2; the de-esser / de-ploser SPLIT mode is the least exact part (−1 … −22 dB) |
+| Vocalstrip 2 (SSL Native) role | de-esser, de-ploser, 3-band EQ, compander with knee/makeup/drive, process order | round 145: Ridge's **Vocal strip voicing** — every control of the reference (34 parameters, its own laws), its own panel (level, compander, de-esser / de-ploser, equaliser, order menu, GR meters), measured on the official trial; her state translated (−60 … −67 dB null on her takes) | ✅ | REA_rodada145 §2; the broadband de-esser / de-ploser on bursts is the least exact part (−13 … −25 dB) |
 | Saved-state translation | — | filters, 4 bands, comp (threshold, ratio, release, fast), output, dyn/EQ bypass translated; Split, Dyn S.C., Ch Out, expander, Analog, Input, Phase not translated (order forced to Dyn>EQ) | ⚠️ | round 113 §3c |
 
 **Scores:** configuration 6/10, design 6/10. An SSL user finds every knob in the expected column. What is missing

+ 6 - 5
docs/analise/REA_rodada145.md

@@ -65,8 +65,9 @@ the lexicographic permutations of De-esser, De-ploser, EQ, Compander (her 0.478
   high-pass at the frequency, reduction 2/3 of the excess of (band − full) over the threshold; de-ploser band = a
   3rd-order low-pass at 0.78 / 0.84 / 0.92 × the frequency (50 / 100 / 250 Hz) with a passband lift of 8.3 / 5.2 /
   2.3 dB, reduction 3/4 of the excess. Times fitted on alternating tones: de-esser 1.5 / 40 ms, de-ploser 3 / 40 ms.
-- SPLIT: out = LP(x) + g · (x − LP(x)) for the de-esser (3rd-order low-pass at the frequency; pink noise: 0.02–0.14
-  error) and HP(x) + g · (x − HP(x)) for the de-ploser.
+- SPLIT: a 3rd-order Butterworth crossover at the frequency (low-pass + high-pass: an all-pass sum, so with no
+  reduction only the phase changes), the band's side turned down — de-esser out = LP + g · HP, de-ploser out = HP +
+  g · LP. Solved exactly from steady tones at 7 / 10 / 15 kHz × four thresholds (magnitude and phase) and pink noise.
 - Look-ahead delays the audio 1 ms (de-esser) / 10 ms (de-ploser) and the plugin reports it as latency — **also while
   the module is off** (her state: de-ploser off with look-ahead on = 441 samples at 44.1 kHz).
 
@@ -93,7 +94,7 @@ LYNX vs the trial (null over the signal after the first second; `D:\lynx-work\vo
 | high-pass; notch (200 Hz … 5 kHz) | below −139 dB; −58 … −105 dB |
 | notch at 10 kHz; high band 1 … 3 kHz; 5 … 20 kHz | −25 … −55; −33 … −62; −16 … −31 dB |
 | de-esser / de-ploser broadband | −13 … −25 dB (level within 0.3–1.4 dB) |
-| de-esser / de-ploser split | −1 … −22 dB (level within 0.1–2.2 dB) |
+| de-esser / de-ploser split (sibilance / plosives, pink, steady tones) | −24 … −64 dB (level within 0.05 dB) |
 
 ## 3. Auto-Tune Pro before the trial ends (2026-10-25 21:00) [EXEC]
 
@@ -119,8 +120,8 @@ defaults (reverbs at a 25 % slot mix, delays at Echoform's tape echo), so a proj
 ## Where I stopped
 - Done: §1 inventory, §2 Vocalstrip 2 measured and Ridge's Vocal strip voicing + translator (tests
   `tests/Vox145Tests.inc`, pt-BR), §3 Auto-Tune tracking / input type in noise, §4 Complete Access role entries.
-- Not done: the de-esser / de-ploser SPLIT detector (the split renders null at −1 … −22 dB: the reduction in split
-  mode is smaller than the broadband law for the same tone; data in `vs\out\dsdp`, `dsdet`, `dstime`); the notch /
+- Not done: the broadband de-esser / de-ploser on sibilance and plosive bursts (−13 … −25 dB: the detectors' time
+  behaviour is fitted to 0.6 dB RMS, the rest is in the attack shape; data in `vs\out\dsdp`, `dsdet`, `dstime`); the notch /
   high band within 0.3–1.5 dB above 10 kHz (the reference is neither bilinear nor exactly the analog prototype there);
   LYNX Tune's pitch jitter in noise (§3); Soundtoys leftovers (Decapitator ≥ 5 / Punish curve, EchoBoy Dual and the
   ping-pong kernel, PanMan's first ~200 ms after a reset — the existing round-136 renders start after the host's

+ 13 - 6
src/core/VoxStrip.cpp

@@ -186,6 +186,8 @@ void Engine::reset() noexcept
 {
     dsBand.reset();
     dsOut.reset();
+    dsOutHigh.reset();
+    dpOutLow.reset();
     dpBand.reset();
     dpDetect.reset();
     dsDelay.reset();
@@ -211,11 +213,13 @@ void Engine::set (const Settings& n) noexcept
     {
         dsBand.design (sr, s.dsHz, true);
         dsOut.design (sr, s.dsHz, false);
+        dsOutHigh.design (sr, s.dsHz, true);
         double k = 0.84, liftDb = 5.17;
         dePloserDetector (s.dpHz, k, liftDb);
         dpDetect.design (sr, s.dpHz * k, false);
         dpLift = dbToGain (liftDb);
         dpBand.design (sr, s.dpHz, true);
+        dpOutLow.design (sr, s.dpHz, false);
         hpf.filter (sr, 1, s.hpfHz, 1.0);
         matchedPeak (notch, sr, s.notchHz, notchQ (s.notchDb), s.notchDb);
         matchedPeak (high, sr, s.highHz, highQ (s.highDb), s.highDb);
@@ -251,11 +255,13 @@ void Engine::deEss (float& a, float& b) noexcept
     const double rel = gainToDb ((dsEb + 1e-20) / (dsEf + 1e-20));
     dsGrDb = (2.0 / 3.0) * std::max (0.0, rel - s.dsThresholdDb);
     dsDelay.process (a, b); // look-ahead: the audio comes 1 ms after the detector
-    // [EXEC] split: the part above the frequency (the audio minus its 3rd-order low-pass) is turned down
+    // [EXEC] split: a 3rd-order Butterworth crossover at the frequency (low-pass + high-pass, an all-pass sum), the
+    // high band turned down: out = LP + g · HP (fitted exactly on steady tones at 7, 10, 15 kHz and pink noise)
     const float la = dsOut.process (a, 0), lb = dsOut.process (b, 1);
-    if (s.dsListen) { a -= la; b -= lb; return; } // audition: the band the de-esser acts on
+    const float ha = dsOutHigh.process (a, 0), hb = dsOutHigh.process (b, 1);
+    if (s.dsListen) { a = ha; b = hb; return; } // audition: the band the de-esser acts on
     const auto g = (float) dbToGain (-dsGrDb);
-    if (s.dsSplit) { a = la + g * (a - la); b = lb + g * (b - lb); }
+    if (s.dsSplit) { a = la + g * ha; b = lb + g * hb; }
     else { a *= g; b *= g; }
 }
 
@@ -268,11 +274,12 @@ void Engine::dePlos (float& a, float& b) noexcept
     const double rel = gainToDb ((dpEb + 1e-20) / (dpEf + 1e-20));
     dpGrDb = 0.75 * std::max (0.0, rel - s.dpThresholdDb);
     dpDelay.process (a, b);
-    // [EXEC] split: the part below the frequency (the audio minus its 3rd-order high-pass) is turned down
+    // [EXEC] split: the same crossover, the low band turned down: out = HP + g · LP
     const float ha = dpBand.process (a, 0), hb = dpBand.process (b, 1);
-    if (s.dpListen) { a -= ha; b -= hb; return; }
+    const float la = dpOutLow.process (a, 0), lb = dpOutLow.process (b, 1);
+    if (s.dpListen) { a = la; b = lb; return; }
     const auto g = (float) dbToGain (-dpGrDb);
-    if (s.dpSplit) { a = ha + g * (a - ha); b = hb + g * (b - hb); }
+    if (s.dpSplit) { a = ha + g * la; b = hb + g * lb; }
     else { a *= g; b *= g; }
 }
 

+ 4 - 3
src/core/VoxStrip.h

@@ -17,7 +17,8 @@
 //  - de-esser / de-ploser: level-independent detectors — the level of the band (3rd-order Butterworth high-pass at
 //    the frequency; the de-ploser: a low-pass at 0.78 … 0.92 × the frequency with a passband lift) relative to the
 //    full signal, both peak followers (de-esser 1.5 / 40 ms, de-ploser 3 / 40 ms); gain reduction 2/3 (de-esser) and
-//    3/4 (de-ploser) of the excess over the threshold; SPLIT applies it to the band only (x + (g − 1) · band);
+//    3/4 (de-ploser) of the excess over the threshold; SPLIT: a 3rd-order Butterworth crossover, only the band's
+//    side turned down (LP + g · HP / HP + g · LP);
 //    look-ahead delays the audio 1 ms / 10 ms;
 //  - EQ: high-pass = cookbook 2nd-order, Q 1 (a small bump above the corner); notch and high band = peaking filters
 //    with the analog prototype's magnitude (magnitude-matched digital design) and a Q that follows the gain
@@ -129,11 +130,11 @@ private:
     Settings s;
     std::array<int, 4> mods { 0, 1, 2, 3 };
     // de-esser
-    ThirdOrder dsBand, dsOut;
+    ThirdOrder dsBand, dsOut, dsOutHigh;
     Delay dsDelay;
     double dsAtt = 0, dsRel = 0, dsEb = 0, dsEf = 0, dsGrDb = 0;
     // de-ploser
-    ThirdOrder dpBand, dpDetect;
+    ThirdOrder dpBand, dpDetect, dpOutLow;
     Delay dpDelay;
     double dpAtt = 0, dpRel = 0, dpEb = 0, dpEf = 0, dpGrDb = 0, dpLift = 1;
     // EQ