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

Tom Wiltshire tom at electricdruid.net
Thu Nov 6 15:11:14 CET 2025



> On 6 Nov 2025, at 12:44, Chris McDowell via Synth-diy <synth-diy at synth-diy.org> wrote:
> 
> When velocity is involved, I set the attack target to 2 * velocity, and the sustain level to sustain * velocity, instead of multiplying the envelope output by velocity.  this has some side effects but feels a lot more natural to me

Interesting. What's the difference? At first glance, that sounds like it would be the same (at least for constant-time envelopes - I can see constant-rate envelopes would change).





More information about the Synth-diy mailing list