[sdiy] My latest project

Tom Wiltshire tom at electricdruid.net
Wed Feb 17 17:34:26 CET 2010


On 17 Feb 2010, at 12:35, cheater cheater wrote:

> What are you using the if branches for currently?
>
> There are quite some techniques that can let you refactor your code,
> but we would need to see the situation right now :)
>
> D.

Here's some examples of the sort of choices that get made in the LFOs  
and Envs:

LFO waveshape - which lookup table? (Sine, triangle, ramp, etc)
Envelope - Which curve? (expo attack, expo decay, linear, cosine, etc)
Envelope - release instantly on gate low, or go through all remaining  
stages
Envelope -  start from zero level on gate on, or start from current  
level
Envelope - if loop mode is on, loop back to stage X.

Some of these are easily modified into a pointer, but not everything  
is so straightforward.

T.




More information about the Synth-diy mailing list