ref: 233c9646efb377aac5b0d87df6f8a16be94fa3fe
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." }, } }