OTA band-pass filter with envelope and sample-and-hold control, 1976 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 Maestro FSH-1 Filter Sample/Hold.

Two 3080s make a resonant band-pass filter. In Filter mode the guitar’s own envelope sweeps it up on each pick. In Sample/Hold mode a clock grabs a random voltage from a noisy transistor several times a second, so the filter jumps to a new place on every tick.

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 Q1 buffers the guitar. R4 and R5 cut it about 30 times before IC1, so the 3080s see only millivolts and stay clean. IC1 and IC2 each charge a cap, C3 and C5, and the two are wired in a loop. That loop is a state-variable filter, and the output is its band-pass, at Q2’s source. R7 sets how sharp the peak is. The peak is about 20 dB over the guitar and narrow, with a Q near 10. The current into the 3080s’ bias pins sets the peak’s frequency. It is about 340 Hz at the 3.5 µA each pin gets at rest, 1 kHz at 10 µA, 2.5 kHz at 27 µA and 6 kHz at 68 µA. Q3 turns the control voltage into that current. Only a voltage over the 0.5 V on its emitter pushes current in. In Filter mode the control is the guitar’s envelope. IC3 rectifies the guitar with a gain of about 45 into C6, which charges in about 15 ms and drains through R19 in about half a second. With Filter Range at full, a 0.2 V pick moves the peak from 340 Hz to about 2.5 kHz and back. Lower settings sweep less. In Sample/Hold the control is random. Q4’s junction in breakdown is noisy, and IC4 amplifies that noise to about 0.6 V rms. The clock, IC5, lifts Q5’s gate for under a millisecond, 2.6 to 13 times a second as S/H Speed turns up, and C9 holds the noise’s value until the next tick. With the trims as set, the peak jumps between about 340 Hz and 2.3 kHz, centered near 1.4 kHz. A real unit’s noise level depends on the transistor picked for Q4.

Download.

Parts and what they do

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

