Paul Batchelorimporta901d566 years agoHistory
63 lines · 1.3 KB · Lua
RawDownload
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 oscillatorThis is a bandlimited square oscillator ported from the "squaretooth" function from the Faustprogramming language.]],     ninputs = 0,    noutputs = 1,     inputs = {        {            name = "dummy",            description = "This doesn't do anything."        },    },     outputs = {        {            name = "out",            description = "Signal output."        },    } }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t