OTA envelope filter with a Blend control, late 1990s style

Pedal and tube amp circuits, simulated part by part the way an engineer’s circuit simulator does it, while you listen and watch. Turn the knobs, change any part, or tap a wire to put a probe on it.

Start here

Modeled after the DOD FX25B Envelope Filter.

An auto-wah. An envelope follower turns the playing into a current that sets the peak of a two-OTA filter. Sensitivity sets how hard you have to play, Range how tall and narrow the peak is, and Blend how much dry signal is mixed back in.

Input

Add

Peak voltage from the pickup for each note. Strum hard and a single coil puts out a few hundred millivolts. When you play a chord, its strings share this level.

How it’s played
Tap a part to change its value, or a wire to probe it. To add or take out parts, open Modify this circuit, below. Red numbers are DC voltages to ground, not warnings. Scroll or drag to see the whole circuit. Pinch to zoom.
Modify this circuit Add parts, take them out, or put one in series with another, then hear what it does. Tap to open.

Pick what to do, then tap the schematic. Your changes show in purple. Any change can go on a switch beside the knobs, from the menu in its row under Your changes.

Add a part

Tap where each leg goes. Tap both ends of a part to put the new one across that part.

Change a part

With Remove a part on, tap any part of the pedal or amp to take it out, and tap it again to put it back. Tapping a purple part you added deletes it.

Turn on Add in series with a leg and tap a part. In that part’s box, below the schematic, pick which leg to lift and what goes in the gap, such as a resistor between a cap and ground or a stopper in front of a grid.

Change a wire

With Cut into a wire on, tap any wire. Pick a part from the menu and it goes in the gap, wired in. Volume pot puts a pot there with the input on one end, the output on the wiper and the other end to ground.

With Run a wire on, tap a leg, then where the wire goes. Drag any piece of a wire you ran, or of an added part’s lead, to square it up or move it.

Keep and share

Your changes stay in this browser, on this device, for your next visit. Nothing is sent to us. Anyone using this browser can see them. They’re lost if you clear your browsing data or use a private window, so save a file to keep a copy. A shared link carries the circuit after the #, a part browsers never send to a server.

Test tone for the graphs
The graphs use a steady tone. Play sounds a plucked string that dies away.

Input

pickup, unloadedat the pedal input

Output

at the amp input

Probe

Spectrum

Frequency response

What the curves mean

The black curve (white in dark mode) is the response to a very quiet signal, from the generator to the probe. The blue curve is measured with pink noise at the level you set, like an audio analyzer. When stages clip, the blue curve pulls away from the black one and the gray coherence line (right-hand scale) drops below 1. When that happens the response depends on how loud the signal is, and neither curve describes it by itself. Both use the signal generator, whichever Input tab is picked.

Output

Bias

every voltage and current at rest

What to listen for Two paths leave U1B. One goes into the filter. R6, R5 and R13 cut the guitar to a few millivolts, small enough for an OTA’s input to stay clean. An OTA is an amplifier whose output is a current, and a second current into its bias pin sets how strong that output is. The filter is two OTA stages in a loop, each charging a cap. U2B’s output current charges C9, and its buffer is the band-pass output. U2A’s output current, driven by the band-pass output, charges C8, and its buffer is the low-pass output, fed back to U2B’s minus input through R21. How fast each OTA charges its cap follows the current into its bias pin, so that current sets the peak, about 12.5 Hz per µA. Range feeds part of the low-pass output to U2A’s minus input, which sets how tall and narrow the peak is. The other path is the envelope follower. U1A amplifies the guitar above about 1 kHz. At 1 kHz its gain is about 8 dB at Sensitivity 0 and about 45 dB at full. C18, D4 and D5 rectify the peaks into C11, and C11 drives both bias pins through R12 and R19. With no signal R30 holds about 3.9 µA in each pin and the peak rests near 50 Hz. A hard pick with Sensitivity at full charges C11 to about 5 V, which is about 380 µA in each pin. The peak jumps to near 4.7 kHz, then falls back as C11 drains into the pins, in about 75 ms. Blend mixes the band-pass output with the dry signal. Four parts differ from the drawing (C9, RE, R11, R15) so that the filter works. Each change is in that part’s note. The footswitch logic, the LED and the bypass are left out, so the effect is always on.

