[Stk] How to use Modulate?

Yonatan Doron yonatand80 at gmail.com
Thu Apr 15 03:17:39 PDT 2010


Hi,

I assume Modulate can be used as a vibrato effect.
I didn't quite understand how to use it?
Suppose I have the following code which generates a sine wave:

for (int i = 0 ; i < BUFFER_LENGTH; i++)
{
       StkFloat sample = sine.tick();
      // do something with the sample...
}

How would I add Modulate here so that it applies vibrato to the sine ?

Thanks in advance,
Yonatan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20100415/f37cc022/attachment.html 


More information about the Stk mailing list