Hello ChucKers,

For the longest time I couldn't figure out how to get envelopes to work correctly as modulators

ADSR env => blackhole;

spork ~ updateAtSampleRate();

fun void updateAtSampleRate()
{
  while (true)
  {
    1::samp => now;
    env.last() => // do something
  }
}

It turns out they need a kick in the pants to work correctly, in other words

Step step => ADSR env => blackhole;
1.0 => step.next;


Is this intentional?

Then is there any interest in implementing all the other envelope types (AD, AR, AHDSR, DADSR, DAHDSR)?  I could probably do it in ChucK, but it might be better to implement them as chugins or upstream in STK.

In any case, now that I know how to make ADSR envelopes work, I have some pretty awful synthesized drums, just in time for the RPM challenge.

https://github.com/heuermh/lick/tree/master/lick/kick
https://github.com/heuermh/lick/tree/master/lick/snare

Cheers,

   michael