shithub: soundpipe

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

}