shortcircuit-xt
shortcircuit-xt copied to clipboard
AEG Envelope regression: Decay appears to be broken
When modifying the AEG values for a single zone, the following issues are evident:
-
If both Attack and Hold values are 0, the Decay phase is never 'run' which causes the zone playback to loop indefinitely until note off to trigger Release. That is:
- If (A+H) > 0, D runs
- If (A + H) == 0, D doesn't run at all.
-
Decay value scaling issue - what is reportedly 1.12s seems to sound more like 0.25s, and the slider is about halfway on the UI.
-
If modifying this in a multi-zone selection, there appears to be a crash scenario (difficult to reproduce).
REPRODUCE
- Load any WAV file into the Zone mapping view
- On AEG, set zone Attack and Hold to 0, Decay to anything, Sustain to 0
- Play a note.
- Set Attack OR Hold to any other value.
- Play a note.
- Repeat.
Evident on build @ commit 114ea16
https://github.com/user-attachments/assets/ee6a1caa-fd13-4683-a8f6-f8c10184efb5