zdf_2poleSignal Modifiers:Standard Filterszdf_2polezdf_2pole
Zero-delay feedback implementation of 2 pole filter.
Description
Zero-delay feedback implementation of a 2 pole (12 dB/oct) filter. Offers low-pass (default), high-pass, and allpass output modes.
Syntaxasig zdf_2pole ain, xcf, xQ [, kmode, istor]Initializationistor --initial disposition of internal data space.
Since filtering incorporates a feedback loop of previous output, the
initial status of the storage space used is significant. A zero value
will clear the space; a non-zero value will allow previous information to
remain. The default value is 0.
Performanceasig -- output signal.
ain -- input signal.
xcf -- filter cutoff frequency (i-, k-, or a-rate).
xQ -- filter Q value (i-, k-, or a-rate). Range 0.5-25.0.
kmode -- filter output type. The default value is 0.
The output mode may be one of the following.
0 - low-pass1 - high-pass2 - band-pass3 - unity-gain band-pass4 - notch5 - allpass6 - peakExamples
Here is an example of the zdf_2pole opcode. It uses the file zdf_2pole.csd.
Example of the zdf_2pole opcode.References This filter is based on the work of Will Pirkle that employs Vadim
Zavalishin's work with bilinear tranforms to create topology-preserving
transform (TPT) implementations of analog filters.
Pirkle, Will. Designing Software Synthesizer Plug-ins in C++: For
RackAFX, VST3, and Audio Units. CRC Press, 2014.
Pirkle, Will. AN-4: Virtual Analog (VA) Filter Implementation. 2013.
Zavalishin, Vadim. "The Art of VA filter design." Native Instruments, 2012.
See alsoStandard filters: Zero-delay Feedback Filters (Virtual Analog)CreditsAuthor: &namesteven;April 2017New in Csound 6.09.0