Fandom

Scratchpad

Tick

229,380pages on
this wiki
Add New Page
Discuss this page0 Share

method tick(dur rate) executes the following code in ChucK:

   fun void foo()
       {
   
       while( true )
       {
           now => time lastTick;
           bar();
           now - lastTick => dur span;
           rate - span => now;
       }
   }
   fun void bar(){
       Methods called in tick's heart
   }
   spork ~ foo();
   while( true )
       rate => now;
   }

Defaults

   1::second => rate;

Example

   //<3 Beat
   <body3
       <tick3
           ^beep;
       </3
       ^tick;
   </3

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.