[chuck-users] Looping

Jeff Albert jvalbert at loyno.edu
Tue Sep 25 15:48:39 EDT 2012


Try this: 

SinOsc s => dac;

while(true)
{
.2 => s.gain;
220 => s.freq;
 2::second => now;
0 =>s.gain;

 2::second => now;
}



--Jeff Albert
Assistant Professor (Extraordinary) of Music Industry Studies
Loyola University New Orleans
Office: Communications/Music Complex 428P
Office Phone: (504) 865-2606
Google Voice: (504) 315-5167
jvalbert at loyno.edu (mailto:jvalbert at loyno.edu)
http://www.loyno.edu/~jvalbert


On Tuesday, September 25, 2012 at 2:36 PM, Alberto Alassio wrote:

> SinOsc s => dac;
> .2 => s.gain;
> 220 => s.freq;
> while ( 2::second => now)
> 0 =>s.gain 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20120925/b43d73b3/attachment.htm>


More information about the chuck-users mailing list