shithub: soundpipe

ref: 25a9fcc24ad00c6a406042818b9e6f2e7bba0dd1
dir: /modules/data/buthp.lua/

View raw version
sptbl["buthp"] = {

    files = {
        module = "buthp.c",
        header = "buthp.h",
        example = "ex_buthp.c",
    },

    func = {
        create = "sp_buthp_create",
        destroy = "sp_buthp_destroy",
        init = "sp_buthp_init",
        compute = "sp_buthp_compute",
    },

    params = {
        optional = {
            {
                name = "freq",
                type = "SPFLOAT",
                description = "Cutoff Frequency.",
                default = 1000
            },
        }
    },

    modtype = "module",

    description = [[Highpass Butterworth filter]],

    ninputs = 1,
    noutputs = 1,

    inputs = {
        {
            name = "input",
            description = "Signal input."
        },
    },

    outputs = {
        {
            name = "output",
            description = "Signal output."
        },
    }

}