−9 V, -9 V
The −9 V supply, a steady source here.
R35, 470 Ω
With C12 it filters the +9 V into the +8 V line for the filter, Q1 and Q2.
C11, 220 µF
Filter cap on the +9 V rail.
C12, 220 µF
Filter cap on the +8 V line.
R36, 470 Ω
With C14 it filters the −9 V into the −8 V line.
C13, 220 µF
Filter cap on the −9 V rail.
C14, 220 µF
Filter cap on the −8 V line.
C1, 47 nF
Input coupling cap. With R2 it passes everything above about 34 Hz.
R2, 100 kΩ
Sets the input impedance, about 100 kΩ.
R1, 10 kΩ
Base stopper for Q1.
Q1, MPS5172
Emitter follower (MPS5172). It drives the filter, the envelope and the bypass from a low impedance.
R3, 22 kΩ
Q1’s emitter load to −8 V, about 0.33 mA.
C2, 150 nF
Coupling cap from Q1 to the filter, Filter Range and the bypass.
R4, 100 kΩ
With R5 it cuts the guitar about 30 times (−30 dB) before IC1, so the 3080 sees only millivolts and stays clean.
R5, 3.3 kΩ
The bottom of IC1’s input divider.
R7, 1 MΩ
Damping. It feeds the band-pass back into IC1’s − input. Its ratio to R4 sets the filter’s peak gain, about 10 (20 dB), and the sharpness of the peak.
IC1, CA3080
The first integrator, a 3080. Its output current charges C3. The current into its bias pin sets its gain, and so the filter’s frequency.
C3, 1 nF
IC1’s integrating cap.
Q2, 2N4303
JFET source follower (2N4303). It reads C3 without loading it. Its source is the band-pass output.
R8, 12 kΩ
Q2’s source load to −8 V.
R9, 100 kΩ
With R10 it cuts the band-pass about 30 times before IC2.
R10, 3.3 kΩ
The bottom of IC2’s input divider.
IC2, CA3080
The second integrator, a 3080 on the same control current as IC1. Its output on C5 is the low-pass, fed back to IC1’s + input.
R12, 3.3 kΩ
Ground for IC2’s + input, the same resistance its − input sees.
C5, 30 nF
IC2’s integrating cap.
R6, 22 kΩ
Shares Q3’s current into IC1’s bias pin.
R13, 22 kΩ
Shares Q3’s current into IC2’s bias pin.
R20, 2.7 MΩ
A small current from ground into the bias pins, about 3 µA, so the filter never shuts off with Q3 off.
C7, 150 nF
Smooths the bias current, so the filter glides slightly between steps.
Q3, 2N3906
Common-base PNP (2N3906). The current into its emitter comes out its collector into the 3080s’ bias pins.
R21, 1 MΩ
A small steady current, about 8 µA, into Q3’s emitter.
R22, 22 kΩ
Turns the control voltage into a current. Q3’s emitter sits about 0.5 V over ground, so only a control voltage over that pushes current in.
R23, 100 kΩ
In Sample/Hold it adds the offset trim’s current to Q3’s emitter.
R26, 100 kΩ pot, linear taper
Offset trim, 100 kΩ from +9 to −9 V. In Sample/Hold it pulls current back out of Q3’s emitter, so it sets the middle of the jumps. Set at 0.08 here (about −7.6 V), so the jumps center near 1.4 kHz.
R11, 3.3 kΩ
Output resistor from the band-pass.
C4, 150 nF
Output coupling cap.
R14, 100 kΩ
Holds the output at 0 V DC.
Filter Range, 100 kΩ pot, audio taper
Filter Range, 100 kΩ. It sets how much of the guitar reaches the envelope follower, so how far each pick sweeps the filter in Filter mode. The taper isn’t marked, so it is set as audio taper.
R16, 22 kΩ
IC3’s input resistor.
IC3, LM741 / µA741
Precision half-wave rectifier, a 741. On the negative half of the guitar its output rises and D3 passes it, with a gain of R17 over R16, about 45.
D2, 1N914 / 1N4148
On the positive half it holds IC3’s output a diode drop under its − input, so the output never swings to the rail.
D3, 1N914 / 1N4148
Passes only the rectifier’s positive output.
R17, 1 MΩ
IC3’s feedback, through D3. With R16 it sets the gain, about 45.
R18, 3.3 kΩ
With C6 it sets the attack, about 15 ms.
C6, 4.7 µF
The envelope’s hold cap, 4.7 µF, its other end on +9 V.
R19, 100 kΩ
With C6 it sets the decay, about 0.5 s.
R24, 100 kΩ
Feeds Q4’s junction about 0.1 mA from +9 V.
Q4, 2N3904 emitter-base, in breakdown
The noise source, a 2N3904 with its base open. Its emitter-base junction breaks down in reverse at about 7.5 V, and in breakdown the current through it is noisy. The noise is set at 15 nA per root hertz, about 20 µV per root hertz across the junction, an assumed figure for a junction picked for noise.
C8, 47 nF
Passes the noise to IC4 and blocks Q4’s DC.
IC4, LM741 / µA741
Noise amplifier, a 741. The noise current into its − input comes out as a voltage, R25 times that current.
R25, 1 MΩ
IC4’s feedback, 1 MΩ.
R27, 10 kΩ pot, linear taper
Noise level trim, 10 kΩ. It sets how big the random steps are. Set at 0.8 here.
Q5, 2N4303
The sample switch (2N4303). With its gate pulled to −9 V it is off. On each short clock pulse R30 lifts its gate and it connects the noise to C9.
R30, 1 MΩ
Gate resistor from the clock. When the clock is high, Q5’s gate rises to its channel through R30 without loading the clock.
C9, 47 nF
The hold cap. It keeps the last sample until the next pulse.
Q6, 2N4303
JFET source follower (2N4303). It reads C9 without draining it.
R31, 22 kΩ
Q6’s source load to −9 V.
IC5, LM741 / µA741
The clock, a 741 Schmitt oscillator. Its output is high for under a millisecond and low for the rest of each period.
C10, 150 nF
The clock’s timing cap.
S/H Speed, 2 MΩ pot, linear taper
S/H Speed, a 2 MΩ rheostat in series with R29. Less resistance discharges C10 faster, so the clock ticks faster. The taper isn’t marked, so it is set as linear.
R29, 330 kΩ
The slowest part of the clock’s period, with S/H Speed at its fastest.
R32, 3.3 kΩ
With D1 it charges C10 fast while the clock is high, so the sample pulse is short.
D1, 1N914 / 1N4148
Conducts only while the clock is high.
R33, 22 kΩ
Positive feedback. With R34 it sets the switching points at about two thirds of the output swing.
R34, 47 kΩ
The bottom of the clock’s switching divider.

About this version

Drawn
On ±9 V from two steady sources, with 470 Ω and 220 µF filters to the ±8 V lines for the filter. The trims are set as a builder would set them.

Sources

  • JD Sleep, redrawn schematic

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.