Paul Batchelorimporta901d566 years agoHistory
59 lines · 1.3 KB · Lua
RawDownload
sptbl["tseq"] = {     files = {        module = "tseq.c",        header = "tseq.h",        example = "ex_tseq.c",    },     func = {        create = "sp_tseq_create",        destroy = "sp_tseq_destroy",        init = "sp_tseq_init",        compute = "sp_tseq_compute",    },     params = {        mandatory = {            {                name = "ft",                type = "sp_ftbl *",                description = "An ftable of values",                default = "N/A"            },        },         optional = {            {                name = "shuf",                type = "int",                description = "When shuf is non-zero, randomly pick a value rather than cycle through sequentially.",                default = 0            },        }    },     modtype = "module",     description = [[Function table looper     TSeq runs through values in an ftable. It will change values when the trigger input is a non-zero value, and wrap around when it reaches the end.]],     ninputs = 1,    noutputs = 1,     inputs = {        {            name = "trig",            description = "Trigger."        },    },     outputs = {        {            name = "val",            description = "Value from current position in the ftable."        },    } }

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