Difference between revisions of "Shakercycle.ck"

From CSWiki
Jump to: navigation, search
 
Line 5: Line 5:
 
  100. => float theTime;
 
  100. => float theTime;
 
   
 
   
  while (true){
+
  while (true)
 +
{
 
     1.0 => s.noteOn;
 
     1.0 => s.noteOn;
 
     theTime::ms => now;
 
     theTime::ms => now;
Line 11: Line 12:
 
     1.0 => s.noteOff;
 
     1.0 => s.noteOff;
 
     theTime::ms => now;   
 
     theTime::ms => now;   
 
 
   
 
   
 
     ( s.which() + 1 ) % 20 => s.which;
 
     ( s.which() + 1 ) % 20 => s.which;
 
     std.rand2f(20.,140.) => theTime;
 
     std.rand2f(20.,140.) => theTime;
 
  }
 
  }

Revision as of 23:39, 21 February 2006

Shakers s => Chorus c1 => JCRev rev => Chorus c2 => Chorus c3 =>dac;

0 => s.which;
1. => s.gain;
100. => float theTime;

while (true)
{
    1.0 => s.noteOn;
    theTime::ms => now;

    1.0 => s.noteOff;
    theTime::ms => now;   

    ( s.which() + 1 ) % 20 => s.which;
    std.rand2f(20.,140.) => theTime;
}