ref: 0df3039072e1eb47d710348117063fa45cfaf2dd
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." }, } }