« Back to the stripboard layouts

Rungler

Two oscillators, eight bits, and a pattern that eats itself · By Onion Madder · Mess O' Pedals

A Rungler is Rob Hordijk's idea, the heart of his Benjolin: take two oscillators, let one clock a shift register and the other feed it bits, turn the last few bits of the register back into a voltage, and use that voltage to bend the pitch of the very oscillators making the bits. The loop closes on itself and what comes out is a pattern that is never quite random and never quite repeats. This is a small one on the chips a noise box already has: a 40106 for the two oscillators, a CD4094 for the eight bits, a CD4070 for the XOR that stirs new bits in and for a second XOR that ring-modulates the two oscillators into the mix. Two pitch knobs, two depth knobs for how hard the pattern bends each pitch, a level knob, and a toggle that either lets the pattern keep mutating or locks it into an eight-step loop.

The Rungler layout drawn as a stripboard diagram, titled Rungler, 31 by 13 stripboard. Thirteen orange copper strips run left to right, lettered a to m, with 31 numbered columns. Three pale rectangles sit side by side across the upper half: U1 CD40106 at the left, U2 CD4094 in the middle starting on the top strip, and U3 CD4070 at the right, set lower so its top pin shares a strip with the 4094, each with gray X marks through the strips under it. Four resistors R3, R1, R4 and R2 lie along the top four strips at the left edge; R7, R6 and R5 stand side by side just right of the 4094, rising to the top strip; R11, R9, R10 and R8 stand in the lower half. Small green ceramic capacitors marked C1, C2, C5 and C6, pink round electrolytics marked C3 at the bottom left and C4 at the top right, a diode marked D1 along the top strip at the left, and dark blue wire links, several running under the chips down to three long strips below them. Pads carrying wires off the board are labeled +9V, CV1, T1, DATA, P1, CV2, T2, P2, GND2 and OUT on the left and RUNG, GND, V+, LOOP and XOR on the right. Around the board the panel parts are drawn with a wire to each pad: five potentiometers marked POT1 to POT5 and a quarter-inch jack marked JK1 on the left, an SPST toggle marked SW1 at the top left, a DC jack and an SPDT toggle marked SW2 on the right. Below it the same board from the solder side, mirrored, the columns numbered right to left, every solder point a dark dot, the cuts as X marks and the three chips as dashed outlines with pin 1 boxed. A parts list follows, then a block headed OFF THE BOARD listing each panel part, what it does and where each leg goes.
The board as Copper Bottom draws it: the component side on top, then the same board from the solder side with the columns running the other way, so a cut is the same hole in both pictures. The panel parts sit around the board with a wire to every pad, and the OFF THE BOARD block at the bottom says where each leg goes.
The finished board wired up loose on a dark gray desk mat, not boxed. A long, narrow piece of stripboard lies across the lower right, printed with white grid lines every five holes, carrying three black chips: two near the top edge at the left and middle, and a third at the right set lower. Four resistors are stacked at the top left corner, with yellow ceramic capacitors, blue resistors, green wire links and two black electrolytic capacitors, one at the bottom left and one at the top right. Orange, yellow, green, blue, white, black and red wires run up from the board to five pots without knobs standing in a row above it, a blue toggle switch at the top right and a red toggle switch at the left, with a chrome jack half out of the frame at the far left edge, and a right-angle power plug lies at the bottom with its cable trailing off to the left.
Mine, built and working, still on flying leads: the five pots across the top, the two toggles either side, and the power plug at the bottom.

What you'll need

tap to expand / collapse

