nlfilt2
A filter with a non-linear effect and blowup protection.
Implements the filter:
\[
Y[n] = tanh(a \; Y[n-1] + b \; Y[n-2] + d \; Y^2[n-L] + X[n] - C)
\]
described in Dobson and Fitch (ICMC'96) as modified by Risto Holopainen.
Syntax
Performance
- Non-linear effect. The range of parameters are: This affects the lower register most but there are audible effects over the whole range. We suggest that it may be useful for coloring drums, and for adding arbitrary highlights to notes.
- Low Pass with non-linear. The range of parameters are: There are instability problems with this variant but the effect is more pronounced of the lower register, but is otherwise much like the pure comb. Short values of L can add attack to a sound.
- High Pass with non-linear. The range of parameters are:
- High Pass with non-linear. The range of parameters are:
The high pass version is less likely to oscillate. It adds scintillation to medium-high registers. With a large delay L it is a little like a reverberation, while with small values there appear to be formant-like regions. There are arbitrary color changes and resonances as the pitch changes. Works well with individual notes.
Warning
The "useful" ranges of parameters are not yet mapped.
Examples
Here is an example of the nlfilt2 opcode. It uses the file nlfilt2.csd.
See also
Specialized Filters: Other filters
Credits
Author: John ffitch
University of Bath/Codemist Ltd.
Bath, UK
2012
New in version 5.19