◆Home Improvement Ideas Journal

Craft the Perfect DIY State Variable Filter

By

Embarking on the journey of audio engineering? One fundamental aspect you'll encounter is filtration, a critical process that shapes and refines sound. Today, we're delving into the DIY state variable filter, a versatile and insightful tool that empowers you to sculpt your audio waves precisely. Let's dive right in!

State variable filters, often found in analog synthesizers and guitar pedals, offer a flexible and practical Filtration experience. They leverage a combination of simple low-pass, high-pass, and bandpass filters, all derived from a single second-order filter. By manipulating the filter outputs, you unlock a world of creative possibilities. Let's explore the intricacies and construction of this captivating filter.

Understanding State Variable Filters

A state variable filter derives its name from the fact that it uses integrated circuits to process signals based on their 'state' or historical data. This processing allows for a wide range of applications, from simple tone shaping to complex signal manipulation. Let's break down its core aspects.

The Secrets of Electric Guitar Pickups
The Secrets of Electric Guitar Pickups
Second-Order State Variable Filter Consumes Less Than 3 µA
Second-Order State Variable Filter Consumes Less Than 3 µA
DIY CD4069 state variable filter for modular synth
DIY CD4069 state variable filter for modular synth

At the heart of the state variable filter lies a unity gain, second-order, all-pass filter. This filter imparts a 90-degree phase shift to the input signal while maintaining its amplitude. By manipulating this filter's outputs, we can generate various responses, including low-pass, high-pass, and bandpass filters.

Passive State Variable Filters

At the heart of passive state variable filters lies simplicity and a minimalistic approach. They derive their responses using a combination of capacitors and resistors. These filters are renowned for their transparent sound and low noise floor. Here's a simple passive state variable filter topology:

View topic - V/Hz state variable filter
View topic - V/Hz state variable filter
State 700 Mk.2
State 700 Mk.2
State variable VCF - Niklas Rönnberg
State variable VCF - Niklas Rönnberg

Passive filters, while inducing minimal noise, have limited control over the filter's gain. They're ideal for applications where preservation of signal integrity is paramount.

Active State Variable Filters

Active state variable filters amplify the output of the second-order filter, providing gain control. This feature facilitates a wider range of applications, including parametric equalization. Here's a popular active state variable filter configuration:

Component Value
op-amps 2 x LM747
resistors R1, R2, R3, R4 (10k)
capacitors C1, C2 (10nF), C3 (1uF), C4 (10uF)
potentiometers 10k, dual 10k linear taper pots

Active state variable filters offer higher versatility but introduce some noise and distortion due to the active components. They're excellent for applications requiring enriching of the audio signal.

MS-20 Filter modified for 9v by Dirtbox Layouts
MS-20 Filter modified for 9v by Dirtbox Layouts
10 Useful Active Filter Circuit Diagrams Explored - Homemade Circuit Projects
10 Useful Active Filter Circuit Diagrams Explored - Homemade Circuit Projects
Active High Pass Filter
Active High Pass Filter
Elektronische scheidingsfilter voor aktieve luidsprekerboxen
Elektronische scheidingsfilter voor aktieve luidsprekerboxen
Simple state variable active filter
Simple state variable active filter
Low Pass Filter - Passive RC Filter Tutorial
Low Pass Filter - Passive RC Filter Tutorial

Applications and Creative Possibilities

State variable filters exhibit extensive versatility, ranging from tone shaping to sound design. Let's explore some creative applications:

Parametric Equalization - By modifying the filter's gain, you can shape specific frequencies, enhancing or attenuating them for targeted equalization.

Voice Modulation - State variable filters can transform voices dramatically by altering their spectral content, producing everything from robotic vocals to alien-sounding utterances.

Voltage Controlled Multimode Resonant Filter
Voltage Controlled Multimode Resonant Filter
Active High Pass Filter
Active High Pass Filter
BadSidechain State Variable Filter with Sidechain Eurorack Module (8HP) Modular for the Masses M4TM
BadSidechain State Variable Filter with Sidechain Eurorack Module (8HP) Modular for the Masses M4TM
DIY modular synth, my first patch
DIY modular synth, my first patch
two green and white screws sitting on top of a black ruler with numbers written on it
two green and white screws sitting on top of a black ruler with numbers written on it
State Variable Electronic Crossover
State Variable Electronic Crossover
the wiring diagram shows how to wire up an electronic device with two wires and one plugged in
the wiring diagram shows how to wire up an electronic device with two wires and one plugged in
the scr series noch filter is shown in this diagram, and it shows how to
the scr series noch filter is shown in this diagram, and it shows how to
an electronic circuit diagram showing the current voltages and power source for this device, it is
an electronic circuit diagram showing the current voltages and power source for this device, it is
the diagram shows an electric heater with three different coils and two different types of heating
the diagram shows an electric heater with three different coils and two different types of heating
Simple LC Low Pass Filter Circuit Design & Calculations » Electronics Notes
Simple LC Low Pass Filter Circuit Design & Calculations » Electronics Notes
Dôme acoustique : Le filtre passif KANEDA
Dôme acoustique : Le filtre passif KANEDA
The Steiner Resonant Filter & A New Adaptation
The Steiner Resonant Filter & A New Adaptation

Filtering for Noise Reduction

State variable filters can help mitigate noise in various forms – from broadband hum to high-frequency hiss. Understanding the nature of the noise guides the filter selection:

  1. Low-pass filtering - helps remove high-frequency noise like hiss or aliasing
  2. High-pass filtering - helps suppress low-frequency hum or rumble

The beauty of state variable filters lies in their ability to respond dynamically, allowing for both volume and frequency manipulation. This versatility sets them apart in creative audio engineering.

Creative Applications in Sound Design

Beyond noise reduction and voice modification, state variable filters power creative sound design:

  • Saturation effects - By overdriving the filter, you can introduce harmonics and distortion, adding warmth and character to your sounds.
  • Resonation - Exploring high-Q values broadens the filter's response, generating distinctive resonances that bring magical effects like swept filters and narrow-peaked noise generation.