[Stk] Rate parameter (as in StopBlowing(StkFloat rate) )

Michael Chinen mchinen at gmail.com
Tue Jun 2 11:29:22 PDT 2009


Hi,

I'm having trouble getting a StopBlowing to provide a behavior that stops
the air going into instrument over a period of time.

Can someone explain what units rate (e.g. in Saxofony's StartBlowing or
StopBlowing) is in?  Looking at envelope it appears to be in change per tick
- is this correct?

For example, how would you decrease an instrument's input air to zero over
three seconds?

I've tried both
StopBlowing(1.0/(3.0*mySampleRate))
and
StopBlowing(1.0/3.0)

Thanks,
Michael Chinen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20090602/76797ee6/attachment.html 


More information about the Stk mailing list