Octave Avalanche
One pitch knob, seven toggles, a wall of octaves · Twelve strips by twenty holes · By Onion Madder · Mess O' Pedals
One oscillator and a binary counter. A CD4046 VCO clocks a CD4040, whose outputs are that clock divided by two, four, eight and so on down the chain. Every output is a square wave exactly one octave below the one before it. Seven of them come out through resistors to seven toggles, and the toggles feed one mixing node, so any set of octaves you like plays at once, from a single sub-bass to all seven stacked. One pitch knob moves the whole stack together, because it is all one clock - and on this board a CV jack moves it too, a range toggle drops it two and a half octaves, and a clock jack hands the counter to any other oscillator you plug in.
What you'll need
tap to expand / collapse
Twenty parts on the board plus nine links, and seventeen off it: two pots, nine toggles, three jacks, the DC jack, a scrap of stripboard for the switch bus and the box. The 4040 half keeps the built board's reference numbers.
- 1× CD4046 phase-locked loop, DIP-16 (U1) - spot it: sixteen legs, 4046 printed on top, a notch at one end. Only its VCO half is used, the way the Dragonfly VCO uses it.
- 1× CD4040 12-stage binary counter, DIP-16 (U2) - spot it: sixteen legs, notch at one end. Twelve flip-flops in a chain, of which this board uses the first seven.
- 1× 1N5817 Schottky (D1) - spot it: fat black body, a gray band at one end. Reverse-polarity protection on the supply. It stands up, band toward the top strip
- 7× 47K resistor (R2, R3, R4, R5, R6, R7, R8) - spot it: bands yellow-violet-orange. One per voice, from each 4040 output to its toggle. They are the mixer: seven of them into R9 is a passive summer, and equal values mean equal octaves
- 1× 47K resistor (R11) - the same yellow-violet-orange. The low range, from the 4046's pin 11 to ground. Do not mix it up with the voices: it sits right of the 4046
- 2× 10K resistor (R1, R9) - spot it: bands brown-black-orange. R9 is the bottom of the mixer, from the MIX node to ground. R1 is the high range: the range toggle puts it beside R11
- 4× 100K resistor (R10, R12, R13, R14) - spot it: bands brown-black-yellow. R10 ties the output to ground so the level pot has something to sit on. R12 takes the pitch knob to the VCO and R13 the CV jack. R14 holds the 4040's clock pin down when a cable is in the clock jack with nothing on it
- 1× 10nF ceramic (C1) - spot it: printed 103. The VCO's timing cap, across pins 6 and 7 of the 4046. It stands beside the chip, between two strips. Bigger is lower
- 2× 100nF ceramic (C4, C5) - spot it: printed 104. One decoupling cap per chip. C4 is a long one: leave its leads long
- 1× 1 µF electrolytic (C2) - 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 (C3) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. The supply reservoir. Stripe to ground
- 9× wire links - offcuts of component leg. J2 and J3 run under the 4040, so they go in before the chip
- Stripboard, 12 strips × 20 holes or larger
Off the board
- 1× B100K linear pot - pitch. A divider this time, not a variable resistor, because pin 9 wants a voltage: lug 3 to PITCH_V, lug 1 to PITCH_G, wiper to PITCH_W. No series resistor
- 1× A100K log pot - level. Lug 3 to OUT, lug 1 to GND2, wiper to the output jack tip
- 7× SPST toggles - the voices, 1 to 7. One lug of each to its own pad, S1 to S7; the other lugs all to the switch bus
- 1× scrap of stripboard for the switch bus - one strip long enough for seven wires and one more. The seven toggles' shared lugs all land on it, and one wire takes it to MIX. Easier to wire and to fix than a chain of wires from lug to lug
- 1× SPST toggle - range. One lug to RNG, the other to GND2. Closed is the high range
- 1× 1/4 inch jack - out. Tip to the level wiper, sleeve to GND2
- 2× switched 1/4 inch jacks - clock in and CV in. Spot it: three lugs - a tip, a sleeve, and a switch lug that touches the tip until a plug pushes it away. Clock in: tip to CLK_IN, switch lug to VCO_OUT. CV in: tip to CV_IN, switch lug to PITCH_W. Both sleeves to GND2. Leave the clock jack out and a wire from VCO_OUT to CLK_IN does its job
- 1× DC jack, 9 V center negative
- 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
- A 1590BB - the drill template is in the margin
The layout file is the guide
Like every layout on this shelf, the build document for this one is the file itself: ↓ Download Octave_Avalanche.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.
Strip a is ground and strip b is V+ right across the top, and strip k is ground again near the bottom; links join them. The 4040 sits where it sat on the built board, with six of its seven 47K resistors in a row down the left edge and the S pads in the order the chip puts its outputs, which is not 1 to 7 - read the pad names, not the row order. The 4046 stands to its right, and the reset strip of the 4040 runs straight on into the 4046's INH pin, both of them ground. Three cuts near the right edge make the RNG, PITCH_W and CV_IN islands.
Two warnings in Copper Bottom are expected. Pins 12 and 15 of the 4046 each sit alone on their strip. Pin 12 is left open, which sets no floor under the lowest pitch - the Dragonfly VCO does the same - and pin 15 is a zener inside the chip that this circuit does not use.
The netlist
tap to expand / collapse
My script wrote this from the board, and Copper Bottom checks the board against it: every connection it names is on the board and nothing on the board is missing from it. The 4040 lines - Q1 to Q7, S1 to S7, MIX, OUT - are the built board's, checked against its file. The new ones are PITCH, pin 9 of the 4046 with its two 100K resistors; RATE, pin 11 with the two range resistors; and VCO and CLK, the two ends of the clock jack.
The off-board wiring
Nineteen pads leave the board: the pitch pot, the level pot, the CV and clock jacks, the range toggle, seven voice toggles, the mix node they share, the output and the supply.
| Pad | Goes to |
|---|---|
| PITCH_V / PITCH_G / PITCH_W | The B100K pitch pot, as a divider. Lug 3 to PITCH_V, lug 1 to PITCH_G, wiper to PITCH_W. The CV jack's switch lug also goes to PITCH_W |
| CV_IN | The CV jack's tip. With nothing plugged in, its switch lug hands it the pitch wiper, so the knob plays alone |
| VCO_OUT / CLK_IN | The clock jack. Switch lug to VCO_OUT, tip to CLK_IN. With nothing plugged in the VCO clocks the 4040; plug in and the 4040 counts whatever is on the tip. No clock jack: a wire from VCO_OUT to CLK_IN |
| RNG | The range toggle, one lug; the other lug to GND2. Closed is the high range |
| S1 to S7 | One lug of each voice toggle. S1 is one octave down, S7 is seven. On the board they are not in that order, so read the pad label |
| MIX | The switch bus: the other lug of all seven toggles lands on one strip of a stripboard scrap, and one wire runs from it to MIX. Every closed toggle adds its octave here |
| OUT | Level pot lug 3. The wiper goes to the output jack tip, and lug 1 to GND2 |
| GND2 | Level pot lug 1, the sleeves of all three jacks and the range toggle's second lug. Same net as 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
The first board, 13 strips by 21, was built straight off its file in October 2026, and it works. It sounds cool, like a soundtrack being played backwards. That board is kept here as Octave_Avalanche_v1.json, exactly as drawn: a 40106 oscillator with a B500K pitch pot, and no clock, CV or range. Off the board I left out the level pot, so the output jack's tip goes straight to OUT and its sleeve to GND2, and R10 still holds OUT to ground. The toggles' shared lugs land on the switch bus, the short scrap of stripboard on the left of the photo. Not boxed yet; that board fits a 125B, and has a drill template of its own and a jacks-on-top version.
The 12 by 20 above has not been built, and nothing in this section is about it.
How it works, in one breath
The 4046 is a phase-locked loop, and this board uses only its VCO: C1 across pins 6 and 7 and the resistance from pin 11 to ground set its range, and the voltage on pin 9 sets where in that range it plays. The pitch pot divides the supply, and its wiper reaches pin 9 through R12; the CV jack reaches pin 9 through R13. Two equal resistors into one pin average what is on them, and with nothing plugged in the CV jack's switch lug hands R13 the knob as well, so the knob plays alone. Plug in a voltage and pin 9 sits halfway between it and the knob. At the bottom of the knob the VCO slows toward a stop, so the stack runs down into clicks and then quiet. R11 alone on pin 11 is the low range; the range toggle puts R1 beside it, and the whole stack climbs about two and a half octaves.
The VCO's square wave leaves pin 4, goes out to the clock jack's switch lug, and comes back from its tip to the 4040's clock. Plug a cable in and the switch opens, so the counter follows whatever you feed it instead - another VCO, a drum machine's clock, an LFO - as long as it swings between ground and the supply. A 4040 is twelve flip-flops in a row, each one toggling when the one before it falls, so Q1 is the clock divided by two, Q2 by four, Q3 by eight, down to Q7 at one 128th: seven square waves, each exactly an octave below the last, all locked to the same edge. That is also why the oscillator could change and the sound did not: whatever clocks the counter, what comes out is the same seven even square waves.
Each of the seven goes through a 47K resistor to a toggle, and the toggles' other lugs all meet at MIX, where R9 to ground makes a passive mixer. Close one toggle and you hear one octave; close three and you hear a chord of octaves, which on square waves is a thick, buzzy thing with a lot of beating where the edges line up. C2 blocks the DC and the level pot sets how much of it leaves.
Things to try
None of these have been tried. They are the obvious knobs.
- Clock it from another box. The Dragonfly VCO or the XOR Cross-Mod into CLOCK IN, and the octaves follow that instead
- An A100K for pitch. The 4046 answers a voltage in a straight line, so a linear pot crowds the low notes into the first part of its turn; a log pot spreads them out
- A floor under the pitch. A 1M from pin 12 to ground keeps the VCO from stopping at the bottom of the knob
- Unequal resistors. 47K on the low voices and 100K on the high ones tames the fizz at the top
- Bring out Q8 to Q12. Pins 13, 12, 14, 15 and 1 of the 4040 are five more octaves down, into clicks. A twelfth toggle is a slow pulse
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 half-size breadboard, 30 columns by Copper Bottom's to breadboard button, in 51 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 91 terminals land on the same nets. Nobody has built this breadboard version.
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 (CD4046) across the center channel, notch to the LEFT: pin 1 in E8, pin 16 in F8. Pins 1-8 run E8 to E15; pins 9-16 run back F15 to F8. Anywhere in the same bank and column is the same point - E8 and A8 are both pin 1. |
| 2 | Seat U2 (CD4040) across the center channel, notch to the LEFT: pin 1 in E19, pin 16 in F19. Pins 1-8 run E19 to E26; pins 9-16 run back F26 to F19. Anywhere in the same bank and column is the same point - E19 and A19 are both pin 1. |
| 3 | Diode D1 (1N5817): top + rail to H8. The SECOND hole named gets the banded end - the cathode. Backwards, nothing works at all. |
Jumpers
| Step | Do |
|---|---|
| 4 | Jumper: A12 to the bottom − rail (U1.5 to GND). |
| 5 | Jumper: A15 to the bottom − rail (U1.8 to GND). |
| 6 | Jumper: A26 to the bottom − rail (U2.8 to GND). |
| 7 | Jumper: J10 to the top − rail (U1.14 to GND). |
| 8 | Jumper: J24 to the top − rail (U2.11 to GND). |
| 9 | Jumper: J8 to I19 (U1.16 to U2.16). |
| 10 | Jumper: B10 to A11 (@VCO_OUT to U1.4). |
| 11 | Jumper: tie the top − rail to the bottom − rail at the right-hand end, so they are one rail. |
Resistors
| Step | Do |
|---|---|
| 12 | Resistor R1 (10k): H13 to H16. |
| 13 | Resistor R2 (47k): H26 to H29. |
| 14 | Resistor R3 (47k): C25 to C28. |
| 15 | Resistor R4 (47k): C24 to C27. |
| 16 | Resistor R5 (47k): C23 to C18. |
| 17 | Resistor R6 (47k): C21 to C17. |
| 18 | Resistor R7 (47k): C20 to C16. |
| 19 | Resistor R8 (47k): C22 to C29. |
| 20 | Resistor R9 (10k): C2 to bottom − rail. |
| 21 | Resistor R10 (100k): C3 to bottom − rail. |
| 22 | Resistor R11 (47k): I13 to top − rail. |
| 23 | Resistor R12 (100k): H18 to H15. |
| 24 | Resistor R13 (100k): I7 to I15. |
| 25 | Resistor R14 (100k): H25 to top − rail. |
Ceramics and film
| Step | Do |
|---|---|
| 26 | Cap C1 (10n ceramic disc): C13 to C14. |
| 27 | Cap C4 (100n ceramic disc): I8 to top − rail. |
| 28 | Cap C5 (100n ceramic disc): G8 to top − rail. |
Electrolytics
| Step | Do |
|---|---|
| 29 | Cap C2 (1u): + leg into B2, − leg into B3. The stripe on the can marks the MINUS leg. Backwards, an electrolytic eventually vents. |
| 30 | Cap C3 (100u): + leg into H19, − leg into the top − rail. |
Off-board
| Step | Do |
|---|---|
| 31 | Wire for CLK_IN: into J25. This is where clock jack tip - the 4040's clock. No jack: a wire from VCO_OUT joins the board. |
| 32 | Wire for CV_IN: into J7. This is where CV jack tip joins the board. |
| 33 | Wire for MIX: into A2. This is where the switch bus: the other lug of all seven voice toggles lands on one strip of a stripboard scrap, and one wire runs from it here joins the board. |
| 34 | Wire for OUT: into A3. This is where level pot lug 3 joins the board. |
| 35 | Wire for PITCH_V: into J19. This is where pitch pot lug 3, the top joins the board. |
| 36 | Wire for PITCH_W: into J18. This is where pitch pot wiper, and the CV jack's switch lug joins the board. |
| 37 | Wire for RNG: into J16. This is where range toggle, one lug (the other to GND2). Closed is the high range joins the board. |
| 38 | Wire for S1: into J29. This is where voice 1 toggle, one lug (1 octave down) joins the board. |
| 39 | Wire for S2: into A28. This is where voice 2 toggle, one lug (2 octaves down) joins the board. |
| 40 | Wire for S3: into A27. This is where voice 3 toggle, one lug (3 octaves down) joins the board. |
| 41 | Wire for S4: into A18. This is where voice 4 toggle, one lug (4 octaves down) joins the board. |
| 42 | Wire for S5: into A17. This is where voice 5 toggle, one lug (5 octaves down) joins the board. |
| 43 | Wire for S6: into A16. This is where voice 6 toggle, one lug (6 octaves down) joins the board. |
| 44 | Wire for S7: into A29. This is where voice 7 toggle, one lug (7 octaves down) joins the board. |
| 45 | Wire for VCO_OUT: into A10. This is where clock jack switch lug - the VCO, handed to the 4040 while nothing is plugged in joins the board. |
| 46 | Wire for GND2: into the bottom − rail. This is where level pot lug 1 and the sleeves of all three jacks; the range toggle's second lug joins the board. |
| 47 | Wire for PITCH_G: into the bottom − rail. This is where pitch pot lug 1, the bottom joins the board. |
Power up
| Step | Do |
|---|---|
| 48 | +9V - DC jack +, through the power switch (9V, center-negative pedal supply): clip to the top + rail. |
| 49 | GND - DC jack -: clip to the bottom − rail. |
| 50 | Before the battery: meter on continuity. rail to rail reads open, not a short A12 to bottom − rail beeps (U1.5 to GND) A15 to bottom − rail beeps (U1.8 to GND) A26 to bottom − rail beeps (U2.8 to GND) J10 to top − rail beeps (U1.14 to GND) J24 to top − rail beeps (U2.11 to GND) J8 to I19 beeps (U1.16 to U2.16) B10 to A11 beeps (@VCO_OUT to U1.4) |
| 51 | Power on. |
Translated by Copper Bottom v1.7.29 from Octave_Avalanche.json.
A 40106 into a 4040 with a resistor per output is the standard sub-octave idiom of the Lunetta crowd, and it belongs to everyone who has ever built one; the first board is that. The VCO on this one is my Dragonfly VCO's, a CD4046 with only its VCO half used. Seven toggles into one node, the jacks, and the layout are mine and so is anything wrong with them.