borrow

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.

The BORROW panel: a magpie swooping straight at you, wings spread and beak open, in gold dots on black, its head under the name and its tail fanned behind the big BORROW knob. Four round lights sit round BORROW. White labels for the knobs SHAPE (printed 1 to 6), TOP (0 to 2), BORROW, TEETH and FALL, the switch TAKE / DRAG, the HIT button, and the jacks KEY (V/OCT), SHAPE, TOP, BORROW, HIT, TEETH, FALL, TAKEN and CAROL (the out) (SHAPE, TOP, BORROW, TEETH and FALL are the knobs' CVs, each named for its knob); thin white rings round three jacks say what they carry: twelve ticks round KEY, dashes round HIT and TAKEN. borrow at the top, daylight noise at the bottom.

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.

BORROW's chord and its hits, and in some patches a case's drums and a distortion, all made in the page. Headphones help.

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.

What a hit does

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.

Teeth and fall

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 or drag

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.

The chord

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.

Inside

The BORROW panel mid-hit, its knobs on, voices 1 and 2 and the noise lit violet.

Drag it or use the arrow keys to turn it; click it to take it apart.

Specs

Format

Width
20 HP
Depth
about 21 mm behind the panel, its power header included
+12 V
about 90 mA with the lights dark, 155 mA at the most (all four lights at full, TAKEN high)
−12 V
about 5 mA
+5 V
not used; 10-pin header
Controls
5 knobs (BORROW's big; SHAPE and TOP stepped), a TAKE / DRAG switch, HIT's button

I/O

KEY
V/OCT in: 1 V an octave, −2 to +8 V, 0 V at middle C; 100 k
HIT
trigger, rising past about 1.2 V; 100 k
SHAPE, TOP, BORROW, TEETH, FALL
the knobs' CVs, each jack named for its knob: ±5 V; 100 k. SHAPE and TOP: a shape or an octave a volt. BORROW, TEETH and FALL: a tenth of the knob a volt, read at each hit
CAROL
the out: the chip, mono, at most about 7 V peak to peak; 1 k
TAKEN
gate, 0 or 5 V while a hit holds the third voice; 1 k

Engine

Brain
RP2350 at 46.875 kHz, 32-bit float
The chip
emulated: three 10-bit tone dividers on a 3.58 MHz clock, a 16-bit noise register, 2 dB attenuator steps
Converter
PCM5102A
Lights
four 5 mm diffused LEDs, red and blue in one lens: violet, 15 mA each at full
KEY
calibrated over USB at two voltages, kept in flash
Firmware
over USB-C or the debug header, on the back