dconv
A direct convolution opcode.
Syntax
Initialization
isize -- the size of the convolution buffer to use. If the buffer size is smaller than the size of ifn, then only the first isize values will be used from the table.
ifn -- table number of a stored function containing the impulse response for convolution.
Performance
Rather than the analysis/resynthesis method of the convolve opcode, dconv uses direct convolution to create the result. For small tables it can do this quite efficiently, however larger table require much more time to run. dconv does (isize * ksmps) multiplies on every k-cycle. Therefore, reverb and delay effects are best done with other opcodes (unless the times are short).
dconv was designed to be used with time varying tables to facilitate new realtime filtering capabilities.
Examples
Here is an example of the dconv opcode. It uses the file dconv.csd.
See also
Credits
Author: William “Pete” Moss
2001
New in version 4.12