Răsfoiți Sursa

Epoch Verb: a new one runs round 190mb's refit of the short-decay trim on the loop law (plugin quality gate, rollup step 11)

Step 10 kept round 190ly's trim off in new / translated Epochs (fitted without round 190kw's loop law). Round 190mb refitted
it on top of the loop law; ValhallaVintageVerb's refcap030 bank against step 10: mode 2.74 -> 3.02 (27 up / 69 same / 0
down), pairs 3.89 -> 3.78 (2 one-step downs), sr48 3.70 = (1 up / 1 down), sr96 3.70 -> 3.75 (with the rate law). Test:
a new Epoch saves the trim, not the rate law.
Ka1-S 2 săptămâni în urmă
părinte
comite
e728fd1ae3
2 a modificat fișierele cu 9 adăugiri și 3 ștergeri
  1. 5 1
      src/core/Effects.cpp
  2. 4 2
      tests/Parity190lyTests.inc

+ 5 - 1
src/core/Effects.cpp

@@ -4923,7 +4923,11 @@ EffectSlot makeEffectSlot (EffectKind kind)
         slot.params[(std::size_t) mixsuite::ember::revision] = 1.0f;
     // round 190it: a new Epoch Verb / Atrium / Foil Plate / Halo runs the 0.1.30 revision of the Measured law (hidden)
     if (kind == EffectKind::epochVerb) slot.params[(std::size_t) verbs::epoch::revision] = 1.0f;
-    if (kind == EffectKind::epochVerb) // round 190ly: … and Epoch Verb Concert Hall's short-decay trim (hidden)
+    // round 190ly: … and Epoch Verb Concert Hall's short-decay trim (hidden). Off in new Epochs at the 0.1.30 rollup step 10 (it
+    // was fitted without round 190kw's loop law); round 190mb refitted it on top of the loop law, so it is on again since step
+    // 11 — ValhallaVintageVerb's refcap030 bank against step 10: mode 2.74 → 3.02 (27 up / 0 down), pairs 3.89 → 3.78 and
+    // sr48 = (3 files one step down), sr96 3.70 → 3.75
+    if (kind == EffectKind::epochVerb)
         slot.params[(std::size_t) verbs::epoch::shortTrim] = 1.0f;
     if (kind == EffectKind::epochVerb) // round 190kw: … and Epoch's level the reference's loop law (hidden)
         slot.params[(std::size_t) verbs::epoch::loopLaw] = 1.0f;

+ 4 - 2
tests/Parity190lyTests.inc

@@ -196,8 +196,10 @@ TEST (parity190ly_epoch_concert_hall_short_decay_trim)
     // (rollup 0.1.30 step 10: after round 190kw's loopLaw, which a new Epoch also runs)
     CHECK (ep::shortTrim == ep::loopLaw + 1 && effectInfo (EffectKind::epochVerb).params.size() == (std::size_t) ep::paramCount);
     const auto s = makeEffectSlot (EffectKind::epochVerb);
-    // (rollup 0.1.30 step 10: a new Epoch runs round 190kw's loop law and not the trim, which was fitted without it)
-    CHECK (s.params[(std::size_t) ep::shortTrim] == 0.0f && savedEffectParamCount (s) == (std::size_t) ep::loopLaw + 1);
+    // (rollup 0.1.30 step 11: a new Epoch runs round 190kw's loop law and round 190mb's refit of the trim on top of it; the
+    // rate law after it is set only by the VintageVerb translator)
+    CHECK (s.params[(std::size_t) ep::shortTrim] == 1.0f && s.params[(std::size_t) ep::rateLaw] == 0.0f
+           && savedEffectParamCount (s) == (std::size_t) ep::shortTrim + 1);
     auto rev1 = s; // saved by 0.1.30 before this round
     upgradeLoadedEffectParams (rev1, (std::size_t) ep::revision + 1);
     CHECK (rev1.params[(std::size_t) ep::shortTrim] == 0.0f && rev1.params[(std::size_t) ep::revision] == 1.0f);