[chuck-users] While loop with condition =>NOW
herman verbaeten
hverb54 at hotmail.com
Sat Feb 22 04:37:43 EST 2020
Hi,
In the flossmanuals i found this exemple of modulation of the freq of a SinOsc.
Normally in the while() loop, between the brackets is the condition to keep the loop running. In the example it is a time. Complete confusion!
Kind regards
Herman
SinOsc s => dac;
SinOsc lfo;
5 => lfo.freq;
while (20::ms => now)
{
( lfo.last() * 10 ) + 440 => s.freq;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20200222/27e8970e/attachment.html>
More information about the chuck-users
mailing list