Zap Circuit Bench

v1.0.0

Two 9 V circuits simulated part by part in an AudioWorklet: Newton–Raphson on the transistors, diode and op-amps, every sample. Turn the pots, then fire.

Speaker out · scope

9 V Zap Sound Generator

BC547 noise → TL072 resonant high-pass → 1N4148 AR envelope → BC547 VCA

VR 100k dual
VR 100k
VR 50k
VR 500k
added · JFET drive
output
C (1 µF) at 9.00 V · VCA closed
Space bar also fires. Hold to keep the trigger low.
Where the drawing was reinterpreted
  • Q1 alone can't make noise, so an avalanching reverse-biased junction injects noise current into its base; Q1 with the 470k/10k/1k is the amplifier.
  • U1A as drawn is an inverting gain of ~50, not a filter. It is now a Sallen–Key high-pass (2 × 2.2 nF) with the resonance pot setting the gain K, biased at 4.5 V.
  • The envelope has no trigger in the drawing. A trigger pulls the 1 µF cap down through the diode and attack pot; the decay pot recharges it toward 9 V. U1B buffers it.
  • Q2 had no audio input. It now shunts the audio node: on (muted) at rest, off while the envelope is low, closing again as the cap recharges.
  • A pair of linearised p-JFETs across the tuning resistors lets the envelope sweep the cutoff down. That sweep is what makes it a zap.

NE555 Beeper

555 astable (1k + pitch pot, 100 nF) → 10k volume pot → LM386 (gain 20) → 220 µF → 8 Ω

VR1 100k
VR 10k log

The button drives pin 4 (reset). Released, the 555 is held in reset with pin 3 low.

Where the drawing was reinterpreted
  • Pin 3 is drawn joined to the timing node. Read as a standard astable: R1 1k is RA, the pitch pot is RB, C1 100 nF, f = 1.44 / ((RA + 2·RB)·C1).
  • With pins 1 and 8 open the LM386 gain is 20; the 555's full-swing square overdrives it at higher volume and clips at the rails, as the real one would.