[Stk] How to properly use STK::ADSR
Richard Dobson
richarddobson at blueyonder.co.uk
Tue Apr 7 07:11:18 PDT 2009
The call to setValue seems wrong. What happens if you remove it?
Difficult to diagnose if you describe only what is right!
Richard Dobson
Nuno Santos wrote:
> Hi,
>
> I'm trying to use Stk::ADSR to control the output of a sinewave in a VST
> but only the release seems to work right.
>
> What am I missing? My code is like this:
..
> adsr->keyOn();
> adsr->setValue(1.0);
>
More information about the Stk
mailing list