What is the difference between an ordinary low pass filter, and a low shelf filter? Why do we have the two different types of filter? What is a Butterworth Filter?
Low pass compared with low shelf filter.
Comparing the two types of filter: In the structure below I have used the Oscillator set to white noise to give us a signal with (as seen in the first Frequency Analyser screen) a fairly even output across the audio frequency range. Feeding this into the different filters we can immediately see a difference in how they change the frequency spectrum. The first noticeable difference between the two types is the Low Shelf filter has an additional Gain plug.
Filter 1;- Low pass, 4pole, 400 Hz pitch. This gives us a complete roll-off of the output above 400 Hz.
Filter 2; Low shelf, 4 pole, 400 Hz pitch +40 dB gain.
Filter 3; Low shelf, 4 pole, 400 Hz pitch -20 dB gain.
Looking at the Frequency spectrum for the two Low Shelf examples we can see that the +40 dB gain filter has boosted frequencies below 400 Hz, and the -20dB gain filter has reduced the frequencies below 400 Hz. So using the voltage on the Gain plug we can control the level of the output below 400 Hz, cutting and boosting it as needed. This makes shelf filters an ideal candidate for tone controls like you have on a Hi-Fi sound system.
Using the pitch plug voltage we can vary the frequency at which the output starts to cut or boost.
Note: This voltage must never be modulated dynamically by an LFO or ADSR. It is only suitable for relatively slow changes.
High shelf, Low Shelf, Band shelf filters.
There are three shelf filter types; Low shelf, Band shelf, and High shelf. In the image below you can see how a boost of +40dB affects the output level of each filter as regards frequency.
Important note: These filters are not suitable for use as, and must never be used as Voltage Controlled Filters. Modulating the cutoff frequency rapidly will cause very loud clicks, pops and undesirable audio artefacts!
Note: Shelf filters have no feedback, and cannot introduce any resonance effects.
Butterworth filters:
The Butterworth filter is a type of signal processing filter designed to have a frequency response that is as flat as possible in the passband.
The Butterworth filter is an IIR filter design which produces the best output response with no ripple in the pass band or the stop band resulting in a maximally flat filter response but at the expense of a relatively wide transition band.
In applications that use filters to shape the frequency spectrum of a signal such as in communications or control systems, the shape or width of the roll-off also called the “transition band”.
For simple first-order filters this transition band maybe too long or too wide, so active filters designed with more than one “order” are required. These types of filters are commonly known as “High-order” or “nth-order” filters.
The complexity or filter type is defined by the filters “order”. We also know that the rate of roll-off and therefore the width of the transition band, depends upon the order number of the filter and that for a simple first-order filter it has a standard roll-off rate of 20dB/decade or 6dB/octave.
Important Note: Butterworth filters are not intended to be used as VCF’s or have rapid changes in frequency. They are designed and intended for use as static or (manually changed) frequency equalization filters
Notes:
1) This filter is not suitable for fast changes in frequency!
2) Don’t go below 100Hz filter frequency, as the filter behaves incorrectly
3) Below 100Hz bandwidth the filter behaves incorrectly
Plugs.
Left Hand Side:
Signal:- (Voltage) Audio input signal
Pitch Hz:- (Floating Point) Frequency set by floating point value (Note: Don’t go below 100Hz as the filter behaves incorrectly)
Width Hz:- (Floating point) Band shelf only. Controls the width of the band of frequencies which are cut or boosted.
Gain dB:- (Floating Point) Sets the level of boost or cut in dB relative to the input
-ve for a cut +ve for a boost.
Poles:- (List) Number of filtering stages, the larger the number of poles, the more efficient the filtering, and more CPU power used. 1 to 12 Poles.
Right Hand Side:
Output:- (Voltage) Cut or boost the spectrum of the filtered audio signal depending on the filter type.
Making a tone control structure.
Connecting these modules as a tone control is relatively simple: Just take your input signal and feed it through the three filters, using the sliders for cut and boost controls with minimum and maximum values of -40 and +40