Paul Batchelorimporta901d566 years agoHistory
60 lines · 1.3 KB · Lua
RawDownload
sptbl["tenv"] = {     files = {        module = "tenv.c",        header = "tenv.h",        example = "ex_tenv.c",    },     func = {        create = "sp_tenv_create",        destroy = "sp_tenv_destroy",        init = "sp_tenv_init",        compute = "sp_tenv_compute",    },     params = {        optional = {            {                name = "atk",                type = "SPFLOAT",                description = "Attack time, in seconds.",                default = 0.1            },            {                name = "hold",                type = "SPFLOAT",                description = "Hold time, in seconds.",                default = 0.3            },            {                name = "rel",                type = "SPFLOAT",                description = "Release time, in seconds.",                default = 0.2            },        }    },     modtype = "module",     description = [[Trigger based linear AHD envelope generator]],     ninputs = 1,    noutputs = 1,     inputs = {        {            name = "trig",            description = "Trigger input. When non-zero, the envelope will (re)trigger."        },    },     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