Flip-flop octave down with an OTA gate, 1982 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.
Every part is simulated. Nothing you hear is a recording.
1Pick a circuit
Choose one from the menu, or type a name, maker or year in Find a circuit. The buttons under the menu switch between versions.
2Set the knobs and the input
Turn the circuit’s knobs on the front panel. In the Input box, choose Guitar or Signal generator, and the note or chord.
3Press Play
Press Play through the circuit to hear a picked note or chord. Play the string is the guitar by itself.
4Tap a part
Tap any part on the schematic to change its value, or swap the transistor, tube or diode. The red numbers are DC voltages, and they update as you go.
5Tap a wire
Tap a wire to put the probe there. The Probe graph and the spectrum show the signal there.
6Try a change
Press Try it on a card under Try this to hear one change, before and after. Modify this circuit, below the schematic, adds or removes parts.
Good to know
- Not sure what a control does? Hover over it, or hold a finger on it, for a short note.
- For a whole build or mod step by step, open Walkthroughs here.
- To put together a pedal or preamp of your own, use the Builder tab.
- Your switches stay where you left them the next time you open that circuit, in this browser only.
- A tube amp opens whole, with its power amp. Pick Preamp only in the Power amp menu to hear the preamp by itself, or pick another power amp to hear this preamp through it.
- The graphs use a steady test tone. Play sounds a picked note that dies away.
- Part values are typical of their type. Each circuit’s notes say which schematic it’s based on.
Modeled after the Korg OCT-1 Octave.
A low-pass filter and two comparators turn the note into clean edges. A 4013 divides them by two, and that square switches an OTA on and off on the dry note, so the note comes through on every other cycle.
Try this
Common mods
Changes people often make to this circuit. Try it plays the note before and after, at the same loudness. Keep it adds the mod to Your changes, where it can go on a switch.
Input
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.
Your build
Stack blocks from the guitar down to the output. Tap + Add a block wherever you want one. The coupling caps and the supply are wired in for you.
Your blocks. These are blocks you saved with Save block, values and part changes included. Add one to any build of the same kind with + Add a block. They stay in this browser.
Your builds stay in this browser, on this device, and 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 to a file to keep a copy. Open a file, or drop the .bench file on the page, brings it back on any device.
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.
Tap where each leg goes. Tap both ends of a part to put the new one across that 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.
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.
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.
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 The OC-2 switches the note’s polarity with the divided square. The OCT-1 turns an OTA on and off with it instead, so the octave below comes with the note itself mixed in. IC6b’s low-pass, near 690 Hz with some peaking, keeps the upper harmonics out of the trigger. One comparator sets the first flip-flop as the wave goes positive. The other resets it once the wave falls from its peak. The second flip-flop divides by two. Its square sets IC2’s bias current, about 65 µA when high and 3 µA when low. Polarity inverts the trigger stage’s input, so the edges come from the wave’s lowest points. Effect and Direct set the two levels into IC5. The model leaves out the footswitch.
Download.
Parts and what they do
Stock values. Tap a part on the schematic to change it.
- R15, 10 kΩ
- Top of the 4.5 V reference divider.
- R16, 10 kΩ
- Bottom of the reference divider.
- C6, 100 µF electrolytic
- Filters the 4.5 V reference.
- R20, 10 kΩ
- Input series resistor.
- C8, 22 nF
- Input coupling cap.
- R23, 1 MΩ
- Biases the input buffer at 4.5 V and sets the input impedance near 1 MΩ.
- IC4a, JRC4558D
- Input buffer, a follower.
- C9, 10 µF electrolytic
- Couples the buffered input to the OTA and the Direct pot.
- R27, 100 kΩ
- Holds IC4b’s plus input at 4.5 V when Polarity is in B.
- R25, 91 kΩ
- Into IC4b’s minus input. In B the buffered note comes in here, for a gain of minus 470 k over 91 k.
- R26, 22 kΩ
- In A it adds to R25, so the gain is 1 plus 470 k over 113 k, the same 5.2.
- IC4b, JRC4558D
- The Polarity stage, a gain of about 5.2 either way round.
- R24, 470 kΩ
- Feedback resistor of the Polarity stage.
- R28, 22 kΩ
- With C18, a treble cut from about 720 Hz.
- C18, 10 nF
- The first low-pass cap.
- R39, 330 kΩ
- First resistor of the Sallen-Key low-pass.
- C14, 2.2 nF
- From the filter’s middle to IC6b’s output. Against C15 it sets the peaking.
- R38, 330 kΩ
- Second resistor of the Sallen-Key low-pass. With C14 and C15 the corner is near 690 Hz.
- C15, 220 pF
- The Sallen-Key’s cap to ground.
- IC6b, TL062 (low power)
- The Sallen-Key’s follower.
- R34, 3.3 kΩ
- With C12, a treble cut from about 15 kHz.
- C12, 3.3 nF
- Trims the top end before the comparators.
- C11, 22 nF
- Couples the filtered note to the trigger node.
- R33, 1 MΩ
- Holds the trigger node near the 4.5 V reference.
- R43, 22 MΩ
- Lifts the trigger node about 0.2 V over the reference, so the comparators sit still with no note.
- IC3b, TL062 (low power)
- Comparator. Its output goes high while the trigger node is over 4.5 V.
- R14, 47 kΩ
- Into the first flip-flop’s set input.
- R35, 220 kΩ
- Feeds the trigger node to the peak detector.
- R36, 1 MΩ
- With C13, a small treble trim at the peak detector’s input.
- C13, 1.5 nF
- In series with R36 to ground.
- IC6a, TL062 (low power)
- Peak detector. With D5 inside its feedback it charges C7 to the wave’s peaks.
- D5, 1N914 / 1N4148
- The peak detector’s diode, a 1S1555 on the drawing.
- R19, 1 kΩ
- Charges C7. The held peak lags the wave by about 47 µs.
- C7, 47 nF
- Holds the peak.
- R18, 1 MΩ
- Lets the held peak fall back, over about 50 ms.
- IC3a, TL062 (low power)
- Comparator. Its output goes high once the wave falls under the held peak.
- R17, 47 kΩ
- Into the first flip-flop’s reset input.
- IC1a, CD4013B
- Half a 4013, used only by its set and reset inputs. Its Q bar goes low while the wave rises to its peak and high after, one clean edge a cycle.
- IC1b, CD4013B
- The other half, its D input on its Q bar, so each edge flips it. Its output is a square an octave below the note.
- D3, 1N914 / 1N4148
- Passes the square’s high half to the bias network, a 1S1555 on the drawing.
- R3, 47 kΩ
- With R4, holds the bias network near 1.6 V while the square is low.
- R4, 10 kΩ
- Bottom of the bias network’s divider.
- R8, 10 kΩ
- With C4, it rounds the square’s edges.
- C4, 22 nF
- Rounds the edges, so the gate opens and closes over about 0.2 ms with less click.
- R13, 100 kΩ
- Sets IC2’s bias current, about 65 µA with the square high.
- R12, 5.1 kΩ
- With R7, it cuts the note to about a twelfth, small enough for the OTA’s input.
- R7, 470 Ω
- Bottom of the OTA’s input divider.
- R6, 470 Ω
- Holds the OTA’s minus input at the reference, matching R7.
- VR1, 100 kΩ pot, linear taper
- A 100 kΩ trimmer inside the pedal. Through R11 it nudges the OTA’s minus input to null the square’s thump. Its setting isn’t on the drawing, so it’s set at the middle.
- R11, 470 kΩ
- From VR1 to the OTA’s minus input.
- IC2, LM13700 (one half)
- Half an NJM13600. Its output is a current, the voltage across its inputs times a gain that follows the bias current, so the square turns it on and off.
- R9, 47 kΩ
- The OTA’s load. Its current through R9 is the gated note.
- C2, 3.3 nF
- Trims the treble at the OTA’s output, from about 1 kHz.
- IC2 buffer, 2N5088
- The NJM13600’s Darlington buffer, first half.
- IC2 buffer, 2N5088
- The buffer’s second half.
- R2, 10 kΩ
- The buffer’s emitter load.
- C3, 1 µF electrolytic
- Couples the buffer to the Effect Level pot.
- R5, 27 kΩ
- With C5, a treble cut from about 270 Hz on the octave.
- C5, 22 nF
- Rounds the gated note before the Effect pot.
- Effect, 100 kΩ pot, linear taper
- Effect Level, 100 kΩ linear.
- Direct, 100 kΩ pot, linear taper
- Direct Level, 100 kΩ linear, the buffered note straight to the mixer.
- R31, 220 kΩ
- Mixing resistor from Effect. With R30 the gain is 1.
- R32, 100 kΩ
- Mixing resistor from Direct. With R30 the gain is 2.2.
- IC5a, JRC4558D
- The mixer, inverting.
- R30, 220 kΩ
- The mixer’s feedback resistor.
- R29, 100 kΩ
- Input resistor of the output inverter.
- IC5b, JRC4558D
- Inverter with a gain of 1, so the mix comes out right way up.
- R41, 100 kΩ
- Feedback resistor of the inverter.
- C17, 1 µF electrolytic
- Output coupling cap.
- R42, 100 kΩ
- Holds the output side of C17 at ground.
- R40, 470 Ω
- Output series resistor.
- R44, 47 kΩ
- Output pulldown at the jack.
About this version
- OCT-1
- Values from the factory drawing. The NJM13600 is the LM13700 model with two 2N5088s for its buffer.
© 2026 Swell Amplification LLC. All rights reserved. The simulator, its circuit models, drawings, presets and text are the property of Swell Amplification LLC and may not be copied, reproduced, redistributed or used to build another product without written permission. The original circuits are historical designs documented in public sources, and no claim is made to them. Everything here is provided as is, without warranty of any kind, for study and personal use. Results are simulations of typical parts, not measurements of any real unit. Don’t rely on them for the safety of any build or repair. Tube amplifiers carry lethal voltages.
Product and company names are trademarks of their owners. They are used here only to identify the circuits these models are based on; this site is not affiliated with or endorsed by any of them.
From Swell Amplification, swellamps.com.