shithub: soundpipe

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

}