QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next Section 

timek, itimek, times, itimes, instimek, instimes

   kr   timek
   kr   times
   ir   itimek
   ir   itimes
   kr   instimek
   kr   instimes

DESCRIPTION

Opcodes to read absolute time since the start of the performance or of an instance of an instrument - in two formats.

PERFORMANCE

timek and itimek are for time in krate cycles. So with:
sr = 44100 
kr = 6300 
ksmps = 7
then after half a second, the timek or itimek ugen would report 3150. It will always report an integer.

Time in seconds is available with times or itimes. These would return 0.5 after half a second.

itimes and itimek are similar ugens which only operate at the start of the instance of the instrument. Both produce an i rate variable (starting with i or gi) as their output.

timek and times both produce a k rate variable for output.

There are no input parameters.

instimek and instimes are similar to timek and times, except they return the time since the start of this instance of the instrument.

AUTHOR:

Robin Whittle
Australia
May 1997


QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next Section 

HTML Csound Manual - © Jean Piché & Peter J. Nix, 1994-97