shithub: soundpipe

ref: 233c9646efb377aac5b0d87df6f8a16be94fa3fe
dir: /modules/data/butbr.lua/

View raw version
sptbl["butbr"] = {

    files = {
        module = "butbr.c",
        header = "butbr.h",
        example = "ex_butbr.c",
    },

    func = {
        create = "sp_butbr_create",
        destroy = "sp_butbr_destroy",
        init = "sp_butbr_init",
        compute = "sp_butbr_compute",
    },

    params = {
        optional = {
            {
                name = "freq",
                type = "SPFLOAT",
                description = "Center Frequency. (in Hertz)",
                default = 1000
            },
            {
                name = "bw",
                type = "SPFLOAT",
                description = "Bandwidth. (in Hertz)",
                default = 1000
            },
        }
    },

    modtype = "module",

    description = [[Band-reject Butterworth filter]],

    ninputs = 1,
    noutputs = 1,

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

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

}