shithub: soundpipe

ref: 6f50522ff66bbebd9d899f71b6da71288c0a8d0d
dir: /modules/data/sdelay.lua/

View raw version
sptbl["sdelay"] = {

    files = {
        module = "sdelay.c",
        header = "sdelay.h",
        example = "ex_sdelay.c",
    },

    func = {
        create = "sp_sdelay_create",
        destroy = "sp_sdelay_destroy",
        init = "sp_sdelay_init",
        compute = "sp_sdelay_compute",
    },

    params = {
        mandatory = {
            {
                name = "size",
                type = "SPFLOAT",
                description = "Size of delay (in samples)",
                default = "128"
            },
        }

    },

    modtype = "module",

    description = [[Delays a signal by a number of samples.
]],

    ninputs = 1,
    noutputs = 1,

    inputs = {
        {
            name = "input",
            description = "Input signal to be delayed."
        },
    },

    outputs = {
        {
            name = "out",
            description = "Signal output for sdelay."
        },
    }

}