Three op-amp clipping stages with Attack, Punch and Edge, 1983 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 Ibanez SM-9 Super Metal.

A JFET buffer and an op-amp stage with an Attack control between its inputs, then two inverting op-amp stages with an LED and a silicon diode across each feedback, and red LEDs to ground. An active bass control (Punch) and an Edge control that boosts or cuts two tuned bands near 1.2 kHz and 2.3 kHz follow.

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. C2 into R5 and the Attack network cut the bass before any gain, about 10 dB at 100 Hz against 3 kHz. IC1A’s treble gain is set by Attack. With the wiper toward the minus input, C4 and R7 raise it to about 5.5. IC1B and IC2A are inverting stages that share the Drive pot. Turning Drive up moves track into IC1B’s feedback and out of IC2A’s input, so both stages gain together. Each stage has a red LED one way and a silicon diode the other across its feedback, so each clips unevenly. The red LEDs to ground after R12 would clip at about 1.7 V, more than IC2A puts out, so they barely conduct. Punch is an active bass control, flat at noon. Edge moves two simulated inductors between IC3A’s two inputs. Toward the minus input they boost their bands, toward the plus input they cut. R18 and R19 halve the signal into IC3A, and R27 with the 10 kΞ© Level halves it again, so the pedal is quiet. The model leaves out the electronic bypass and the supply filters.

Download.

Parts and what they do

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

