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.
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.
| Pad | Goes to |
|---|---|
| T1 / P1, T2 / P2 | The 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 / CV2 | The 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 / LOOP | The 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 |
| OUT | Level pot lug 3. The wiper goes to the output jack tip, and lug 1 to GND2 |
| GND2 | Level 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 / GND | The 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.
The semiconductors
| Step | Do |
|---|---|
| 1 | Seat 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. |
| 2 | Seat 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. |
| 3 | Seat 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. |
| 4 | Diode D1 (1N5817 DO-41): C2 to bottom + rail. The SECOND hole named gets the banded end - the cathode. Backwards, nothing works at all. |
Jumpers
| Step | Do |
|---|---|
| 5 | Jumper: A18 to the bottom + rail (U2.1 to V+). |
| 6 | Jumper: J8 to the top + rail (U1.14 to V+). |
| 7 | Jumper: J18 to the top + rail (U2.16 to V+). |
| 8 | Jumper: J19 to the top + rail (U2.15 to V+). |
| 9 | Jumper: J29 to the top + rail (U3.14 to V+). |
| 10 | Jumper: A12 to the bottom − rail (U1.5 to GND). |
| 11 | Jumper: A14 to the bottom − rail (U1.7 to GND). |
| 12 | Jumper: A25 to the bottom − rail (U2.8 to GND). |
| 13 | Jumper: A35 to the bottom − rail (U3.7 to GND). |
| 14 | Jumper: J9 to the top − rail (U1.13 to GND). |
| 15 | Jumper: J11 to the top − rail (U1.11 to GND). |
| 16 | Jumper: J13 to the top − rail (U1.9 to GND). |
| 17 | Jumper: J30 to the top − rail (U3.13 to GND). |
| 18 | Jumper: J31 to the top − rail (U3.12 to GND). |
| 19 | Jumper: J34 to the top − rail (U3.9 to GND). |
| 20 | Jumper: J35 to the top − rail (U3.8 to GND). |
| 21 | Jumper: A9 to A29 (R9.A to U3.1). |
| 22 | Jumper: B29 to A33 (U3.1 to U3.5). |
| 23 | Jumper: A11 to A20 (R10.A to U2.3). |
| 24 | Jumper: B20 to A34 (U2.3 to U3.6). |
| 25 | Jumper: A30 to I23 (U3.2 to U2.11). |
| 26 | Jumper: tie the top + rail to the bottom + rail at the right-hand end, so they are one rail. |
| 27 | Jumper: tie the top − rail to the bottom − rail at the right-hand end, so they are one rail. |
Resistors
| Step | Do |
|---|---|
| 28 | Resistor R1 (1k): C6 to C9. |
| 29 | Resistor R2 (1k): C7 to C11. |
| 30 | Resistor R3 (100k): C5 to C8. |
| 31 | Resistor R4 (100k): C15 to C10. |
| 32 | Resistor R5 (22k): H23 to H26. |
| 33 | Resistor R6 (47k): H22 to I26. |
| 34 | Resistor R7 (100k): H21 to G26. |
| 35 | Resistor R8 (100k): C32 to C28. |
| 36 | Resistor R9 (100k): B9 to B28. |
| 37 | Resistor R10 (100k): B11 to D28. |
| 38 | Resistor R11 (100k): C3 to bottom − rail. |
Ceramics and film
| Step | Do |
|---|---|
| 39 | Cap C1 (47n ceramic MLCC): bottom − rail to B8. |
| 40 | Cap C2 (47n ceramic MLCC): B10 to bottom − rail. |
| 41 | Cap C5 (100n ceramic MLCC): bottom + rail to bottom − rail. |
| 42 | Cap C6 (100n ceramic MLCC): bottom + rail to bottom − rail. |
Electrolytics
| Step | Do |
|---|---|
| 43 | Cap C3 (1u): + leg into A28, − leg into A3. The stripe on the can marks the MINUS leg. Backwards, an electrolytic eventually vents. |
| 44 | Cap C4 (100u): + leg into the bottom + rail, − leg into the bottom − rail. |
Off-board
| Step | Do |
|---|---|
| 45 | Wire 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. |
| 46 | Wire for CV1: into A5. This is where depth 1 pot wiper (lug 1 unused) joins the board. |
| 47 | Wire for CV2: into A15. This is where depth 2 pot wiper (lug 1 unused) joins the board. |
| 48 | Wire for DATA: into A19. This is where loop switch center lug joins the board. |
| 49 | Wire for LOOP: into J23. This is where loop switch lug 2: loop, the pattern locks and repeats joins the board. |
| 50 | Wire for OUT: into B3. This is where level pot lug 3 joins the board. |
| 51 | Wire for P1: into A6. This is where pitch 1 pot wiper (jumper the wiper to lug 1) joins the board. |
| 52 | Wire for P2: into A7. This is where pitch 2 pot wiper (jumper the wiper to lug 1) joins the board. |
| 53 | Wire for RUNG: into J26. This is where lug 3 of both depth pots joins the board. |
| 54 | Wire for T1: into A8. This is where pitch 1 pot lug 3 joins the board. |
| 55 | Wire for T2: into A10. This is where pitch 2 pot lug 3 joins the board. |
| 56 | Wire for XOR: into A31. This is where loop switch lug 1: chaos, the pattern keeps mutating joins the board. |
| 57 | Wire for GND2: into the bottom − rail. This is where level pot lug 1 and the output jack sleeve joins the board. |
Power up
| Step | Do |
|---|---|
| 58 | GND - DC jack -: clip to the bottom − rail. |
| 59 | V+ - 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. |
| 60 | Before 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) |
| 61 | Power 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.