Built and verified on the bench. Copper Bottom will still warn that it would rather see an LM13700 on ten volts or more; the datasheet characterizes the chip at fifteen volts a side and gives no floor.
Envelope Filter
Two chips, four knobs, a filter that opens when you dig in · By Onion Madder · Mess O' Pedals
The sound is the quack: a filter whose cutoff follows how hard you play, so every note starts bright and closes down as it fades. This is the state-variable filter every synth book draws, two integrators in a loop, with the two halves of an LM13700 doing the integrating, because an OTA's gain is set by a current and a current is easy to steer with an envelope. The TL072 buffers the guitar and then amplifies it into a rectifier, the rectifier charges a cap, and that cap's voltage becomes the bias current for both OTAs. Four knobs: sensitivity sets how much signal it takes to open the filter, Q is resonance, range is where the sweep starts, and level. A toggle picks the bandpass output, which is the quack, or the lowpass, which is more of a sweep. It is a pedal, so there is a footswitch for true bypass, with the LED on it.
What you'll need
tap to expand / collapse
Thirty-four parts on the board plus the links, and eleven off it. The OTA is the one to buy carefully, and the four 220Ω resistors are not optional.
- 1× LM13700 dual OTA, DIP-16 (U2) - spot it: sixteen legs, the number printed on top, a notch at one end. Its rails are pins 6 and 11, not the corners, and the layout file knows that. An LM13600 is the same pinout with a slightly different buffer and will work.
- 1× TL072 dual op-amp, DIP-8 (U1) - spot it: eight legs, notch at one end. One half buffers the input, the other is the sensitivity amplifier. Any dual op-amp with this pinout will do here; a TL072 is fine because nothing on this board asks it to reach a rail.
- 1× 1N5817 Schottky (D1) - spot it: fat black body, a gray band at one end. Reverse-polarity protection on the supply
- 3× 1N4148 (D2, D3, D4) - spot it: a tiny orange glass body with a black band. D2 and D3 are the rectifier that turns the amplified signal into an envelope; D4 sits between the envelope and the OTAs so a little hum on the cap does not open the filter
- 2× 1M resistor (R1, R7) - spot it: bands brown-black-green. R1 biases the input to the half-supply reference; R7 is what bleeds the envelope cap down, so it sets the release
- 1× 100K resistor (R4) - spot it: bands brown-black-yellow. Ties the output to ground so the level pot has something to sit on
- 2× 47K resistor (R13, R15) - spot it: bands yellow-violet-orange. R13 and R15 carry the range pot's current into the two bias pins, one each
- 2× 22K resistor (R12, R14) - spot it: bands red-red-orange. R12 and R14 carry the envelope into the two bias pins, one each. Lower both for a wider sweep
- 8× 10K resistor (R2, R3, R5, R8, R11, R18, R19, R20) - spot it: bands brown-black-orange. The workhorses. R2 and R3 make the half-supply reference; R8 and R19 feed signal into each OTA; R5 is the lowpass feedback that closes the loop; R11 and R18 load the two buffers; R20 is the floor under the Q pot
- 1× 2K2 resistor (R6) - spot it: bands red-red-red. The floor under the sensitivity pot: with the pot at zero the amplifier's gain is one
- 4× 220Ω resistor (R9, R10, R16, R17) - spot it: bands red-red-brown. Four of them, R9, R10, R16, R17, one per OTA input, to the reference. With the 10K feeds they divide the signal down about 46 times, which is what keeps an OTA clean. Leave one out and that input clips
- 2× 10nF ceramic (C7, C8) - spot it: printed 103. C7 and C8 are the two integrator caps, one per OTA. Same value, or the filter is not a filter. Change both to move the range
- 2× 100nF ceramic (C1, C10) - spot it: printed 104. C1 couples the input; C10 decouples the chips
- 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× 4.7 µF electrolytic (C6) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. C6 is the envelope cap. The rectifier fills it and R7 drains it. Bigger is slower both ways. Stripe to ground
- 2× 10 µF electrolytic (C4, C5) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. C4 couples the sensitivity amplifier into the rectifier; C5 is the amplifier's ground return, so its gain at DC is one. Stripes: C4 toward the diodes, C5 to ground
- 1× 47 µF electrolytic (C3) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. Holds the half-supply reference quiet. Stripe to ground
- 1× 100 µF electrolytic (C9) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. The supply reservoir. Stripe to ground
- 14× wire links - offcuts of component leg
Off the board
- 1× B100K linear pot - sensitivity. A variable resistor: lug 1 to SENSB, wiper to SENSA, and a short wire from the wiper to lug 3. It is the feedback resistor of the sensitivity amplifier
- 1× B100K linear pot - Q, the resonance. A variable resistor: lug 1 to QA, wiper to QB, wiper jumpered to lug 3. It sets how much bandpass is fed back
- 1× A500K log pot - range, where the sweep starts. A variable resistor from the supply: lug 3 to V+, wiper to RNG, wiper jumpered to lug 1
- 1× A100K log pot - level. Lug 3 to OUT, lug 1 to GND2, wiper to the footswitch
- 1× SPDT toggle - mode. Center to SEL, one side to BPOUT for bandpass, the other to LPOUT for lowpass
- 2× 1/4 inch jacks - in and out. Both tips go to the footswitch, both sleeves to GND2
- 1× 3PDT footswitch - true bypass, with the LED on its third pole. The table below has all nine lugs
- 1× DC jack, 9 V center negative. Positive to +9V, negative to GND. There is no power switch: the footswitch is the bypass, and the pedal is on whenever its supply is plugged in
- 1× 5 mm LED and a 2K2 resistor (bands red-red-red) - the footswitch light. The LED's long leg through the 2K2 to V+, its short leg to the footswitch. V+ is after D1, so the light shows the board is getting power and the effect is on
The layout file is the guide
Like every layout on this shelf, the build document for this one is the file itself: ↓ Download Envelope_Filter.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.
Ground is strip d, across the top under the VCC, ENV2 and RNG strips, with the GND pad on it above the LM13700. GND2 is on strip k, the ground strip under the chips at the left, and links join the two. The V+ pad is a supply pad with a job - it is the range pot's top lug, and it also tells the checker that strip is a rail. Pins 2 and 15 of the LM13700 are left open: they are the linearizing diode bias pins, the datasheet says they may be, and the checker knows that as of v1.7.3.
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 lines that explain the circuit are ENV, the envelope cap and its bleed resistor, ENV2, the same voltage past D4 and into the two bias resistors, O1 and O2, where each OTA's output meets its own buffer input and an integrator cap, and VREF, the half-supply point that eight resistors hang off.
The off-board wiring
Fourteen pads leave the board: four pots, a toggle, the footswitch, the jack sleeves, the supply, and a test point that doubles as the range pot's top lug.
| Pad | Goes to |
|---|---|
| SENSB / SENSA | The sensitivity pot. Lug 1 to SENSB, wiper to SENSA, wiper jumpered to lug 3. Variable resistor, not a divider |
| QA / QB | The Q pot. Lug 1 to QA, wiper to QB, wiper jumpered to lug 3 |
| V+ / RNG | The range pot. Lug 3 to V+, wiper to RNG, wiper jumpered to lug 1. V+ is the protected supply after D1, and the LED's 2K2 lands here too |
| SEL / BPOUT / LPOUT | The mode toggle. Center to SEL; BPOUT is the bandpass, the quack; LPOUT is the lowpass, the sweep |
| IN | The footswitch, which sends it the input jack tip when the effect is on |
| OUT | Level pot lug 3. The wiper goes to the footswitch, and lug 1 to GND2 |
| GND2 | Level pot lug 1 and both jack sleeves. Same net as GND |
| +9V / GND | The supply. DC jack positive to +9V, negative to GND. GND also takes the footswitch's ground lug |
The footswitch
This is the usual true bypass on a 3PDT, with the LED on its third pole, and Wire a 3PDT Footswitch for True Bypass has the diagram, how to find the columns with a meter and the checks to make afterward. Here is the same wiring with this board's own names. Hold the switch with its nine lugs facing you and the flat sides of the lugs lying crosswise, so they make three columns of three. Each column is one pole: the middle lug is the common, and it connects to the top lug in one position and the bottom lug in the other. Which position is which does not matter, as long as all three columns are wired the same way up. It is the wiring from Beetleworth, where it is built and working.
| Column | Top lug (effect on) | Middle lug | Bottom lug (bypassed) |
|---|---|---|---|
| 1 | The board's IN pad | Input jack tip | A wire across to column 2's bottom lug |
| 2 | Level pot wiper | Output jack tip | The wire from column 1's bottom lug |
| 3 | The LED's short leg | The board's GND pad | Empty |
How it works, in one breath
Half the TL072 is a follower that buffers the input, and its output goes two ways. One way is into the filter: through R8 and R9 the signal is divided down about 46 times and lands on the first OTA's plus input. The OTA turns that into a current, the current charges C7, and the buffer on pins 7 and 8 reads C7 out: that is one integrator, and its output is the bandpass. The bandpass goes through R19 and R16 into the second OTA, which integrates it onto C8 and reads it out through the buffer on pins 10 and 9: the lowpass. The lowpass comes back through R5 to the first OTA's minus input to close the loop, and the Q pot brings some bandpass back to the same point; less of it and the filter rings harder. Where the two integrators turn over depends on the current into pins 1 and 16, and that current is the whole point.
The other way the buffered signal goes is into the other half of the TL072, wired as an amplifier whose gain is one plus the sensitivity pot over R6, so anywhere from one to about 46. Its output goes through C4 to D2 and D3, which rectify it into C6: the envelope. R7 bleeds C6 down over a few seconds, so the filter closes after a note. That voltage goes through D4, which takes about half a volt off the top so that noise on the cap does not open the filter, and then through R12 and R14 into the two bias pins. The range pot adds a fixed current through R13 and R15 on top, so the filter is never fully closed, and the envelope sweeps it up from wherever range put it. That is what the schematic does, and it is a read of the circuit, not of a build.
Things to try
None of these have been tried, because none of this has. They are the obvious knobs.
- Change C7 and C8 together. 22n moves the whole sweep down an octave, 4n7 up
- Change C6 for a faster or slower filter. 1 µF closes quickly, 10 µF hangs on
- Lower R12 and R14 to 10K for a wider sweep, if the envelope runs out before the filter opens far enough
- Take the CD4094 out of the Rungler and put its stepped voltage into ENV2 through 47K instead of the envelope, and the filter steps instead of following
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 64 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 106 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 (TL072) across the center channel, notch to the LEFT: pin 1 in E8, pin 8 in F8. Pins 1-4 run E8 to E11; pins 5-8 run back F11 to F8. Anywhere in the same bank and column is the same point - E8 and A8 are both pin 1. |
| 2 | Seat U2 (LM13700) across the center channel, notch to the LEFT: pin 1 in E15, pin 16 in F15. Pins 1-8 run E15 to E22; pins 9-16 run back F22 to F15. Anywhere in the same bank and column is the same point - E15 and A15 are both pin 1. |
| 3 | Diode D1 (1N5817 DO-41): C2 to bottom + rail. The SECOND hole named gets the banded end - the cathode. Backwards, nothing works at all. |
| 4 | Diode D2 (1N4148 DO-35): bottom − rail to C3. |
| 5 | Diode D3 (1N4148 DO-35): B3 to B6. |
| 6 | Diode D4 (1N4148 DO-35): C6 to C12. |
Jumpers
| Step | Do |
|---|---|
| 7 | Jumper: J8 to the top + rail (U1.8 to V+). |
| 8 | Jumper: J20 to the top + rail (U2.11 to V+). |
| 9 | Jumper: A11 to the bottom − rail (U1.4 to GND). |
| 10 | Jumper: A20 to the bottom − rail (U2.6 to GND). |
| 11 | Jumper: E14 to F14 (C3.A to R3.A). |
| 12 | Jumper: A10 to J9 (R8.A to U1.7). |
| 13 | Jumper: I9 to J10 (U1.7 to U1.6). |
| 14 | Jumper: A19 to A21 (C7.A to U2.7). |
| 15 | Jumper: J19 to J21 (U2.12 to U2.10). |
| 16 | Jumper: A22 to B23 (R19.A to @BPOUT). |
| 17 | Jumper: tie the top + rail to the bottom + rail at the right-hand end, so they are one rail. |
| 18 | Jumper: tie the top − rail to the bottom − rail at the right-hand end, so they are one rail. |
Resistors
| Step | Do |
|---|---|
| 19 | Resistor R1 (1M): H11 to H14. |
| 20 | Resistor R2 (10k): top + rail to I14. |
| 21 | Resistor R3 (10k): G14 to top − rail. |
| 22 | Resistor R4 (100k): C4 to bottom − rail. |
| 23 | Resistor R5 (10k): H22 to C18. |
| 24 | Resistor R6 (2k2): C9 to C5. |
| 25 | Resistor R7 (1M): D6 to bottom − rail. |
| 26 | Resistor R8 (10k): C10 to C17. |
| 27 | Resistor R9 (220R): B17 to J14. |
| 28 | Resistor R10 (220R): B18 to B14. |
| 29 | Resistor R11 (10k): C22 to bottom − rail. |
| 30 | Resistor R12 (22k): C15 to B12. |
| 31 | Resistor R13 (47k): B15 to B7. |
| 32 | Resistor R14 (22k): H15 to D12. |
| 33 | Resistor R15 (47k): I15 to C7. |
| 34 | Resistor R16 (220R): H17 to C14. |
| 35 | Resistor R17 (220R): H18 to D14. |
| 36 | Resistor R18 (10k): I22 to top − rail. |
| 37 | Resistor R19 (10k): B22 to I17. |
| 38 | Resistor R20 (10k): D22 to D25. |
Ceramics and film
| Step | Do |
|---|---|
| 39 | Cap C1 (100n ceramic MLCC): I11 to I13. |
| 40 | Cap C7 (10n ceramic MLCC): C19 to bottom − rail. |
| 41 | Cap C8 (10n ceramic MLCC): H21 to top + rail. |
| 42 | Cap C10 (100n ceramic MLCC): bottom + rail to bottom − rail. |
Electrolytics
| Step | Do |
|---|---|
| 43 | Cap C2 (1u): + leg into B13, − leg into B4. The stripe on the can marks the MINUS leg. Backwards, an electrolytic eventually vents. |
| 44 | Cap C3 (47u): + leg into A14, − leg into the bottom − rail. |
| 45 | Cap C4 (10u): + leg into C8, − leg into D3. |
| 46 | Cap C5 (10u): + leg into B5, − leg into the bottom − rail. |
| 47 | Cap C6 (4u7): + leg into A6, − leg into the bottom − rail. |
| 48 | Cap C9 (100u): + leg into the bottom + rail, − leg into the bottom − rail. |
Off-board
| Step | Do |
|---|---|
| 49 | Wire for +9V: into A2. This is where DC jack + (9V, center-negative pedal supply) joins the board. |
| 50 | Wire for BPOUT: into A23. This is where mode switch lug 1: bandpass, the quack joins the board. |
| 51 | Wire for IN: into J13. This is where footswitch lug 1T; the input jack tip is on lug 1C joins the board. |
| 52 | Wire for LPOUT: into J22. This is where mode switch lug 2: lowpass, the sweep joins the board. |
| 53 | Wire for OUT: into A4. This is where level pot lug 3 joins the board. |
| 54 | Wire for QA: into A25. This is where Q (resonance) pot lug 1 joins the board. |
| 55 | Wire for QB: into A18. This is where Q (resonance) pot wiper (jumper the wiper to lug 3) joins the board. |
| 56 | Wire for RNG: into A7. This is where range pot wiper (jumper the wiper to lug 1) joins the board. |
| 57 | Wire for SEL: into A13. This is where mode switch center lug joins the board. |
| 58 | Wire for SENSA: into A9. This is where sensitivity pot wiper (jumper the wiper to lug 3) joins the board. |
| 59 | Wire for SENSB: into A8. This is where sensitivity pot lug 1 joins the board. |
| 60 | Wire for GND2: into the bottom − rail. This is where level pot lug 1 and both jack sleeves joins the board. |
Power up
| Step | Do |
|---|---|
| 61 | GND - DC jack - and footswitch lug 3C: clip to the bottom − rail. |
| 62 | V+ - range pot lug 3, and the LED's 2K2 resistor: clip to the bottom + rail. |
| 63 | Before the battery: meter on continuity. rail to rail reads open, not a short J8 to top + rail beeps (U1.8 to V+) J20 to top + rail beeps (U2.11 to V+) A11 to bottom − rail beeps (U1.4 to GND) A20 to bottom − rail beeps (U2.6 to GND) E14 to F14 beeps (C3.A to R3.A) A10 to J9 beeps (R8.A to U1.7) I9 to J10 beeps (U1.7 to U1.6) A19 to A21 beeps (C7.A to U2.7) |
| 64 | Power on. |
Translated by Copper Bottom v1.7.29 from Envelope_Filter.json.
The OTA state-variable filter is in the LM13700 datasheet and every synth book since; the envelope follower opening one is the idea behind every auto-wah, from the Mu-Tron III down. The board is mine, drawn by my own script, and so is anything wrong with it.