eventtime — Read absolute time in seconds.


Read absolute time, in seconds, since the start of an instance of an instrument.


kres eventtime


Time in seconds is available with eventtime. This would return 0.5 after half a second.

eventtime produces a k-rate variable for output. There are no input parameters.

eventtime is similar to elapsedtime except it returns the time since the start of this instance of the instrument.

[Note] Note

eventtime acts like timeinsts but it returns the correct values instead of being one cycle late.

See Also

timeinsts, elapsedcycles, elapsedtime.


Author: Eduardo Moguillansky
August 2022