ref: 3cc247773294861e50209f6e4f11224dd89112fb
dir: /modules/data/phasor.lua/
sptbl["phasor"] = { files = { module = "phasor.c", header = "phasor.h", example = "ex_phasor.c", }, func = { create = "sp_phasor_create", destroy = "sp_phasor_destroy", init = "sp_phasor_init", compute = "sp_phasor_compute", }, params = { mandatory = { { name = "iphs", type = "SPFLOAT", description = "initial phase", default = 0 }, }, optional = { { name = "freq", type = "SPFLOAT", description = "Frequency.", default = 1.5 }, } }, modtype = "module", description = [[Normalized sawtooth wave from 0 to 1 Phasors are often used when building table-lookup oscillators.]], ninputs = 0, noutputs = 1, inputs = { { name = "dummy", description = "this doesn't do anything." }, }, outputs = { { name = "out", description = "Signal output." }, } }