SynthMaker Manual Help Watch Open SynthMaker (opens in a new tab)
Circuits

Delay, amp and comparator chips

Four chips you'll find on pedal boards: a bucket-brigade delay for chorus, a digital echo chip, a small power amplifier that loves to clip, and a comparator. Each is a line of a parts list by its part number.

Pro: anyone can open any module and read its code, parts list or patch. Writing your own, or changing one, needs SynthMaker Pro. Turning its knobs is free.

LM311 Square's schematic: the LM311 drawn as a comparator, its pull-up from the 5 V supply, three resistors that set where it flips, and the resistor and capacitor that set how fast.
LM311 Square: an LM311 on 5 V as a relaxation oscillator, its out pulled up by a resistor.

1The 3207 bucket-brigade delay

The 1024-stage bucket-brigade delay of countless chorus pedals, by its part number:

U1 in out 3207 clock 100kHz

What comes in comes out 512 clock periods later: 5.12 ms at 100 kHz. Its clock is a setting, so a knob or an LFO can move it, from 10 kHz (51.2 ms) to 500 kHz. It's SynthMaker's bucket-brigade part with 1024 stages, its samples exactly a B1 in out 1024's.

Example: 3207 Chorus. In the effects: a slow LFO moves its clock, so the delay moves and its copy's pitch wavers; mixed with the dry sound, a chorus.

Chorus3207 · in the effects, with its parts listListen ↗: 3207 Chorus (opens in a new tab)
# A 3207 bucket-brigade delay in the effects: what comes in comes out 512 of its clock's periods later (5.1 ms at 100 kHz).# A slow LFO moves its clock, so the delay moves and its copy's pitch wavers; mixed with the dry sound, a chorus.circuit Chorus3207  setting input: 1 V  setting output: 1 V  setting rate: 100kHz, from 60kHz to 160kHz  U1 in d 3207 clock rate  R1 in m 10k  R2 d m 10k  Rm m out 1  Rl out gnd 10kend
PartDIP: in outSupply pinsSold as
32078: 3 7 (7 and 8, its two outputs, joined as boards wire them)VDD 5, gnd 1MN3207, V3207, BL3207

The MN3007 is the 15 V member of the family, its supply pins the other way round: not a drop-in.

2The PT2399 echo

The lo-fi echo chip, from Princeton Technology's data sheet: a line for its delay and one for each of its two op-amps:

U1 ref delay int1 int1in int2in int2 PT2399 supply vcc
U2 minus out PT2399
U3 minus out PT2399
  • Its delay: a 1-bit delta modulator into its memory and out again. The resistor from its delay pin to ground sets its clock: 27.6k is about 342 ms, 10k about 143 ms, 1k about 41 ms.
  • Its two op-amps each have their + input at its ref, half its supply. The first one's out is what the delay takes in; build the data sheet's filters, mix and repeats around them.
  • Its grain grows as its clock slows: at its longest delays you hear it, as on the real chip.

Example: PT2399 Echo. In the effects: the data sheet's echo path, a knob for its time and one for its repeats, the dry sound and the echo mixed.

Echo2399 · in the effects, with its parts listListen ↗: PT2399 Echo (opens in a new tab)
# A PT2399 echo as its data sheet wires it: its first op-amp (U2) takes the sound in, its delay line (U1) writes it as bits and# plays it back time later (the resistor at its delay pin sets its clock: 10k is about 143 ms), its second op-amp (U3) the# echo out. Rfb feeds the echo back in for repeats (both ends sit at its ref, half its supply, so only the sound goes round).# Co takes away the half supply the echo sits on, and the dry sound and the echo meet at out.circuit Echo2399  setting input: 0.5 V  setting output: 0.25 V  setting time: 10k, from 27k to 3.3k  setting repeats: 22k, from 220k to 12k  V1 vcc gnd 5V  Cin in a 1u  Ra a m1 10k  Rf1 o1 m1 10k  Rfb o2 m1 repeats  U2 m1 o1 PT2399  U1 ref dly i1 i1n i2n i2 PT2399 supply vcc  Cr ref gnd 10u  Rd dly gnd time  C1 i1 i1n 100n  C2 i2n i2 100n  Rb i2 m2 10k  Rf2 o2 m2 10k  U3 m2 o2 PT2399  Co o2 w 1u  Rw w out 10k  Rdry in out 10k  Rl out gnd 10kend
PartDIP: ref delay int1 int1in int2in int2 · op-amps minus outSupply pinsSold as
PT239916: 2 6 9 10 11 12 · 16 15 · 13 14VCC 1, gnd 3 (4 joined to it)PT2399