Eighteen parts on the board plus the links, and ten off it. Three chips, all ordinary 4000-series.

  • 1× CD40106 hex Schmitt inverter, DIP-14 (U1) - spot it: fourteen legs, the number printed on top, a notch at one end. Two gates are the two oscillators; the other four are tied off.
  • 1× CD4094 8-stage shift-and-store register, DIP-16 (U2) - spot it: sixteen legs, notch at one end. Eight bits that walk along on every clock. Its strobe and output-enable pins are tied high on the board so it is always transparent.
  • 1× CD4070 quad XOR, DIP-14 (U3) - spot it: fourteen legs, notch at one end. Two gates used, two tied off. A CD4030 is the same thing under an older number.
  • 1× 1N5817 Schottky (D1) - spot it: fat black body, a gray band at one end. Reverse-polarity protection on the supply
  • 7× 100K resistor (R3, R4, R7, R8, R9, R10, R11) - spot it: bands brown-black-yellow. Six jobs. R3 and R4 carry each depth pot into its oscillator's timing node; R7 is the smallest bit of the three-bit ladder; R8, R9 and R10 are the mixer, one per voice; R11 ties the output down
  • 1× 47K resistor (R6) - spot it: bands yellow-violet-orange. The middle bit of the ladder, from Q7
  • 1× 22K resistor (R5) - spot it: bands red-red-orange. The biggest bit of the ladder, from Q8. 22K, 47K, 100K is the whole DAC: three bits, binary weighted, summed on the RUNG pad
  • 2× 1K resistor (R1, R2) - spot it: bands brown-black-red. One in series with each pitch pot, so an oscillator can never see zero ohms
  • 2× 47nF ceramic (C1, C2) - spot it: printed 473. The two timing caps, one per oscillator. Same value, so the two knobs cover the same range
  • 2× 100nF ceramic (C5, C6) - spot it: printed 104. One decoupling cap per chip pair
  • 1× 1 µF electrolytic (C3) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. The output coupling cap. Stripe toward the level pot
  • 1× 100 µF electrolytic (C4) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. The supply reservoir. Stripe to ground
  • 16× wire links - offcuts of component leg

Off the board

  • 2× B1M linear pots - pitch 1 and pitch 2. Variable resistors: lug 3 to T1 or T2, wiper to P1 or P2, wiper jumpered to lug 1. The 1K each needs is on the board
  • 2× B1M linear pots - depth 1 and depth 2, how hard the pattern bends each pitch. Variable resistors from the ladder: lug 3 of both to RUNG, wipers to CV1 and CV2, lug 1 empty
  • 1× A100K log pot - level. Lug 3 to OUT, lug 1 to GND2, wiper to the output jack tip
  • 1× on-off-on toggle - loop. Center to DATA; one side to XOR, where the pattern keeps mutating, the other to LOOP, where it locks and repeats. In the middle DATA is connected to nothing - see How it works. A plain SPDT gives you just the two ends
  • 1× 1/4 inch jack - out. Tip to the level wiper, sleeve to GND2
  • 1× DC jack, 9 V center negative
  • 1× LED and a 2K2 resistor - a power light. The 2K2 from V+ to the LED's long leg, the short leg to GND
  • An SPST toggle for power, in the positive supply lead between the DC jack and the board's +9V pad. Every build on this shelf gets one, and the drawing above shows it

The layout file is the guide

Like every layout on this shelf, the build document for this one is the file itself: ↓ Download Rungler.json - import it into Copper Bottom and the editor gives you the board picture, the placement walkthrough, the electrical checks and a printable build sheet, all from the same file. No coordinates are written out on this page on purpose: the editor is the viewer, and a number typed twice is a number that can drift.

Two ground strips, one net. Strip a carries the GND pad at the top right and strip k the GND2 pad at the bottom left, and the rest of the ground net reaches them through links. The V+ pad on strip b, just right of the 4094, is a test point - nothing leaves the board there. It sits on the protected side of D1, on the net where the 4094's STROBE, OE and VDD pins meet, and its job is to tell the checker that net is a supply; without it those three pins read as a short.

The netlist

tap to expand / collapse

My script wrote this from the design and the board was checked against it in Copper Bottom: every connection it names is on the board and nothing on the board is missing from it. The three lines that are the Rungler are Q8, the register's last bit going to the loop toggle, to the XOR and into the ladder; RUNG, where the three ladder resistors meet and the depth pots take it; and O2, the second oscillator clocking the register. MIX is three 100K resistors: oscillator 1, oscillator 2, and their XOR.

The off-board wiring

Fifteen pads leave the board: five pots, a toggle, the jack, the power LED and the supply.

PadGoes to
T1 / P1, T2 / P2The two B1M pitch pots. Lug 3 to T, wiper to P, wiper jumpered to lug 1. Variable resistors; R1 and R2 are their 1K floors
RUNG / CV1 / CV2The two B1M depth pots. Lug 3 of both to RUNG, the stepped voltage; wipers to CV1 and CV2, which go through 100K into each oscillator's timing node. Lug 1 empty. Fully off, the pattern does not touch that pitch
DATA / XOR / LOOPThe loop toggle. Center to DATA, the register's input. XOR feeds it oscillator 1 XORed with the last bit, so new bits keep arriving; LOOP feeds it the last bit straight back, so the eight bits circulate unchanged. The middle of the on-off-on leaves DATA connected to nothing
OUTLevel pot lug 3. The wiper goes to the output jack tip, and lug 1 to GND2
GND2Level pot lug 1 and the jack sleeve. Same net as GND
V+The protected supply after D1. The power LED's 2K2 lands here, to the LED's long leg; its short leg goes to GND
+9V / GNDThe supply, through the power toggle. DC jack positive to the toggle and the toggle to +9V; negative to GND

Built, and heard

Built on the bench in September 2026, straight off the file above, and it worked clean on the first start. It sounds really cool, and every so often it goes totally random, like getting cussed out by an angry robot. Two changes from the drawing, both off the board: a power LED, and the loop toggle is an on-off-on, so its middle position leaves DATA unconnected. Everything is still on flying leads in the photo.

How it works, in one breath

Two gates of the 40106 are two oscillators, each a 1M pot plus 1K back from its output to its input with 47n to ground, so each runs from under twenty hertz to well up in the kilohertz. Oscillator 2 clocks the 4094: on every rising edge the eight bits shift one place and a new bit is read at DATA. Where that bit comes from is the toggle. In LOOP it is Q8, the bit falling off the end, so the same eight bits go around forever and you get an eight-step pattern. In XOR it is oscillator 1 XORed with Q8: oscillator 1 is running at its own unrelated rate, so whether it is high or low at each clock is as good as a coin, and the XOR against the old bit means the pattern is always being rewritten out of itself. The last three bits, Q6, Q7 and Q8, go through 100K, 47K and 22K to one node, RUNG: a three-bit ladder, eight steps of voltage, changing on every clock.

That voltage is what bends the pitches. Each depth pot takes RUNG and feeds it through 100K into an oscillator's timing node, so every step of the ladder pushes that oscillator sharp or flat by however much the depth knob allows. Bend oscillator 2 and the clock itself speeds and slows with the pattern it is producing; bend oscillator 1 and the coin gets weighted. That is the loop Hordijk built, and it is why a Rungler never settles. In the middle of the toggle, DATA is connected to nothing. A CMOS input left open floats, so what the register reads at each clock is whatever the pin picks up, a third behavior next to LOOP and XOR. The output is a mix of the two oscillators and their XOR, which is the two ring-modulated, through the level pot. That is what the schematic does.

Things to try

None of these have been tried yet. They are the obvious knobs.

  • A voltage out. RUNG is a stepped control voltage already; a 3.5 mm jack on it, through 10K, drives the Envelope Filter or anything else with a CV in
  • Different timing caps. 47n on one oscillator and 470n on the other puts the clock in LFO territory and the data oscillator at audio, which is closer to the Benjolin's proportions
  • Change the ladder. 10K, 22K, 47K makes the steps bigger; 100K, 220K, 470K makes them subtler
  • Take Q1 to Q5 out to five more resistors and toggles and it is a gate sequencer as well

The same circuit on a breadboard

tap to expand / collapse

Want to hear it before you solder it? This is the layout file above moved onto a full-size breadboard, 63 columns by Copper Bottom's to breadboard button, in 61 steps with exact holes. It is a translation, not a copy: a strip and a breadboard column are different shapes, so every part is placed fresh and the stripboard's wire links are not needed.

Checked by the app, not built by me. Copper Bottom rebuilt the connections from these holes alone and compared them with the stripboard: all 95 terminals land on the same nets. Nobody has built this breadboard version.

Note. +9V is a second positive supply net. A breadboard rail carries one net, and the + rail here is V+, so +9V rides ordinary columns - follow its steps, not the rail.

Turn the board so the numbers climb left to right. Then A to E is the lower bank, F to J the upper, the top rails are above J and the bottom rails below A.

Rungler drawn on a full-size breadboard, 63 columns by Copper Bottom. The picture shows each part and jumper between lettered and numbered holes, with the rails along the top and bottom. Every hole in it is written out in the steps below.
Rungler on a breadboard, generated from the layout file. The steps below name every hole in it.

The semiconductors

On a breadboard: The semiconductors
StepDo
1Seat U1 (CD40106) across the center channel, notch to the LEFT: pin 1 in E8, pin 14 in F8.
Pins 1-7 run E8 to E14; pins 8-14 run back F14 to F8.
Anywhere in the same bank and column is the same point - E8 and A8 are both pin 1.
2Seat U2 (CD4094) across the center channel, notch to the LEFT: pin 1 in E18, pin 16 in F18.
Pins 1-8 run E18 to E25; pins 9-16 run back F25 to F18.
Anywhere in the same bank and column is the same point - E18 and A18 are both pin 1.
3Seat U3 (CD4070) across the center channel, notch to the LEFT: pin 1 in E29, pin 14 in F29.
Pins 1-7 run E29 to E35; pins 8-14 run back F35 to F29.
Anywhere in the same bank and column is the same point - E29 and A29 are both pin 1.
4Diode D1 (1N5817 DO-41): C2 to bottom + rail.
The SECOND hole named gets the banded end - the cathode. Backwards, nothing works at all.

Jumpers

On a breadboard: Jumpers
StepDo
5Jumper: A18 to the bottom + rail (U2.1 to V+).
6Jumper: J8 to the top + rail (U1.14 to V+).
7Jumper: J18 to the top + rail (U2.16 to V+).
8Jumper: J19 to the top + rail (U2.15 to V+).
9Jumper: J29 to the top + rail (U3.14 to V+).
10Jumper: A12 to the bottom − rail (U1.5 to GND).
11Jumper: A14 to the bottom − rail (U1.7 to GND).
12Jumper: A25 to the bottom − rail (U2.8 to GND).
13Jumper: A35 to the bottom − rail (U3.7 to GND).
14Jumper: J9 to the top − rail (U1.13 to GND).
15Jumper: J11 to the top − rail (U1.11 to GND).
16Jumper: J13 to the top − rail (U1.9 to GND).
17Jumper: J30 to the top − rail (U3.13 to GND).
18Jumper: J31 to the top − rail (U3.12 to GND).
19Jumper: J34 to the top − rail (U3.9 to GND).
20Jumper: J35 to the top − rail (U3.8 to GND).
21Jumper: A9 to A29 (R9.A to U3.1).
22Jumper: B29 to A33 (U3.1 to U3.5).
23Jumper: A11 to A20 (R10.A to U2.3).
24Jumper: B20 to A34 (U2.3 to U3.6).
25Jumper: A30 to I23 (U3.2 to U2.11).
26Jumper: tie the top + rail to the bottom + rail at the right-hand end, so they are one rail.
27Jumper: tie the top − rail to the bottom − rail at the right-hand end, so they are one rail.

Resistors

On a breadboard: Resistors
StepDo
28Resistor R1 (1k): C6 to C9.
29Resistor R2 (1k): C7 to C11.
30Resistor R3 (100k): C5 to C8.
31Resistor R4 (100k): C15 to C10.
32Resistor R5 (22k): H23 to H26.
33Resistor R6 (47k): H22 to I26.
34Resistor R7 (100k): H21 to G26.
35Resistor R8 (100k): C32 to C28.
36Resistor R9 (100k): B9 to B28.
37Resistor R10 (100k): B11 to D28.
38Resistor R11 (100k): C3 to bottom − rail.

Ceramics and film

On a breadboard: Ceramics and film
StepDo
39Cap C1 (47n ceramic MLCC): bottom − rail to B8.
40Cap C2 (47n ceramic MLCC): B10 to bottom − rail.
41Cap C5 (100n ceramic MLCC): bottom + rail to bottom − rail.
42Cap C6 (100n ceramic MLCC): bottom + rail to bottom − rail.

Electrolytics

On a breadboard: Electrolytics
StepDo
43Cap C3 (1u): + leg into A28, − leg into A3.
The stripe on the can marks the MINUS leg. Backwards, an electrolytic eventually vents.
44Cap C4 (100u): + leg into the bottom + rail, − leg into the bottom − rail.

Off-board

On a breadboard: Off-board
StepDo
45Wire for +9V: into A2.
This is where DC jack +, through the power switch if you fit one (9V, center-negative pedal supply) joins the board.
46Wire for CV1: into A5.
This is where depth 1 pot wiper (lug 1 unused) joins the board.
47Wire for CV2: into A15.
This is where depth 2 pot wiper (lug 1 unused) joins the board.
48Wire for DATA: into A19.
This is where loop switch center lug joins the board.
49Wire for LOOP: into J23.
This is where loop switch lug 2: loop, the pattern locks and repeats joins the board.
50Wire for OUT: into B3.
This is where level pot lug 3 joins the board.
51Wire for P1: into A6.
This is where pitch 1 pot wiper (jumper the wiper to lug 1) joins the board.
52Wire for P2: into A7.
This is where pitch 2 pot wiper (jumper the wiper to lug 1) joins the board.
53Wire for RUNG: into J26.
This is where lug 3 of both depth pots joins the board.
54Wire for T1: into A8.
This is where pitch 1 pot lug 3 joins the board.
55Wire for T2: into A10.
This is where pitch 2 pot lug 3 joins the board.
56Wire for XOR: into A31.
This is where loop switch lug 1: chaos, the pattern keeps mutating joins the board.
57Wire for GND2: into the bottom − rail.
This is where level pot lug 1 and the output jack sleeve joins the board.

Power up

On a breadboard: Power up
StepDo
58GND - DC jack -: clip to the bottom − rail.
59V+ - V+, the protected side of D1 - the power LED: R12 (2K2, off the board) to its long leg, the short leg to GND. It also tells the checker this strip is a supply: clip to the bottom + rail.
60Before the battery: meter on continuity.
rail to rail reads open, not a short
A18 to bottom + rail beeps (U2.1 to V+)
J8 to top + rail beeps (U1.14 to V+)
J18 to top + rail beeps (U2.16 to V+)
J19 to top + rail beeps (U2.15 to V+)
J29 to top + rail beeps (U3.14 to V+)
A12 to bottom − rail beeps (U1.5 to GND)
A14 to bottom − rail beeps (U1.7 to GND)
A25 to bottom − rail beeps (U2.8 to GND)
61Power on.

Translated by Copper Bottom v1.7.29 from Rungler.json.

The Rungler is Rob Hordijk's, from the Benjolin, and the name is his too. His used a 4021 and its own oscillators and a different ladder; this small one on a 4094 and a 40106, and the layout, are mine, and so is anything wrong with them.