[sdiy] software / firmware envelopes in C (or anything else)

jslee john at sleefamily.org
Sun Nov 9 01:44:05 CET 2025


On Fri, 7 Nov 2025, at 12:33, brianw wrote:
> However, with Legato playing, it does make sense to alter the Sustain 
> level of the envelope with the new Velocity, even though it's a new 
> Note On without a corresponding Note Off for the previous note 
> (although Note Off can occur *after* the new Note On).

Curious: what’s your heuristic for deciding if legato playing/not? “Instrument is monophonic or a poly in unison mode?” A foot pedal? Or would you apply it on a poly also?

eg. if you were writing firmware for a midi master keyboard

John



More information about the Synth-diy mailing list