R31, 10 kΞ©
Top of the 4.5 V reference divider.
R32, 10 kΞ©
Bottom of the reference divider.
C25, 47 ¡F electrolytic
Filters the 4.5 V reference.
R1, 10 kΞ©
Input series resistor.
C1, 47 nF
Input coupling cap.
R2, 1 MΞ©
Biases Q1’s gate at 4.5 V and sets the input impedance near 1 MΞ©.
Q1, 2N5457
Input buffer, a 2N5457 source follower.
R3, 10 kΞ©
Q1’s source resistor.
C2, 100 nF
Coupling cap into IC1A.
R4, 1 kΞ©
Series resistor into IC1A.
R5, 10 kΞ©
Biases IC1A’s plus input at 4.5 V.
Attack, 20 kΞ© pot, s curve taper
Attack, 20 kΞ© with an S-curve taper, between IC1A’s two inputs. Its wiper goes to ground through C4 and R7. Turned up, toward the minus input, the treble gain rises. Turned down, the treble at the plus input is cut.
C4, 220 nF
With R7, from the Attack wiper to ground.
R7, 220 Ω
With C4, sets IC1A’s treble gain near 5.5 with Attack at full.
IC1A, JRC4558D
First stage, non-inverting, with the Attack network between its inputs.
R6, 1 kΞ©
IC1A’s feedback resistor.
C3, 33 nF
Across R6. It rolls off IC1A’s gain above about 4.8 kHz.
C5, 220 nF
Coupling cap into IC1B.
R8, 4.7 kΞ©
IC1B’s input resistor.
IC1B, JRC4558D
Second stage, inverting, with an LED and a diode across its feedback.
R9, 4.7 kΞ©
With the Drive pot’s first part, IC1B’s feedback.
Drive, 100 kΞ© pot, linear taper
Drive, 100 kΞ© linear. Its wiper is IC1B’s output. The part toward R9 is IC1B’s feedback, the part toward R10 is in IC2A’s input, so turning it up raises both stages’ gain.
C6, 100 pF
Across IC1B’s feedback. It rolls off the top of the clipped signal.
D2, D3, 1N914 / 1N4148 one way, Red LED the other way
D3, a red LED, one way and D2, a silicon diode, the other way across IC1B’s feedback, so it swings about 1.4 V one way and 0.5 V the other.
R10, 4.7 kΞ©
With the Drive pot’s other part, IC2A’s input resistance.
C7, 220 nF
Coupling cap into IC2A.
IC2A, JRC4558D
Third stage, inverting, with an LED and a diode across its feedback.
R11, 220 kΞ©
IC2A’s feedback resistor.
C8, 100 pF
Across IC2A’s feedback. It rolls off the top of the clipped signal.
D4, D5, 1N914 / 1N4148 one way, Red LED the other way
D5, a red LED, one way and D4, a silicon diode, the other way across IC2A’s feedback.
C9, 1 ¡F
Coupling cap toward the LEDs.
R12, 10 kΞ©
Feeds the LEDs and limits their current.
D10, D11, Red LED, one each way
D10 and D11, red LEDs back to back to ground. They would hold the signal to about 1.7 V either way, more than IC2A puts out, so they barely conduct.
C10, 1 nF
Across the LEDs. With R12 it trims the treble above about 16 kHz.
C11, 1 ¡F
Coupling cap into the bass stage.
R13, 100 kΞ©
Holds the bass stage’s input at 4.5 V.
R14, 10 kΞ©
Input resistor of the bass stage.
Punch, 100 kΞ© pot, linear taper
Punch, 100 kΞ© linear. Its wiper feeds IC2B’s minus input. Turned up, toward R14, the bass is boosted. Turned down, it’s cut. Flat at noon.
C12, 10 nF
Across the Punch pot’s input half. It lets the treble past the pot, so Punch works on the bass.
C13, 10 nF
Across the Punch pot’s output half.
R15, 10 kΞ©
Feedback resistor of the bass stage.
R16, 15 kΞ©
From the Punch wiper to IC2B’s minus input.
R17, 10 kΞ©
Biases IC2B’s plus input at 4.5 V.
C14, 30 pF
Across IC2B’s feedback. It rolls off the top end.
IC2B, JRC4558D
Bass stage, inverting.
C15, 1 ¡F
Coupling cap into the Edge stage.
R18, 4.7 kΞ©
Into IC3A’s plus input. The branches on the plus side cut against it.
R19, 4.7 kΞ©
From IC3A’s plus input to 4.5 V. With R18 it halves the signal.
Edge, 20 kΞ© pot, s curve taper
Edge, 20 kΞ© with an S-curve taper, one half of a dual pot between IC3A’s two inputs. Its wiper feeds the 1.2 kHz branch. Turned up, toward the minus input, the band is boosted. Turned down, it’s cut.
Edge (2.3 kHz), 20 kΞ© pot, s curve taper
The other half of the dual Edge pot. Its wiper feeds the 2.3 kHz branch.
IC3A, JRC4558D
Edge stage. A tuned branch on its minus input boosts its band, one on its plus input cuts it.
R20, 4.7 kΞ©
IC3A’s feedback resistor.
C16, 5.6 nF
Across R20. It rolls off above about 6 kHz.
R21, 220 Ω
Sets how far the 1.2 kHz band can be boosted or cut.
C17, 56 nF
Tunes the 1.2 kHz branch with the simulated inductor.
R22, 1.5 kΞ©
Sets the 1.2 kHz branch’s width.
C18, 2.2 nF
With R22 and R23, it makes IC4A act as a 0.33 H inductor.
R23, 100 kΞ©
Biases IC4A at 4.5 V.
IC4A, JRC4558D
Follower of the 1.2 kHz branch’s simulated inductor (a gyrator).
R24, 220 Ω
Sets how far the 2.3 kHz band can be boosted or cut.
C19, 47 nF
Tunes the 2.3 kHz branch with the simulated inductor.
R26, 820 Ω
Sets the 2.3 kHz branch’s width.
C20, 1.2 nF
With R26 and R25, it makes IC4B act as a 0.1 H inductor.
R25, 100 kΞ©
Biases IC4B at 4.5 V.
IC4B, JRC4558D
Follower of the 2.3 kHz branch’s simulated inductor (a gyrator).
C21, 1 ¡F
Coupling cap out of the Edge stage.
R27, 10 kΞ©
In series ahead of Level. With the 10 kΞ© Level it halves the most output.
Level, 10 kΞ© pot, audio taper
Level, 10 kΞ© audio, to ground.
C22, 100 nF
Coupling cap into the output buffer.
R28, 510 kΞ©
Biases IC3B at 4.5 V.
IC3B, JRC4558D
Output buffer, a follower.
R29, 470 Ω
In series at the output.
C24, 10 ¡F electrolytic
Output coupling cap.

About this version

Stock values
From a later redraw, at the stock values: R19 4.7 kΞ©, R27 10 kΞ©, and one dual-gang Edge pot. JRC4558D op-amps, a 2N5457 JFET, 1N914 diodes and red LEDs.

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.