3The LM386 amplifier

The small audio power amplifier, from TI's LM386 data sheet, one line:

U1 plus minus out gain1 gain8 bypass LM386 supply vs
  • Its gain is 20 as it is, 200 with a capacitor from gain1 to gain8, anything between with a resistor in series with that capacitor: whatever you put across its pins sets its gain, as on the chip.
  • Its out rests at half its supply and swings to within 0.7 to 1 V of each rail (2.6 V peak to peak on 4 V, 10 V on 12 V). Past that it clips flat: the classic overdriven LM386.
  • gain1, gain8 and bypass may be nc. Its supply is required: 4 V to 12 V.

Example: LM386 Fuzz. Two saws into an LM386 on 9 V at a gain of 200, a pot for how hard it's driven, a capacitor to take away its DC and a little RC to soften the top.

Fuzz386 · the parts listListen ↗: LM386 Fuzz (opens in a new tab)
# An LM386 on 9 V with 10u across its gain pins: a gain of 200 (46 dB). drive sets how much of the sound reaches it; past# about 4 V either side of its resting 4.5 V its out clips flat, the classic overdriven-LM386 sound. A capacitor takes away# its DC, and 1k and 10n soften the top.circuit Fuzz386  setting input: 1 V  setting output: 4 V  setting drive: 30%  V1 vs gnd 9V  P1 in d gnd 10k drive  Ra d a 10k  Rb a gnd 1k  U1 a gnd o g1 g8 byp LM386 supply vs  Cg g1 g8 10u  Cb byp gnd 10u  Co o t 10u  Rt t out 1k  Ct out gnd 10n  Rl out gnd 10kend
PartDIP: plus minus · out gain1 gain8 bypassSupply pinsSold as
LM3868: 3 2 · 5 1 8 7VS 6, gnd 4LM386N-1, LM386N-4, NJM386

4The LM311 comparator

An open-collector comparator by its part number, on the comparator's model:

U1 plus minus out LM311

Its out is pulled down to ground while + is below −, and let go while + is above: give it a pull-up resistor to a supply, as on a board. It switches where + crosses −, between two samples. Nothing follows its part number: its emitter is at ground, so it has no rails.

Example: LM311 Square. A relaxation oscillator on 5 V: a pull-up, three resistors that set where it flips, and a resistor and capacitor that set how fast. tune turns the resistor.

Square311 · the parts listListen ↗: LM311 Square (opens in a new tab)
# An LM311 on 5 V as a relaxation oscillator: its out can only pull down, so Rp pulls it up. R1, R2 and R3 set where it# flips (a third and two thirds of 5 V); Rf charges C1 towards its out until C1 crosses, and it flips. tune turns Rf.# Every key plays the same note: the circuit sets its own pitch.circuit Square311  setting output: 5 V  setting tune: 10k, from 47k to 2.2k  R0 in gnd 1k  V1 vcc gnd 5V  U1 p m x LM311  Rp vcc x 1k  R1 vcc p 10k  R2 p gnd 10k  R3 x p 10k  Rf x m tune  C1 m gnd 100n  C2 x out 1u  Rl out gnd 10kend
PartDIP: + − outSupply pinsSold as
LM3118: 2 3 7V+ 8, gnd (emitter) 1, V− 4LM311, LM211 (the same die, over a wider temperature range)

5Their limits

  • A circuit holds two delay lines: bucket-brigade parts, 3207s and PT2399s together.
  • Not modelled: the PT2399's clock noise on its supply, the LM386's bandwidth and its current limit into a speaker, the LM311's response time, strobe and balance pins.

SynthMaker isn't affiliated with Panasonic, Coolaudio, Princeton Technology, Texas Instruments or Nisshinbo, nor with the BL3207's maker; their part numbers are named to say which chip each model follows.

Remember