Convolution:
Filter:
Classes | UGens > FFT | UGens > Convolution

Convolution : UGen : AbstractFunction : Object

Real-time convolver.
Source: FFT2.sc

Description

Strict convolution of two continuously changing inputs. Also see Convolution2 for a cheaper CPU cost alternative for the case of a fixed kernel which can be changed with a trigger message.

See also http://www.dspguide.com/ch18.htm by Steven W. Smith.

Class Methods

Convolution.ar(in, kernel, framesize: 512, mul: 1.0, add: 0.0)

Arguments:

in

Processing target.

kernel

Processing kernel.

framesize

Size of FFT frame, must be a power of two (512, 1024, 2048, 4096 are standard choices). Convolution uses twice this number internally. Note that the convolution gets progressively more expensive to run for higher powers! The maximum value you can use is 2^16=16384. (This upper limit is half of "SC_FFT_MAXSIZE" defined in the SC source code.) Larger convolutions than this can be done using PartConv.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples