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.
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.