more wikis
 

Beep

From Scratchpad

Heart Beat Scripting Language at Wikia


method beep(float f, dur t) executes the following code in ChucK:

   SinOsc s => dac;
   f => s.freq;
   t => now;
   s =< dac;

[edit] Defaults

   1000. => f;
   60::ms => t;

[edit] Example

   //<3 Beat
   
   <body3
       <beep3
           440. => f;
           1::second => t;
       </3
       ^beep;
   </3