Download.

Parts and what they do

Stock values. Tap a part on the schematic to change it.

C5, 330 µF electrolytic
Across the 9 V supply.
R34, 51 Ω
Feeds VCC from the battery. With D3 it protects the circuit from a reversed supply.
D3, 1N4001
Across VCC. It conducts and blows the 51 Ω if the supply goes in backward.
R3, 22 kΩ
Top of the Vbias divider, from the battery.
R4, 22 kΩ
Bottom of the Vbias divider. With R3 it sets Q4’s base near 4.5 V.
C2, 10 µF electrolytic
Filters the divider.
Q4, 2N5088
Emitter follower that makes Vbias, about 3.85 V, the middle point every op-amp and OTA input sits at.
C16, 1 µF electrolytic
Filters Vbias.
R35, 10 kΩ
Q4’s emitter load.
C1, 10 nF
Input coupling cap.
R1, 10 kΩ
In series with the input.
R2, 470 kΩ
Biases the input buffer at Vbias. The input impedance is about 480 kΩ.
U1B, JRC4560
Input buffer. It feeds the filter, the envelope follower and the dry side of Blend.
C3, 1 µF electrolytic
Couples the buffer to the filter’s input.
R6, 100 kΩ
Top of the divider into the filter.
R6, 100 kΩ
The drawing’s second R6, from the filter’s input to Vbias. With R6 and R5 it divides the guitar by about 7 before the 20 kΩ / 1 kΩ divider.
R5, 20 kΩ
Into U2B’s plus input. Q2, the J113 that switches the effect in, sits between R5 and the input. Here it’s on, drawn as a wire.
R13, 1 kΩ
U2B’s plus input to Vbias. With R5 it divides by 21, so the OTA sees only millivolts.
R21, 22 kΩ
Feeds the low-pass output back to U2B’s minus input.
R11, 1 kΩ
U2B’s minus input to Vbias, dividing the feedback by 23. The drawing shows it on the buffer output. It is moved here.
U2B, LM13700 (one half)
First half of the LM13600, the first integrator. Its output current, which scales with the bias current, charges C9.
C9, 10 nF
U2B’s integrator cap. Not on the drawing, assumed equal to C8.
U2B buffer, 2N5088
The LM13600’s Darlington buffer for U2B, first half.
U2B buffer, 2N5088
Second half of U2B’s buffer. Its emitter is the band-pass output.
RE, 22 kΩ
Emitter load for U2B’s buffer. Not on the drawing, assumed equal to R20.
R12, 10 kΩ
Carries the envelope voltage into U2B’s bias pin. The pin sits at about 1.2 V, so the current is the envelope voltage minus 1.2 V, over 10 kΩ.
R16, 22 kΩ
Feeds the band-pass output to U2A’s plus input.
R17, 1 kΩ
U2A’s plus input to Vbias, dividing the band-pass by 23.
R18, 1 kΩ
U2A’s minus input to Vbias.
R15, 22 kΩ
With Range, feeds the low-pass output back to U2A’s minus input. The drawing shows it on the plus input. It is moved here.
Range, 100 kΩ pot, linear taper
Range, 100 kΩ, a variable resistor in series with R15. More resistance means less damping, so the peak stands taller and narrower. At 0 the peak is about 12.5 dB under the input, at full about 1 dB.
U2A, LM13700 (one half)
Second half of the LM13600, the second integrator. It charges C8.
C8, 10 nF
U2A’s integrator cap.
U2A buffer, 2N5088
The LM13600’s Darlington buffer for U2A, first half.
U2A buffer, 2N5088
Second half of U2A’s buffer. Its emitter is the low-pass output.
R20, 22 kΩ
Emitter load for U2A’s buffer.
R19, 10 kΩ
Carries the envelope voltage into U2A’s bias pin, as R12 does for U2B.
C13, 1 nF
Feeds the envelope follower. Against R33 it cuts below about 1 kHz, so the pick attack and the treble move the filter more than the low notes.
R33, 150 kΩ
Biases U1A’s plus input at Vbias.
U1A, JRC4560
Gain stage for the envelope follower.
R31, 1 MΩ
U1A’s feedback resistor.
C17, 100 pF
Across R31. It rolls U1A’s gain off in the top octaves.
R32, 4.7 kΩ
Sets U1A’s highest gain. 1 MΩ over 4.7 kΩ comes to about 47 dB, and C17 across the 1 MΩ holds it to about 45 dB near 1 kHz.
C14, 100 nF
Blocks DC from the gain leg, so U1A sits at Vbias.
Sensitivity, 500 kΩ pot, reverse audio taper
Sensitivity, 500 kΩ, a variable resistor in U1A’s gain leg. Less resistance means more gain, so softer playing moves the filter. Taper and direction assumed.
C18, 4.7 µF electrolytic
Couples U1A to the rectifier. Marked 4.7K on the drawing, read as 4.7 µF.
D4, 1N914 / 1N4148
Clamps C18’s far side at ground on the down swings, so D5 sees the whole peak-to-peak swing.
D5, 1N914 / 1N4148
Charges C11 on the peaks.
C11, 15 µF electrolytic
The envelope cap. It charges fast through D5 and drains through R12 and R19 into the bias pins, about 75 ms (15 µF times 5 kΩ).
R30, 1 MΩ
From VCC to the envelope cap. It holds about 3.9 µA in each bias pin with no signal, so the filter rests near 50 Hz.
C7, 1 µF electrolytic
Couples the band-pass output to the mix.
R14, 10 kΩ
Into the mix node from the filter.
R39, 10 kΩ
Into the Blend pot from the dry buffer.
C21, 1 µF electrolytic
Couples the dry signal to the Blend wiper.
Blend, 100 kΩ pot, linear taper
Blend, 100 kΩ linear. The dry signal comes in on the wiper. Toward the Vbias end the dry signal is shunted away and only the effect is left. Toward the mix end the dry signal reaches the mix through 10 kΩ, as the filter does.
R40, 1 MΩ
Holds the mix node at Vbias.
U4B, TL072
Buffers the mix. Q6, the J201 after it that switches the effect, is on here, drawn as a wire.
R38, 100 kΩ
Holds the output buffer’s input at Vbias.
U4A, TL072
Output buffer.
C4, 1 µF electrolytic
Output coupling cap.
R8, 1 kΩ
In series with the output.
R9, 100 kΩ
Holds the output jack at ground.

About this version

Stock
Negative ground, 9 V. The LM13600 is modeled as the LM13700 OTA with two 2N5088s for each buffer. JRC4560 and TL072 op-amps.

How this tool works. Every part is described by an equation, and the whole circuit is solved several times for each audio sample: 192,000 samples a second while you drag a knob, and 384,000 once you let go. Transistors use the standard Ebers-Moll model, with gain, leakage, base resistance, junction capacitance, temperature and the small rise in current with collector voltage (the Early effect). The charge a transistor stores is worked out at its idle point. That is accurate for small signals and rough while the transistor switches hard. Tubes use Koren’s equations, matched to each type’s datasheet, plus grid current. Diodes use the standard diode equation with series resistance. Presets are typical of each type. Caps are ideal, and the battery or HT is a voltage behind a resistance.

Spot an error, or want a circuit added? Email info@swellamps.com. A schematic or a clear photo of one helps. Anything you send may be used to improve these models and our desktop app.

From Swell Amplification, swellamps.com.