Large L values will turn low pass and high pass filters into band pass filters.
Large L values for band pass filters will narrow the range of frequencies that are allowed through.
Large L values for band reject filters will narrow the range of frequencies that are not allowed through.
Radius is used only with the 1CP and 1CZ filters.
It specifies the distance from the origon of the z-plane to the pole or zero.
Unlike L, radius is a linear scale and must be a positive value.
Detail display mode plots the frequency response on a logarithmic frequency
scale from 20Hz to 20KHz.
The circuit must be playing for the display to operate.
The horizontal line represents the 0dB level.
Auto Gain for the 2nd order filters adjusts the input level
so that the highest point on the response curve is equal to 1.0.
If auto gain is not used, the output levels may become extremely large.
1st order filters do not have auto gain.
When designing higher order polynomial filters, gain is accounted for in the
mathematical analysis and must take on specific values. In this case auto gain
must be turned off and pre/post attentuation be applied between stages.
The Chebychev example below shows an example of this.
Stability
2nd order IIR filters are unstable at low cutoff frequencies, below about 20Hz depending on the damping.
The symptoms will be the output wandering around, possibly bouncing off the clipping limits.
The Differential System object may be used if a very low filter frequency is required.
Clipping will occur when internal values of the filter are beyond ±1.0.
This is shown by a red ring around the object.
Use pre-attenuation to prevent clipping.
Changing the type of filter while the circuit is playing may result in a short squeal as the internal
parameters are shifted from one filter to another.
Examples
Direct filtering
The filter is set as a low pass at 1000Hz, Auto gain is on.
Frequencies above 1KHz will be reduced by 12dB per octave.
The Q of the filter is 1/sqrt(2), aka Butterworth.
Boost/Cut Configuration:
Add or subtract the filtered signal with the input signal to boost or cut frequencies.
Using a low pass filter results in a bass control.
Using a high pass filter results in a treble control.
Using a band filter results in a parametric EQ, or one channel of a graphic equalizer.
5th order Chebychev filter:
Suitable for use as an anti-alias filter.
Cascading two 2nd order sections and one 1st order section results in a 5th order filter
with frequency response falling off at 30dB per octave.
A reference book supplied the frequency and Q constants which were plugged into the circuit as equations.
The two LP2 filters have their auto gain setting turned off.
Pre and post gain adjustments are optional and help to reduce clipping.
Technical Details
IIR stands for Infinite Impulse Response,
meaning that the filter will continue to produce an output signal even though the input signal
is not changing. The term infinite, however, is a purely theoretical notion and is
not possible in the domain of digital filters. The output will eventually stop changing
due to roundoff and precision limits.
ABox takes advantage of this by monitoring the filter's activity and shutting it off
when output change falls below a certain level. This means that when presented with
a static input, the output may not be exactly what is expected.
For example, a lowpass filter presented with an input of 0.5, may stop responding when the
output reaches 0.49998. The activity limit was chosen by inspection and may be adjusted
in future versions.
The frequency response of each filter differs slightly from its analog counterpart.
This is due to the bilinear transformation used to convert from analog to digital,
which adds an extra zero to the filter's transfer function.
For lowpass and bandpass filters, the zero is at 22050Hz. Close to this frequency, the response will fall off
much more rapidly than the analog version.
High pass filters have an extra zero at 0Hz, with frequency response also falling off more rapidly.
Corresponding to slightly skewed frequency response is that of slightly skewed phase distortion
around the new zero.