|
|
@@ -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);
|