shithub: soundpipe

ref: 25a9fcc24ad00c6a406042818b9e6f2e7bba0dd1
dir: /modules/data/gen_scrambler.lua/

View raw version
sptbl["gen_scrambler"] = {

    files = {
        module = "ftbl.c",
        header = "ftbl.h",
        example = "ex_scrambler.c",
    },

    func = {
        name = "sp_gen_scrambler",
    },
    params = {
        {
            name = "dest",
            type = "&sp_ftbl *",
            description = [[destination ftable]],
            default = 123456
        },
    },

    modtype = "gen",

    description = [[Scrambles phase of ftable.
This gen routine will copy the ftable, apply an FFT, apply
a random phase, and then do an inverse FFT. This effect 
is ideal for creating pad-like sounds. 
]],

}