← All modules

@maru shared this effect so you can build on it and use it in your DAW.

AvailableEffect

Auto Wah

A resonant filter driven by your playing level.

About

A wah that follows your playing instead of a pedal or a clock. A resonant peak rises up the spectrum as you play harder and falls back as you play softer: the funk wah that tracks your dynamics.

The idea

An envelope follower listens to the level of the input, and that level moves a narrow, boosted band up from a resting frequency. Nothing runs on a timer, so the sweep only happens while you play, and its shape is the shape of your playing: a hard pick snaps it open, a soft one barely moves it.

Controls

The face groups the six controls into two strips.

Sweep

  • Base Freq is where the filter rests when the input is quiet, the closed position of the pedal.
  • Octaves is how far above that a full-level input opens it. Six octaves from 100 Hz covers most of the audible range, a full pedal sweep.
  • Sensitivity matches the wah to how hard you play. Lower values let quieter playing open the filter fully.

Shape + Blend

  • Q sets how narrow the moving band is. Narrow gives the vocal quack; wide turns the sweep into a broader tone shift.
  • Peak Gain sets how far the band stands out from the rest of the sound. The peak stays at about the input level and the rest of the spectrum sits lower, so raising it does not push the output into clipping.
  • Mix blends the wah against the untouched signal. A wah is usually fully wet; pulling it back keeps the dry attack under the sweep.

Getting started

Auto Wah is a mono audio effect. It suits clean electric guitar best, but anything with clear dynamics works. Start from the Default preset, play a funky rhythm part, and adjust Sensitivity until your hardest notes open the filter all the way.

How it works.

An envelope follower measures the input's level, and that measurement sets a resonant peak's centre frequency. Loud pushes the peak up toward Base Freq raised by Octaves, quiet lets it fall back to Base Freq. Nothing here runs on a clock, the sweep exists only while you are playing, and its shape is the shape of your dynamics.

The three remaining controls split cleanly between the detector and the filter. Sensitivity offsets the level at which the follower tops out, which is how you match the pedal to how hard you actually play; Q and Peak Gain shape the peak itself, deciding how narrow it is and how far it protrudes.

Web Audio has no envelope-follower node, so the browser preview builds one: a waveshaper rectifies the input, a one-pole lowpass at about 8 Hz averages it, and the result drives the filter's detune through a scaling gain. That is a genuine audio-rate follower, not an AnalyserNode polled from an animation frame, which would update only about once every 16 ms and smear exactly the transients a wah exists to track. Driving detune rather than frequency also makes the sweep exponential for free, so the same octave span sounds the same wherever Base Freq sits.

What would you make with Auto Wah?

Describe what you want to make. Build it with the Studio agent.

Goes well with.

Building block

A low-pass filter driven by an LFO.

Building block

A resonant low-pass filter for shaping tone.

Building block

A compressor with visible gain reduction.