ref: 7de74a9d01cbb87b74def34099ce2f30a0fb6e6e
dir: /modules/data/rpt.lua/
sptbl["rpt"] = { files = { module = "rpt.c", header = "rpt.h", example = "ex_rpt.c", }, func = { create = "sp_rpt_create", destroy = "sp_rpt_destroy", init = "sp_rpt_init", compute = "sp_rpt_compute", }, params = { mandatory = { { name = "maxdur", type = "SPFLOAT", description = "Maximum delay duration in seconds. This will set the buffer size.", default = "0.7" } }, }, modtype = "module", description = [[Trigger based beat-repeat stuttering effect When the input is a non-zero value, rpt will load up the buffer and loop a certain number of times. Speed and repeat amounts can be set with the sp_rpt_set function.]], ninputs = 2, noutputs = 1, inputs = { { name = "trig", description = "When this value is non-zero, it will start the repeater." }, { name = "input", description = "The signal to be repeated." }, }, outputs = { { name = "out", description = "Signal out. This is passive unless explicity triggered in the input." }, } }