Skip to content

v0.6.5: short masking duck on A/B / preset / undo switches to kill the level pop#23

Merged
skyRolly merged 1 commit into
mainfrom
claude/beautiful-sagan-JAUFI
Jun 16, 2026
Merged

v0.6.5: short masking duck on A/B / preset / undo switches to kill the level pop#23
skyRolly merged 1 commit into
mainfrom
claude/beautiful-sagan-JAUFI

Conversation

@skyRolly

Copy link
Copy Markdown
Owner

Anamorph 0.6.4 feedback — 1 item.

A short masking duck on A/B and preset switches kills the level-jump pop.

A large A/B or preset switch can move many parameters at once — and an A/B switch also instantly re-injects that slot's remembered Level-Match gain (setCurrentAndTargetValue, not ramped) — which together can pop on a big level change. The engine already masks every discrete switch (algorithm/routing/bypass) with a ~4 ms raised-cosine duck (fade to silence, swap, fade back, zero-slope at the seam). It now also accepts a requestDuck() so the same masking runs for a bulk swap even when only continuous controls changed.

The wrapper requests the duck before the parameters change, so the duck is already running when the new values arrive:

  • abSwitchTo, undo, redo (in the processor)
  • the editor's preset handlers — ‹ › prev/next, the menu Load, and the OS file load

No new parameter, no latency change, and the duck is the existing proven click-free mechanism (same ~4 ms each way used for algorithm changes). Continuous controls still respond immediately and remain smoothed.

Gates: 14/14 DSP self-tests · no new compiler warnings · pluginval strictness 10 PASSED.

https://claude.ai/code/session_01Y38PtwPxh2geBLta6yuUwv


Generated by Claude Code

…e level pop

A large A/B or preset jump can move many parameters (and instantly re-inject the
per-slot Level-Match gain) at once, popping. The engine already masks discrete
switches with a ~4 ms raised-cosine duck; it now also accepts a forced-duck
request so the SAME masking runs for a bulk swap even when only continuous
controls changed. The wrapper requests the duck BEFORE the parameters change --
in abSwitchTo / undo / redo, and from the editor before a preset load / step /
file load -- so the duck is already running when the new values arrive.

https://claude.ai/code/session_01Y38PtwPxh2geBLta6yuUwv
@skyRolly skyRolly marked this pull request as ready for review June 16, 2026 00:45
@skyRolly skyRolly merged commit c6d7ba0 into main Jun 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants