shithub: soundpipe

ref: 7de74a9d01cbb87b74def34099ce2f30a0fb6e6e
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."
        },
    }

}