shithub: soundpipe

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

View raw version
sptbl["reverse"] = {

	files = {
	    module = "reverse.c",
	    header = "reverse.h",
	    example = "ex_reverse.c",
	},

	func = {
	    create = "sp_reverse_create",
	    destroy = "sp_reverse_destroy",
	    init = "sp_reverse_init",
	    compute = "sp_reverse_compute",
	},

	params = {
	    mandatory = {
	        {
	            name = "delay",
	            type = "SPFLOAT",
	            description = "Delay time in seconds.",
	            default = "1.0"
	        }
	    }
	},

	modtype = "module",

	description = [[Signal reverser

	Reverse will store a signal inside a buffer and play it back reversed.]],

	ninputs = 1,
	noutputs = 1,

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

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

}