ref: 6a7c384764bf6d69450037b1fb2ff3dd96b5e81c
dir: /modules/data/delay.lua/
sptbl["delay"] = {
files = {
module = "delay.c",
header = "delay.h",
example = "ex_delay.c",
},
func = {
create = "sp_delay_create",
destroy = "sp_delay_destroy",
init = "sp_delay_init",
compute = "sp_delay_compute",
},
params = {
mandatory = {
{
name = "time",
type = "SPFLOAT",
description = "Delay time, in seconds.",
default = 1.0
}
},
optional = {
{
name = "feedback",
type = "SPFLOAT",
description = "Feedback amount. Should be a value between 0-1.",
default = 0.0
}
}
},
modtype = "module",
description = [[Adds a delay to an incoming signal with optional feedback.]],
ninputs = 1,
noutputs = 1,
inputs = {
{
name = "input",
description = "Signal input."
},
},
outputs = {
{
name = "out",
description = "Signal output."
},
}
}