ref: 25a9fcc24ad00c6a406042818b9e6f2e7bba0dd1
dir: /modules/data/timer.lua/
sptbl["timer"] = { files = { module = "timer.c", header = "timer.h", example = "ex_timer.c", }, func = { create = "sp_timer_create", destroy = "sp_timer_destroy", init = "sp_timer_init", compute = "sp_timer_compute", }, params = { }, modtype = "module", description = [[Tap-tempo like timer When triggered, timer will begin an internal stopwatch until it is triggered again. The output of the timer will be the time elapsed in seconds. ]], ninputs = 1, noutputs = 1, inputs = { { name = "clock", description = "When non-zero, will start/stop the timer." }, }, outputs = { { name = "out", description = "Outputs the time of the last timer (in seconds)." }, } }