Lowpass Filter

Summary

Lowpass is a utility plugin. Its goal is to show, in a teaching way, how a linear filter with an infinite impulse response (IIR) acts on the signal, what its limits are (slope, phase shift), and how in some cases you can take advantage of these drawbacks. It’s light, simple, and lets anyone get to grips with their first audio filter.

  • Free
  • Beta 0.1.4
  • macOS, Apple Silicon only
  • VST3
  • Not signed

Download

Preview

Lowpass Filter at 2 kHz, 12 dB/oct, resonance 60 %, with the input and output spectrum.

Features

Controls

Double-click a knob = back to its default value. The window can be resized from 75 % to 200 %.

Limitations

Version info

Latest update: 0.1.4 (beta). For now it only runs on Macs with Apple Silicon (M1 and later).

I don’t have an Apple developer account yet, so the plugin isn’t signed. You can get around this with a command in the Terminal (see Installation below), but you have to decide to trust me ☺️ (if needed, you can run the VST through a checking tool).

Download

Download Lowpass Filter 0.1.4

ZIP · 2.5 MB · VST3 plugin

SHA-256 e6655975e4c1c5846fc31b753fad48333ebf66e1f690ed0ce7ee85d115f179f2

Installation

  1. Unzip the file and copy ALPK_LowPass.vst3 to ~/Library/Audio/Plug-Ins/VST3.

  2. In Terminal, run:

    xattr -dr com.apple.quarantine ~/Library/Audio/Plug-Ins/VST3/ALPK_LowPass.vst3
    
  3. Restart your DAW and rescan your plugins if needed. The plugin appears as Lowpass Filter, by Alrik Plank.

Only do this for files downloaded from this site.

Release notes

Technical note

Showing the effect of phase shift on the output signal

With Mix under 100 %, Lowpass also draws the effect of the phase shift on the gain. Here’s what it shows.

Let’s do a little experiment

Set the cutoff to 1 kHz with a slope of 24 dB/octave (4th-order filter).

The maximum phase shift of this type of filter is 360°, with an exact phase inversion at the cutoff frequency. With Mix at 100 %, the output is only the filtered signal.

Now set Mix to 50 %. Half of the signal goes through the filter, the other half goes straight through, and the two are added. At the cutoff frequency, the filtered signal is shifted by 180°. Blending the original signal with the filtered one therefore makes a hole in the curve (about −17 dB here).

Lowpass Filter at 1 kHz, 24 dB/oct, Mix 100 %, with pink noise.
Mix 100 %: the classic lowpass curve.
Lowpass Filter at 1 kHz, 24 dB/oct, Mix 50 %: a dip of about 17 dB at the cutoff, also visible in the spectrum.
Mix 50 %: the hole at the cutoff frequency shows up.

Why? The filter changes the gain with frequency, but it also shifts the signal in time (the phase shift)

Lowpass is based on a classic digital filter, the same kind as in most commercial synths and EQs. These are called infinite impulse response (IIR) filters. They have no latency, but they don’t only lower the level of the signal at some frequencies: they also shift it a bit in time, and not by the same amount for each frequency.

At 24 dB/octave, right at the cutoff, the filtered signal is shifted by half a period (180°). When the dry wave goes up, the filtered one goes down. If you add the two and they have the same amplitude, they are in phase opposition: the signal is zero. At Mix 50 % they don’t quite have the same amplitude (at the cutoff, the filter has already lowered its signal by 3 dB), which is why the hole stops at −17 dB.

The Show phase switch displays the second part of a Bode plot, the phase shift versus frequency.

Using this flaw as an advantage

So there is a notch filter hidden in a lowpass filter whose dry/wet balance you can set (Mix). With the slope at 24 dB/octave, there are two ways to get it:

  1. Mix at 59 %, Resonance at 0 %. At the cutoff, the filter lowers the signal by 3 dB (×0.707). With 59 % going through the filter and 41 % going straight through, both come out at exactly the same level, but upside down. They cancel completely and this frequency simply disappears. Above the notch, only the 41 % dry part is left, so the highs stay about 8 dB lower.
  2. Mix at 50 %, Resonance at 17 %. This time it’s the resonance that raises the filtered signal at the cutoff, until it reaches exactly the level of the dry one. Same result, a hole with no bottom. Above the notch, the highs stay 6 dB lower, like with any 50 % blend.

In both cases (with another filter plugin the values will be different), the Cutoff knob chooses the frequency to remove. You sweep it until the unwanted sound disappears.

Lowpass Filter at 1 kHz, 24 dB/oct, Mix 59 %: a very deep notch at 1 kHz, also visible in the spectrum.
Mix 59 %, Resonance 0 %: the filtered and dry signals cancel out at the cutoff.
Lowpass Filter at 1 kHz, 24 dB/oct, Mix 50 %, resonance 17 %: a very deep notch at 1 kHz, also visible in the spectrum.
Mix 50 %, Resonance 17 %: a hole with no bottom at the cutoff frequency.

In practice

It’s not a bug, it’s how these filters work. Analog filters work the same way, and the digital filters used here are a faithful copy of them.

And it’s not only with the Mix knob: each time you blend a filtered copy of a sound with the original (duplicated track, parallel bus, send with a filter), the same phase problems can show up.

  • For a soft blend, use 6 dB/octave: only 45° of phase shift at the cutoff, so no hole.
  • If a blend sounds hollow around a frequency, there’s probably a phase cancellation somewhere in the chain.

Linear phase filters don’t have this problem. They are built differently (finite impulse response, FIR), but they add latency and can smear sharp attacks. So it’s another compromise.

VST is a registered trademark of Steinberg Media Technologies GmbH.