shithub: soundpipe

ref: 29851f9c445d41cd82e422cb4b8c13fd2a13aea5
dir: /modules/data/autowah.lua/

View raw version
sptbl["autowah"] = {

    files = {
        module = "autowah.c",
        header = "autowah.h",
        example = "ex_autowah.c",
    },

    func = {
        create = "sp_autowah_create",
        destroy = "sp_autowah_destroy",
        init = "sp_autowah_init",
        compute = "sp_autowah_compute",
    },

    params = {
        optional = {
            {
                name = "level",
                type = "SPFLOAT*",
                description = "Overall level (between 0 and 1)",
                default = 0.1
            },
            {
                name = "wah",
                type = "SPFLOAT*",
                description ="wah amount",
                default = 0
            },
            {
                name = "mix",
                type = "SPFLOAT*",
                description ="Wet/dry amount (100 = wet, 0 = dry)",
                default = 100
            },
        }
    },

    modtype = "module",

    description = [[Automatic wah pedal
	An automatic wah effect, ported from Guitarix via Faust. 
]],

    ninputs = 1,
    noutputs = 1,

    inputs = {
        {
            name = "input",
            description = "Audio input"
        },
    },
    
    outputs = {
        {
            name = "output",
            description = "Audio output."
        },
    }

}