a chord the drums steal from
20 HP
A chord on three square waves, and drums that steal from it. A mid-80s games console's sound chip tuned its noise by borrowing its third voice's pitch, and BORROW plays that: every hit takes the chord's top note, lands on it four octaves down, and gives it back.
Turn a knob: drag it or tap either side of it, roll the wheel over it or use the arrow keys; a double click puts it back. The switch flips with a click, and HIT's button fires a hit.
example patches
The module's own engine, running in your browser: the firmware's chip and everything BORROW does with it, ported from its C and checked against it bit for bit, the lights lit as its LEDs are. The drums, the distortion and the reverb some patches add are a stand-in for the rest of a rack.
The chip has three square-wave voices and one noise channel. The noise runs at one of three fixed rates, or at the third voice's pitch, and that's the only way to tune it. BORROW always tunes it, so every hit borrows the third voice.
The noise has two settings. White is a 16-bit shift register fed back from two of its bits. Periodic is a single bit going round it: at the third voice's pitch, that's a pulse a sixteenth wide, four octaves under the voice, a buzz with a note in it. TEETH says how much of a hit is hiss before it buzzes.
FALL is where the hit starts: up to five octaves above the stolen note (never above 16 kHz), falling onto it, faster for a short hit. Wherever it starts, the buzz lands on the chord's top note, four octaves down, so the drums are always in the chord's key. TEETH's and FALL's jacks add a tenth of their knobs a volt and are read at each hit, so a sequencer can make every step a different drum.
TAKE is what the era's music did when a sound effect needed a channel: the borrowed voice goes quiet and the hit has its pitch to itself. DRAG leaves the third voice sounding while the hit sweeps its divider, so every hit pulls the note down from FALL's height onto itself. It's the chip's coupling, left where you can hear it.
TAKEN is a gate out, high while the third voice is borrowed. Use it to duck something else in the case in time with the hits.
KEY (V/OCT) sets the root, 1 V an octave, with 0 V at middle C. SHAPE picks the other two notes: octaves, a fifth, minor, major, a minor seventh, or a flat second over a fifth. The third voice is always the top note. TOP moves it up one or two octaves, and every hit goes up with it. SHAPE's jack steps a shape a volt, TOP's an octave a volt.
The chip's dividers are ten bits on a 3.58 MHz clock. Nothing goes under 109 Hz, about two octaves under concert A, so a lower note goes up an octave until the chip can play it. The higher a note, the coarser the dividers; the readout beside the panel shows how far out of tune each voice lands, in cents. The only bass the chord gets is the hit.
CAROL, the out, is the chip, mono: the three voices and the noise, through a coupling capacitor like the console's.
Drag it or use the arrow keys to turn it; click it to take it apart.