Tessella's sound engines

Each of the four tracks picks one engine and one of its presets. The sequencer decides which notes play and when; the engine decides what they sound like. Five engines, 99 factory presets, one shared contract.

Where the engine sits: from a note to your speakers

Notes sequencer · generators MIDI · keys Voices POLY · MONO · LEG · UNI ADSR · LFO · glide shared budget: 16 ENGINE FM6 · ORACLE · TRIO PHYS · DRUM note_on() once per note render() fills the samples Track insert FX · LEVEL PAN · spread FX SEND 1 · 2 · 3 Send FX ×3 REVERB · ECHO · CHORUS … Master → out 4 tracks + FX RETURN DC filter · limiter · soft clip 44.1 kHz stereo Audio at 44,100 samples a second · modulation (envelopes, LFOs, the mod matrix) once every 32 samples, about 0.73 ms

The five engines

FM6

6-operator FM · DX7-compatible
654321 out feedback

A modulator wobbles a carrier's pitch so fast you hear new overtones. More modulator level = brighter, more metallic. 32 wiring diagrams (algorithms).

40 presets16 voicesown envelopesimports DX7 .syx
ALG
FB
MLVL
MRAT
MEG
VMOD
DTUN
AEG
Dexed (Pascal Gauthier) on Google's MSFA, restated in C · modes MODERN, MARK I, OPL · patches by Felucca and Melodee

ORACLE

Subtractive analog · after the Prophet-5
OSC AOSC Bnoisemixladder4-poleamp POLY-MOD

Rich waves carved by a resonant low-pass filter. Poly-Mod lets the filter envelope and OSC B bend A's pitch, width and the cutoff: growls, bells, sweeps.

24 presetsup to 8 voicesVINTAGE drifthard sync
CUT
RES
TUNE A
TUNE B
PW A
PW B
LVL A
LVL B
Melodee 1.4's Prophet engine, back under its own name with its own sounds · filter LATE or EARLY

TRIO

8-bit chip voice · three oscillators
osc 1osc 2osc 3 RINGSYNC LP BPHP notch

Triangle, saw, pulse, noise and the chips' combined waves. RING gives metallic tones, SYNC the tearing lead; 16 WAVE sets pick the mix.

16 presets8 voicespolyBLEP anti-alias12 dB filter
WAVE
INT2
INT3
DTN
MODE
CUT
RES
PW
Melodee's own design, in the style of early home-computer sound chips

PHYS

Physical modelling · struck, plucked, bowed
MODALSTRNGMEMBSYMP bells, barsplucked stringdrum headsitar, harp

No oscillators: it simulates an object being hit, plucked or bowed, and lets it ring. BOW keeps it sounding; EXC lets you hear the mallet or pick.

17 presets3 voices (costly)4 models
MODEL
STRC
BRIT
DAMP
POS
ACC
BOW
EXC
DaisySP (Electrosmith, Emilie Gillet) and Mutable Instruments Rings, ported to fixed point (MIT)

DRUM

Circuit-modelled drum machine · 8 lanes
K kickS snareCP clapCH hat OH openT tomRIMBELL

Each drum is a model of an analog circuit, not a recording. A new hit retriggers its lane; the closed hat chokes the open hat.

808 KIT909 KITone-shot hitsGM note map
KIT
TUNE
TONE
DECY
SNAP
ACC
KICK
DRV
808 after Werner et al. (DAFx-14, ICMC-SMC 2014) and the service notes · 909 from 9W9

Reading the cards

What the knob rows mean

Every engine has exactly 8 EDIT controls (two pages of four). The bold ones are on the four HOME knobs. The rings show each control's default.

Around every engine sits the same track layer: ADSR, LFO, voice mode, glide, level, pan and three effect sends.

FM6ORACLETRIOPHYSDRUM

Shared voices: 16 units for the whole song

What one voice costs FM6 · 1 unit TRIO, PHYS, DRUM … · 2 units ORACLE (one core) · 3 Example: 6 FM6 notes + 3 TRIO notes + 2 DRUM hits = 6 + 6 + 4 = 16. One more note steals the oldest released voice, which fades out over one block, so there's no click.

The same knob, five meanings

Track controlFM6ORACLETRIOPHYSDRUM
ENV / LFO → FILTERmodulator level (brightness)cutoffCUTBRIT—
ENV / LFO → SHAPEfeedbackboth pulse widthspulse width——
Loudness envelopeits own operator envelopesits own amp envelopetrack ADSRtrack ADSR on the ring-outeach hit's own decay

Inside: every engine is one C file and one table

engine_t ENG_MINE name, page_title[2] edit[8] 8 controls presets, npresets knob[4] HOME knobs note_on(track, voice) render(…, out, n, mod) optional: poly, units, ownenv, done, block, post, alloc, keys … Sequencer, MIDI, keyscall note_on for each note Voice allocationbudget, modes, glide, ADSR, LFO Audio callbackrender: samples, every block Panel and HOME knobsread edit[] and knob[] Presets, projects (.tsp)store the engine's number Sound Editor, MCP, CLIlist it automatically

Adding your own engine

Write eng_mine.cnote_on, render, a preset table and ENG_MINE. No 64-bit division (the device can't).
Include itin engines.c, beside the other five.
Append a numberat the end of ENGINES[] (22 today), raise NENGINES. Never reorder: songs store these numbers.
Show itadd it to ENGINE_ORDER; update NENG_SHOWN and ENG_BUILT.
Give it memoryif a track needs state beyond the voice: a case in eng_state_size.
Make it speaknew labels in words.tsv for the screen reader; help text for each control.
Test, measure, buildgolden renders, CPU budget, then web/sim/build.sh. It appears in the Studio, editor, CLI and MCP.
Publish the sourcethe engine is GPL-3.0: a public build ships its source (the publish scripts do).

Tessella · from the engine source (firmware/src/eng_*.c, engines.c, voice.c, mix.c) · details in docs/SOUND_ENGINES.md