magi

three judges that vote

20 HP

Three brains listen to one input, each for its own kind of surprise: a note that doesn't belong, a jump in loudness, a beat out of place. When two agree, the alarm climbs: WATCH, WARN, EMERGENCY. The panel is the screen, every tile a window of bare circuit board lit from behind.

The MAGI panel, unlit: black, with hexagonal tiles of bare circuit board in black webs, four of them printed EMERGENCY in black between two triangles, the knobs PITCH, LEVEL, TIME and COOL, nine jacks with white labels, the four gates ringed in white dashes, magi at the top and 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. PITCH, LEVEL and TIME make each brain easier to surprise; COOL sets how fast the alarm calms down (20 s from the top).

The input, made in the page. MAGI makes no sound of its own: it judges.

example patches

The module's own engine, running in your browser: the firmware's three brains, the vote and the alarm, ported from its C and checked against it bit for bit, judging an input synthesised in the page.

Three brains

TRIAL is the input, and every event at it is a note: an onset in audio, or a CV settling on a new value. Each brain keeps its own idea of what's normal, learnt from what it has heard, and scores how surprising the new note is. It votes when the surprise beats its threshold: its knob, plus its CV.

1 PITCH

A note that doesn't belong. It learns which notes the line keeps to and the register it stays in; a note it has hardly heard, or a leap far out of the range, surprises it. Drums and noise get no opinion.

DOUBT → PITCH

2 LEVEL

A sudden jump in loudness. It knows how loud the notes usually are and how much they vary; a note that jumps well past that, by 12 dB and more, surprises it fully. For a CV, it's the size of the step.

DREAD → LEVEL

3 TIME

A beat out of place. It follows the beat from the gaps between notes and learns where in the beat notes land; a note somewhere they never do surprises it, however loud or in tune it is.

PANIC → TIME

The alarm

A brain on its own only glows. When two agree, VOTE fires a trigger and the alarm jumps; when all three do, it jumps further. It climbs through three stages, each with its own gate out: WATCH, WARN and EMERGENCY, each high while the alarm is at or above it, and each slower to let go than to catch, so it doesn't chatter at the edge. RISK is the alarm itself, 0 to 8 V. COOL sets how fast it calms down when nothing surprises it, from a minute to a second.

Turned fully anticlockwise, a brain never votes, so two brains can run the alarm on their own. Turned right up, it votes on almost anything. Patch a sequencer into TRIAL and an LFO into PANIC, and the module grows nervous about timing as the LFO rises.

The screen

There's no display. The panel is a circuit board, and every tile of its honeycomb is a window: no copper and no solder mask on either side, just the glass-cloth board, which glows when the LEDs behind it light. Between the tiles the copper stays on both faces under black mask, so a lit tile can't leak into its neighbour through the board. The screen's EMERGENCY and the brains' names are printed black on the front, copper under the mask, so lit they stand sharp in the light's way.

Each part sits at the centre of its own tile, and its tile shows its signal: the brains' knobs glow with their suspicion and flash when they vote, the inputs with their level, the gates when they're high. The screen's own tiles light one after another as RISK rises.

Behind the panel a black 3D-printed baffle fills the 10 mm to the main board: a cell for each tile, walls along the webs and round every jack and pot, with the RGB LEDs at the bottom of each cell. Their own buck converter feeds them, and the firmware caps their current so the whole module stays within its power budget.

Inside

The front of the main board as KiCad renders it: the jacks, pots and the small LEDs, each in the place of its tile.

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

Specs

Format

Width
20 HP
Depth
about 25 mm behind the panel, with the power cable (estimated)
+12 V
about 170 mA with the LEDs at their cap (estimated)
−12 V
about 5 mA (estimated)
+5 V
not used; 10-pin header
Controls
4 knobs

I/O

TRIAL
the input: audio or CV, ±10 V; 100 k
CVs
DOUBT, DREAD, PANIC: ±5 V, added to PITCH, LEVEL and TIME; 100 k
Gates
WATCH, WARN, EMERGENCY: 0 or 5 V, high at that level or above; 1 k
VOTE
trigger, 5 V for 10 ms when two brains or three agree; 1 k
RISK
the alarm, 0 to 8 V; 1 k

Engine

Brain
RP2350 at 150 MHz
Converters
TRIAL into the RP2350's own ADC, 12 bits at 48 kHz; RISK a filtered PWM
Pitch
50 Hz to 1.2 kHz, or 1 V an octave
Verdict
44 ms after each onset
Screen
28 RGB LEDs behind 17 tiles, their current capped
Firmware
over USB-C or the debug header, on the back