ref: 6f50522ff66bbebd9d899f71b6da71288c0a8d0d
dir: /modules/data/blsquare.lua/
sptbl["blsquare"] = { files = { module = "blsquare.c", header = "blsquare.h", example = "ex_blsquare.c", }, func = { create = "sp_blsquare_create", destroy = "sp_blsquare_destroy", init = "sp_blsquare_init", compute = "sp_blsquare_compute", }, params = { optional = { { name = "freq", type = "SPFLOAT*", description = "Frequency, (range 0-20000)", default = 440 }, { name = "amp", type = "SPFLOAT*", description ="Amplitude (range 0-1).", default = 1.0 }, { name = "width", type = "SPFLOAT*", description ="Duty cycle width (range 0-1).", default = 0.5 }, } }, modtype = "module", description = [[Bandlimited square oscillator This is a bandlimited square oscillator ported from the "squaretooth" function from the Faust programming language. ]], ninputs = 0, noutputs = 1, inputs = { { name = "dummy", description = "This doesn't do anything." }, }, outputs = { { name = "out", description = "Signal output." }, } }