kr timek kr times ir itimek ir itimes kr instimek kr instimes
sr = 44100 kr = 6300 ksmps = 7then 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.