shithub: soundpipe

ref: 0df3039072e1eb47d710348117063fa45cfaf2dd
dir: /modules/data/wpkorg35.lua/

View raw version
sptbl["wpkorg35"] = {

    files = {
        module = "wpkorg35.c",
        header = "wpkorg35.h",
        example = "ex_wpkorg35.c",
    },

    func = {
        create = "sp_wpkorg35_create",
        destroy = "sp_wpkorg35_destroy",
        init = "sp_wpkorg35_init",
        compute = "sp_wpkorg35_compute",
    },

    params = {
        optional = {
            {
                name = "cutoff",
                type = "SPFLOAT",
                description = "Filter cutoff",
                default = 1000
            },
            {
                name = "res",
                type = "SPFLOAT",
                description ="Filter resonance (should be between 0-2)",
                default = 1.0
            },
            {
                name = "saturation",
                type = "SPFLOAT",
                description ="Filter saturation.",
                default = 0.0
            },
        }
    },

    modtype = "module",

    description = [[ Analogue model of the Korg 35 Lowpass Filter

Original port done by Will Pirkle:
http://www.willpirkle.com/Downloads/AN-5Korg35_V3.pdf

]],

    ninputs = 1,
    noutputs = 1,

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

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

}