θ Thoremin — Capabilities Manual

Auto-generated from the node registry. 66 nodes.

Looking for how to use the app — playing, instruments, shortcuts, the assistant, recording, annotations, the Feature Lab? → the Guide. This page is the node catalog.

Thoremin turns live sensor streams (webcam hand gestures, facial expressions and head pose, computer keyboard, MIDI out) into a live audiovisual stream — musical audio plus the captured video with overlaid guides. You build sounds by wiring small, typed nodes into a dataflow graph (DAG): inputs → features → mapping → music-logic → synthesis/generation → output. Every edge can be recorded and replayed.

The mapping layer spans a spectrum: direct (a gesture *is* a note/parameter — e.g. hand position → scale-snapped pitch) through indirect (a gesture expresses a high-level idea — e.g. openness → musical density steering an AI model), including conductor mode (direct a fixed piece's tempo and dynamics).

Everything runs client-side: gesture/face inference (MediaPipe), synthesis (Web Audio) and rendering (canvas) all happen in your browser. There is no backend — nothing you play, record, or annotate is uploaded anywhere. The only network calls are the ones you opt into by pasting your own API key (the AI assistant, and Lyria generative music), and those go straight from your browser to that provider.

This page catalogs the engine's building blocks — every node, its ports and its params. The DAG *is* the deployed instrument; a few nodes here are built and tested but are not wired into the default graph: the generative ones, and `transport` + `performance` (conductor mode's original clock and control mapping, kept for the non-conductor chain now that `conductor` + `score` are wired behind the Conductor dial, #187).

Example pipelines

The AI assistant

The assistant is a chat panel that operates the instrument for you — "add face expression chords", "make the left hand an octave lower", "save this as Glassy". It doesn't type into a text box on your behalf; it calls the very same commands the palette and the keyboard shortcuts call, so it can only ever do things you could have done yourself. Anything destructive (saving over an instrument, for instance) stops and asks you first.

It is bring-your-own-key: you paste an API key for one of the providers below, it is stored in your browser's localStorage, and it is sent only to that provider. There is no thoremin server in the middle.

Choosing a model

The assistant's job is read the state, decide, call a tool — not write essays. That makes it a function-calling workload, and the thing that matters is whether a model reliably stays inside a tool schema, not how clever it is. Reliability × latency × cost beats raw IQ here.

So the rule of thumb is: default to the fast mid-tier, and escalate only when you hit something it can't do. The flagship tier is worth it for genuinely hard, ambiguous, multi-step requests — and is mostly wasted on "turn the reverb up". Each provider below is offered as three rungs, with the recommended one marked; the app picks it for you when you switch provider.

Two things worth knowing:

OpenAI get a key ↗

gpt-5.6-terra recommended Mid tier. The default tool-driver — a full rung above the cheap tier at half the flagship price. $2.50/$15 per 1M.
gpt-5.6-sol Flagship. For genuinely hard multi-step planning; overkill for routine dial edits. $5/$30 per 1M.
gpt-5.6-luna Cheap tier. Single obvious tool calls, intent routing. $1/$6 per 1M.

Anthropic (Claude) get a key ↗

claude-sonnet-5 recommended Workhorse. Best-in-class at staying inside a tool schema, which is what an app-driving assistant lives or dies on. $3/$15 per 1M.
claude-opus-4-8 Flagship. Hard planning and loop recovery. $5/$25 per 1M.
claude-haiku-4-5 Cheap tier. Routing, state reads, one clear call. $1/$5 per 1M.

Google (Gemini) get a key ↗

gemini-3.5-flash recommended Workhorse, and the app default: Google's own recommended tier, with a generous free tier. $1.50/$9 per 1M.
gemini-3.1-pro-preview Flagship. Largest context (1M) and the hardest reasoning. $2/$12 per 1M (doubles above 200K).
gemini-3.1-flash-lite Cheap tier. Bulk, low-latency, simple calls. $0.25/$1.50 per 1M.

Inputs (sources)

Where signals enter the graph.

webcam-hands Webcam Hands

MediaPipe hand landmark detection from a webcam video element.

roles
source
in
—
out
hands:hands-frame, status:hands-status
params
modelType (enum(lite | full)="full"), maxHands (number=2), delegate (enum(auto | GPU | CPU)="auto"), runner (enum(auto | worker | main)="main")

webcam-face Webcam Face

MediaPipe FaceLandmarker blendshapes from the shared webcam (lazy-loaded, off by default).

roles
source
in
—
out
face:face-frame, status:face-status
params
delegate (enum(auto | GPU | CPU)="auto")

webcam-body Webcam Body

MediaPipe PoseLandmarker full-body pose (33 landmarks) from the shared webcam. Lazy-loaded, off by default.

roles
source
in
—
out
body:body-frame, status:body-status
params
model (enum(lite | full)="lite"), delegate (enum(auto | GPU | CPU)="auto"), minTrackingConfidence (number=0.5), plausibility (number=1)

keyboard-source Keyboard Source

Global keyboard input → held / pressed / released key events.

roles
source
in
—
out
held:string[], pressed:string[], released:string[]
params
preventDefaultKeys (array=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "])

audio-events Audio events

Microphone (or replayed / synthetic sound) analysed on the audio thread: onsets, recognised sounds, level, pitch, stamped in engine time.

roles
source
in
—
out
events:audio-events, level:number, status:string
params
analysers (array=[{"name":"onset"}]), source (enum(microphone | replay | synthetic)="microphone"), echoCancellation (boolean=false), noiseSuppression (boolean=false), autoGainControl (boolean=false)

store-controls UI Controls

Reads the live UI control store → scale + sound + overlay port values.

roles
source, control
in
—
out
scaleRight:number[], scaleLeft:number[], soundRight:sound, soundLeft:sound, octaveShift:number, magnetism:number, mute:boolean, hushVoices:boolean, muteAll:boolean, muteStrikes:boolean, claimed:boolean, overlay:overlay-config, rightSpec:scale-spec, chordSpec:scale-spec, chordScale:number[], faceMapping:face-mapping, chordConfig:chord-config, expressionSensitivity:expression-sensitivity, expressionDegrees:expression-degrees, expressionTargets:expression-targets, handednessDwell:number, faceControls:face-controls-config, graphElements:string[], airDrum:air-drum-config, airBass:air-bass-config, airGuitar:air-guitar-config, airFlute:air-flute-config, chordMap:chord-map-config, chordWheel:chord-wheel-config, chordChart:chord-chart-config, asl:asl-config, drawnPieces:drawn-pieces-config, midi:midi-config, steer:steer-settings, body:body-config, bodyMap:body-map, conductor:conductor-config, musicContext:music-context-config, physicalTheremin:physical-theremin-config, faceCategorizer:face-categorizer-config, poseCategorizer:pose-categorizer-config, categorizerChords:categorizer-chords-config, midiEnabled:boolean, midiPort:string, midiMuteFollowsMaster:boolean, steerEnabled:boolean, steerVolume:number, steerConfig:steer-config, songVolume:number, songRate:number, songHoldFade:number, songHoldSlow:number, songAlignStart:boolean, songFollowRange:number, trainerHudConfig:trainer-hud-config, conductorLeadOffsets:lead-offsets, featureLabConfig:feature-lab-config, airGuitarModel:shape-model, airFluteFingerModel:shape-model, airFluteMouthModel:shape-model, airDrumPattern:drum-pattern, chordMapMidi:held-notes, chordMapAudio:audio-chroma, chordMapRatings:move-ratings, steerPlaying:boolean, songHandle:song-handle, songPlaying:boolean, songPlays:number, songStartBeat:number, songSeek:song-seek, trainerHudSnapshot:trainer-hud-snapshot, scoreDoc:score-doc, musicContextActive:music-context, faceCategorizerModel:face-categorizer-model, poseCategorizerModel:pose-categorizer-model, categorizerChordsModel:categorizer-chords-model
params
—

synthetic-hands Synthetic Hands

Camera-free animated hand landmark source for tests & demos.

roles
source
in
—
out
hands:hands-frame, status:hands-status
params
width (number=640), height (number=480), sweepPeriod (number=4), opennessPeriod (number=3), pinchPeriod (number=2.5), hands (enum(right | left | both)="right"), yNorm (number=0.5), scale (number=80), strike (boolean=false), strikePeriod (number=0.9), conduct (boolean=false), conductPeriod (number=0.75), conductDrop (number=0.12)

replay-source Replay Source

Emits a recorded value stream, one value per tick.

roles
source
in
—
out
value
params
values (array=[]), loop (boolean=false)

replay-source-timed Replay Source (timed)

Emits a recorded value stream by timestamp against ctx.time (hold-last, never interpolated), so a take replays at its own pace at any tick rate or clock speed.

roles
source
in
—
out
value
params
records (array=[]), loop (boolean=false), toleranceSec (number=0.000001)

replay-hands Replay Hands

Replays a recorded hand-landmark stream, one frame per tick. Camera-free and deterministic.

roles
source
in
—
out
hands:hands-frame, status:hands-status
params
frames (array=[]), loop (boolean=false)

no-hands No Hands

The hand source while the camera is closed: an instrument that reads no camera stream emits no hands, and loads no hand model.

roles
source
in
—
out
hands:hands-frame, status:hands-status
params
—

synthetic-body Synthetic Body

Camera-free animated full-body skeleton (bounce / sway / arms / steps) for tests & demos.

roles
source
in
—
out
body:body-frame, status:body-status
params
width (number=640), height (number=480), bouncePeriod (number=0.5), bounceAmount (number=0.04), swayPeriod (number=2.4), armPeriod (number=3.2), stepPeriod (number=1.2), stepAmount (number=0.3), kneeBend (number=0.3), torso (number=120)

replay-body Replay Body

Replays a recorded full-body pose stream, one frame per tick. Camera-free and deterministic.

roles
source
in
—
out
body:body-frame, status:body-status
params
frames (array=[]), loop (boolean=false)

Features

Raw sensor data → normalized control signals.

hand-features Hand Features

Landmarks → normalized per-hand position, openness, pinch.

roles
feature
in
hands:hands-frame, handednessDwell:number
out
features:hand-features
params
mirrorX (boolean=true), mirrorHandedness (boolean=false), opennessMin (number=1.3), opennessMax (number=2.3), pinchTouch (number=0.25), pinchApart (number=1.2), fingerTouch (number=0.3), fingerApart (number=1.8), handednessDwellFrames (number=0)

hands-dwell Hands (dwelled labels)

The hand stream with Left/Right held by the handedness dwell, for instruments that choose a hand by label.

roles
feature
in
hands:hands-frame, handednessDwell:number
out
hands:hands-frame
params
mirrorHandedness (boolean=false), handednessDwellFrames (number=0)

face-features Face Features

Face blendshapes → normalized expression controls (smile, mouthOpen, brow, blink).

roles
feature
in
face:face-frame
out
features:face-features
params
gain (number=1), smoothing (number=0)

face-controls Face Controls

Face frame → deliberate control axes (head yaw/pitch/roll, jaw-open, smile↔frown, brow-raise, lip-pucker), each with gain/deadzone/smoothing.

roles
feature
in
face:face-frame, config:face-controls-config
out
controls:face-controls
params
smoothing (number=0.3), headRangeDeg (number=30), headDeadzoneDeg (number=3), yawZeroDeg (number=0), pitchZeroDeg (number=0), rollZeroDeg (number=0), yawGain (number=1), pitchGain (number=-1), rollGain (number=1), mouthDeadzone (number=0.08), browDeadzone (number=0.1), puckerDeadzone (number=0.12), smileDeadzone (number=0.06), mouthGain (number=1), browGain (number=1), puckerGain (number=1), smileGain (number=1)

face-expression Face Expression

Face blendshapes → one of 7 emotions or neutral (per-class thresholds + neutral abstention, smoothing, enter/exit hysteresis, dwell).

roles
feature
in
face:face-frame, sensitivity:expression-sensitivity
out
expression:face-expression
params
smoothing (number=0.4), dwellFrames (number=2)

face-categorizer Face Categorizer

Your own face categorizer (#330), read live: the face to one of your categories, as the expression it stands in for. Passes the general model through until it is loaded.

roles
feature
in
face:face-frame, general:face-expression, model:face-categorizer-model, config:face-categorizer-config
out
expression:face-expression, degrees:category-degrees, targets:category-targets
params
holdOnReject (boolean=false), enterFrames (number=3), exitFrames (number=8), minPresent (number=0.9)

pose-categorizer Pose Categorizer

Your own pose categorizer (#384), read live: the body to one of your saved poses, drawn on the video, and optionally the body conductor's start, hold and cut-off from your ready, fermata and cut-off poses.

roles
feature
in
vector:feature-vector, model:pose-categorizer-model, config:pose-categorizer-config
out
category:category-scores, transportPose:transport-pose
params
—

gesture-classifier Gesture Classifier

Hand features → discrete poses (fist/open/pinch) + enter/exit edge events.

roles
feature
in
features:hand-features
out
poses:poses, events:gesture-events
params
pinchOn (number=0.6), pinchOff (number=0.45), fistBelow (number=0.25), openAbove (number=0.6), hysteresis (number=0.05)

face-feature-vector Face Feature Vector

Face blendshapes + mesh + head pose -> a flat vector of enabled catalog features.

roles
feature
in
face:face-frame
out
vector:feature-vector
params
groups (array)

hand-feature-vector Hand Feature Vector

Hand image + world landmarks -> a flat vector of enabled per-hand + two-hand catalog features.

roles
feature
in
hands:hands-frame
out
vector:feature-vector
params
mirrorX (boolean=true), mirrorHandedness (boolean=false), groups (array), handednessDwellFrames (number=2)

body-feature-vector Body Feature Vector

Body pose landmarks -> a flat vector of enabled body catalog features (angles, segment directions, kinematics, shape, effort, relations); landmarks below minVisibility are masked.

roles
feature
in
body:body-frame, pulse:pulse-state
out
vector:feature-vector
params
mirrorX (boolean=true), groups (array), windowSeconds (number=1), minVisibility (number=0.5)

body-pulse Body Pulse

The dancer's pulse: the period, phase and confidence of the body's repeating movement (the stride by default), from ictus's octave-free pulse follower.

roles
feature
in
body:body-frame
out
pulse:pulse-state, channel:string
params
channel (enum(stride | head | hip | sway | yaw | trunk | auto)="stride"), autoSwitchAfterS (number=3), windowS (number=8), minPeriodS (number=0.3), maxPeriodS (number=3), prior (enum(oscillator | trend | blend)="oscillator"), fastWindowS (number=4.5), longWindowS (number=0), minVisibility (number=0.5)

Mapping (direct ↔ indirect)

Features → engine parameters, across the expression spectrum.

voice-mapping Voice Mapping

Hand features → tonal synth parameters (x→pitch w/ scale snap, y→volume).

roles
mapping
in
features:hand-features, magnetism:number, octaveShift:number, mute:boolean, scaleRight:number[], scaleLeft:number[], soundRight:sound, soundLeft:sound, face:face-features, mods:voice-mods
out
params:synth-params
params
magnetism (number=0.8), maxGain (number=0.5), opennessGatesGain (boolean=false), opennessControlsBrightness (boolean=true), pinchControlsVibrato (boolean=true), faceControlsExpression (boolean=true), panByPosition (boolean=true), panSpread (number=0.5), right (object={"scale":{"root":0,"type":"major","octaves":2,"baseOctave":3},"sound":"sine"}), left (object={"scale":{"root":0,"type":"major","octaves":2,"baseOctave":3},"sound":"triangle"})

physical-theremin Physical theremin

A theremin played through its physics: the right hand's capacitance to a virtual pitch rod (palm and fingers, area over distance) detunes an LC oscillator and the heterodyne beat is the pitch, so finger openings play intervals (aerial fingering); the left hand over a virtual loop sets the volume; an assistance level adds pitch correction, smoothing and a vibrato aid. Off by default.

roles
feature, mapping
in
hands:hands-frame, config:physical-theremin-config, scale:number[], octaveShift:number
out
params:synth-params, status:physical-theremin-status
params
—

body-route Body Route

Routes catalog features (body first) to voice modulations — brightness, vibrato, pan, pitch bend, octave, gate, gain — per the body map.

roles
mapping, control
in
vector:feature-vector, bodyMap:body-map
out
mods:voice-mods
params
map (object={"routes":{"a":{"feature":"","target":"none","inMin":0,"inMax":1,"invert":false,"smoothing":0.5,"depth":1},"b":{"feature":"","target":"none","inMin":0,"inMax":1,"invert":false,"smoothing":0.5,"depth":1},"c":{"feature":"","target":"none","inMin":0,"inMax":1,"invert":false,"smoothing":0.5,"depth":1},"d":{"feature":"","target":"none","inMin":0,"inMax":1,"invert":false,"smoothing":0.5,"depth":1}}})

indirect-map Indirect Map

Gesture features → weighted prompts + config dials (steers a generative engine).

roles
mapping
in
features:hand-features, face:face-features, steerConfig:steer-config
out
steer:generative-steer
params
strains (array=[]), dials (array=[]), smoothing (number=0), throttleSec (number=0)

keyboard-control Keyboard Control

Keyboard key-press events → octave shift, magnetism, mute.

roles
mapping, control
in
pressed:string[]
out
octaveShift:number, magnetism:number, mute:boolean
params
magnetismStep (number=0.1), magnetismStart (number=0.8), octaveMin (number=-2), octaveMax (number=2)

pick Pick

Extract a scalar from a structured input by dotted path (e.g. right.x).

roles
mapping
in
in:any
out
value:number
params
path (string=""), default (number=0)

one-euro One-Euro Filter

Adaptive jitter smoothing for a noisy control value (smooth at rest, responsive when fast).

roles
mapping
in
value:number
out
value:number
params
minCutoff (number=1), beta (number=0.01), dCutoff (number=1), fallbackDt (number=0.016666666666666666)

synth-merge Synth Merge

Union the synth-params voice streams into one: a pool of instrument inputs (hushable; eight at least) and of score inputs (kept under hush; two at least); master mute. `unmuted` is the same stream before the master mute (for MIDI out).

roles
mapping
in
voice1:synth-params, voice2:synth-params, voice3:synth-params, voice4:synth-params, voice5:synth-params, voice6:synth-params, voice7:synth-params, voice8:synth-params, voice9:synth-params, voice10:synth-params, voice11:synth-params, score1:synth-params, score2:synth-params, mute:boolean, hush:boolean
out
params:synth-params, unmuted:synth-params
params
—

chord-select Chord Select

Pick the first non-empty of a pool of chord-tone streams (the face chord, the pose chord, the sign chord, and any an extension declares), highest priority first, for the overlay.

roles
mapping
in
a:number[], b:number[], c:number[], d:number[], e:number[], f:number[], g:number[], h:number[], i:number[]
out
chord:number[]
params
—

delay Delay

Emit the input value from N ticks ago; nothing until that much history exists.

roles
mapping
in
value:any
out
value:any
params
ticks (number=1)

category-blend Category blend

Continuous control from a categorizer's memberships: each category's value, weighed by how much the player is in it, smoothed, to the chord's brightness or tension. Moving between two hand shapes or poses moves the sound between their settings.

roles
mapping
in
category:category-scores, config:categorizer-chords-config
out
controls:blend-controls
params
smoothingS (number=0.15), tensionDwellS (number=0.15)

Music logic (tonal guidance)

Harmony kept in-key.

expression-chord Expression Chord

Facial expression → a voiced, rendered diatonic chord on the chord-source scale (active only in face "chord" mode).

roles
music
in
expression:face-expression, spec:scale-spec, faceMapping:face-mapping, octaveShift:number, chordConfig:chord-config, degrees:expression-degrees, categoryDegrees:category-degrees, targets:expression-targets, categoryTargets:category-targets
out
params:synth-params, triad:number[], played:face-expression
params
gain (number=0.22), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="triangle"), voicing (enum(spread | bassTriad | close | shell | power | voiceLed)="spread"), rendering (enum(sustained | strum | arpUp | arpDown | arpUpDown | pulse | alberti)="sustained"), bpm (number=100)

pose-chord Pose Chord

Head/face pose axes → a voiced, rendered diatonic chord (head-yaw→degree, pitch→octave, jaw-open→gate, smile→timbre, brow→7th). Active only in face "controls" mode.

roles
music
in
controls:face-controls, spec:scale-spec, faceMapping:face-mapping, octaveShift:number, chordConfig:chord-config
out
params:synth-params, chord:number[]
params
gain (number=0.22), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="warmPad"), voicing (enum(spread | bassTriad | close | shell | power | voiceLed)="spread"), rendering (enum(sustained | strum | arpUp | arpDown | arpUpDown | pulse | alberti)="sustained"), bpm (number=100), mouthGate (number=0.12), octaveRange (number=1), browSeventhAt (number=0.5)

categorizer-chord Categorizer Chord

Your own hand-shape or pose categorizer (#450), read live: each of your categories plays a chord on the chord-source scale.

roles
feature, music
in
vector:feature-vector, frame:any, model:categorizer-chords-model, config:categorizer-chords-config, spec:scale-spec, octaveShift:number, chordConfig:chord-config, controls:blend-controls
out
params:synth-params, category:category-scores, triad:number[]
params
gain (number=0.22), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="triangle"), voicing (enum(spread | bassTriad | close | shell | power | voiceLed)="spread"), rendering (enum(sustained | strum | arpUp | arpDown | arpUpDown | pulse | alberti)="sustained"), bpm (number=100)

music-context Musical context

Reads the music's timeline (a score, the player's chart) at the playing position: the key and chord in force, the next ones on their beats, and, while the instrument follows the music, its scale.

roles
music, control
in
config:music-context-config, context:music-context, time:musical-time, conductorTime:musical-time
out
scale:scale-override, key:music-key, chord:music-chord, expectations:music-expectations, status:music-context-status
params
—

music-scale Scale from the music

Stands on the instrument's scales: passes the settings' scales through, or, while the instrument follows the music, the same scales in the music's key.

roles
music, control
in
override:scale-override, scaleRight:number[], scaleLeft:number[], rightSpec:scale-spec, chordSpec:scale-spec, chordScale:number[]
out
scaleRight:number[], scaleLeft:number[], rightSpec:scale-spec, chordSpec:scale-spec, chordScale:number[]
params
—

Conductor mode

Direct a fixed piece with gesture (tempo + dynamics).

conductor Conductor

The beating hand (or, with source = body, the body) becomes musical time: ictus detection + a rhythm prior (packages/ictus/src; the oscillator-trend blend by default) → beat, bpm, dynamics for the score. Off by default.

roles
feature, mapping
in
hands:hands-frame, body:body-frame, config:conductor-config, doc:score-doc, transportPose:transport-pose, pulse:pulse-state, leadOffsets:lead-offsets
out
time:musical-time, beat:number, bpm:number, velocityScale:number, phase:number, dynamics:number, articulation:number, confidence:number, enabled:boolean, leadsScore:boolean, recordingTime:musical-time, level:number, transport:transport-phase, dance:dance-mode
params
enabled (boolean=false), conducts (enum(score | recording)="score"), source (enum(hands | body | dancer)="hands"), hand (enum(auto | right | left)="auto"), point (enum(wrist | indexTip)="wrist"), bodyPoint (enum(impact | wrist | head | hips | com)="impact"), mirrorX (boolean=true), mirrorHandedness (boolean=false), markLevel (enum(beat | half | bar | auto)="beat"), expression (enum(same | hands | body)="same"), expressionHand (enum(auto | right | left)="auto"), handGesture (object={"height":0.6,"palm":0.4,"quietS":2,"minStroke":0.02,"fadeS":0.5}), articulationFrom (enum(sharpness | flow)="sharpness"), transport (object={"rules":true,"raisedAbove":0.45,"droppedBelow":0.2,"stillBelow":8,"moveAbove":9,"upbeat":"speed","riseMin":0.12,"fallWithinS":0.5,"fastFall":0.15,"readyS":0.4,"holdAfterPeriods":1.5,"stopAfterPeriods":1}), dancer (object={"range":0.1,"phaseOffset":0,"bpm":120}), beatsPerBar (number=4), servoBeats (number=1), fallbackBelowConfidence (number=0.3), tempoPrior (enum(none | kth-final-ritard)="none"), ritardBeats (number=8), ritardRatio (number=0.35), fallbackBpmMin (number=50), fallbackBpmMax (number=160), dynMin (number=0.35), dynMax (number=1), prior (enum(oscillator | trend | blend)="blend"), phaseGain (number=0.5), periodGain (number=0.4), strikesAlong (boolean=false)

transport Transport

Beat clock: integrates BPM over time into a running beat position.

roles
music
in
bpm:number
out
beat:number
params
startBeat (number=0)

score Score

An immutable piece performed live: beat + velocityScale → the sounding synth voices. Plays a loaded ScoreDoc (MIDI / MusicXML) or the built-in demo scale.

roles
music
in
beat:number, velocityScale:number, enabled:boolean, doc:score-doc, config:conductor-config, replaced:boolean
out
params:synth-params
params
notes (array=[]), loopBeats (number=8), baseGain (number=0.4), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="triangle"), parts (array=[])

performance Performance

Control signal → tempo (bpm) + dynamics (velocityScale), with optional humanization.

roles
music
in
control:number
out
bpm:number, velocityScale:number
params
bpmMin (number=60), bpmMax (number=160), dynMin (number=0.4), dynMax (number=1), humanizeBpm (number=0), humanizeVel (number=0)

Air instruments

Strike, pluck or blow at nothing — hits and plucks predicted before the frame that shows them (#233, #249).

air-drum Air drum

Strike the air with a hand and hear a drum at the strike: each hand is a stick whose hit is predicted before the frame that shows it (packages/ictus/src/impact.ts). Off by default.

roles
feature, mapping
in
hands:hands-frame, config:air-drum-config, time:musical-time, pattern:drum-pattern
out
hits:drum-hits, status:air-drum-status, enabled:boolean
params
enabled (boolean=false), hand (enum(both | right | left)="both"), point (enum(wrist | indexTip | stickTip)="stickTip"), stickLength (number=3), rightSound (enum(kick | snare | hihat | tom | crash | ride)="kick"), leftSound (enum(kick | snare | hihat | tom | crash | ride)="snare"), pads (object={"p1":{"on":false,"shape":"circle","x":0.5,"y":0.72,"w":0.18,"h":0.24,"color":"#e11d48","sound":"snare"},"p2":{"on":false,"shape":"circle","x":0.26,"y":0.6,"w":0.16,"h":0.2,"color":"#eab308","sound":"hihat"},"p3":{"on":false,"shape":"circle","x":0.74,"y":0.6,"w":0.16,"h":0.22,"color":"#3b82f6","sound":"tom"},"p4":{"on":false,"shape":"circle","x":0.14,"y":0.3,"w":0.18,"h":0.22,"color":"#14b8a6","sound":"crash"},"p5":{"on":false,"shape":"circle","x":0.86,"y":0.3,"w":0.18,"h":0.22,"color":"#a855f7","sound":"ride"},"p6":{"on":false,"shape":"rect","x":0.5,"y":0.8,"w":0.3,"h":0.12,"color":"#f97316","sound":"kick"},"p7":{"on":false,"shape":"circle","x":0.8,"y":0.76,"w":0.16,"h":0.2,"color":"#22c55e","sound":"tom"},"p8":{"on":false,"shape":"rect","x":0.2,"y":0.78,"w":0.16,"h":0.14,"color":"#64748b","sound":"snare"}}), offPad (enum(hand | nearest | silent)="hand"), hardHit (number=4), minLead (number=0.05), magnetism (number=0), mirrorHandedness (boolean=false), volume (number=0.8), minStroke (number=0.03), minSpeed (number=0.5)

drum-out Drum out

Sounds the air drum hits on the audio clock at the time each was predicted for (WebAudio drums from primitives, no samples).

roles
synth
in
hits:drum-hits, mute:boolean
out
—
params
—

air-bass Air bass

Play a bass in the air: the fretting hand's distance along an imaginary neck picks the note (quantised to the scale), and a pluck of the other hand sounds it, predicted before the frame that shows it (packages/ictus/src/impact.ts). Off by default.

roles
feature, mapping
in
hands:hands-frame, config:air-bass-config, scale:number[], octaveShift:number
out
notes:note-events, status:air-bass-status, enabled:boolean
params
enabled (boolean=false), pluckHand (enum(right | left)="right"), pluckPoint (enum(indexTip | wrist)="indexTip"), neckNear (number=2), neckFar (number=7), smoothing (number=0.1), hysteresis (number=0.3), minLead (number=0.05), minStroke (number=0.02), minSpeed (number=0.4), volume (number=0.8), mirrorHandedness (boolean=false)

air-guitar Air guitar

Strum chords in the air: the fretting hand's shape is classified against the player's own enrolled chords, and a strum of the other hand, predicted before the frame that shows it, sounds that chord's guitar voicing. Off by default.

roles
feature, mapping
in
hands:hands-frame, config:air-guitar-config, model:shape-model, octaveShift:number
out
notes:note-events, shape:feature-vector, status:air-guitar-status, enabled:boolean
params
enabled (boolean=false), strumHand (enum(right | left)="right"), strumPoint (enum(wrist | indexTip)="wrist"), strumSpread (number=0.012), minLead (number=0.05), minStroke (number=0.03), minSpeed (number=0.5), volume (number=0.7), enterFrames (number=3), mirrorHandedness (boolean=false)

air-flute Air flute

Play a flute in the air: large finger lifts of both hands, enrolled per player and named by their note, choose the note; the player's enrolled blowing mouth (or a held fingering alone) sounds it as a sustained voice. Off by default.

roles
feature, mapping
in
hands:hands-frame, face:feature-vector, faceFrame:face-frame, config:air-flute-config, fingerModel:shape-model, mouthModel:shape-model, octaveShift:number
out
params:synth-params, shape:feature-vector, mouth:feature-vector, status:air-flute-status, enabled:boolean
params
enabled (boolean=false), breath (enum(mouth | always)="mouth"), volume (number=0.5), enterFrames (number=3), breathFrames (number=2), faceHold (number=0.3), mirrorHandedness (boolean=false)

pluck-out Pluck out

Sounds plucked-string note events (the air bass and guitar) on the audio clock at the time each was predicted for (WebAudio plucks from primitives, no samples).

roles
synth
in
notes:note-events, mute:boolean
out
—
params
timbre (enum(bass | guitar)="bass"), mono (boolean=true)

chord-map Chord map

Play a key's chords by pointing at them: the seven diatonic chords laid out on the screen (by default a hexagonal map whose axes are moves by a fourth, a third and a second), the chord hand choosing one; it sounds while held, with a melody on its tones from the other hand, or is strummed by the other hand, predicted before the frame that shows the strum. Off by default.

roles
feature, mapping, music
in
hands:hands-frame, config:chord-map-config, spec:scale-spec, chordConfig:chord-config, octaveShift:number, time:musical-time, conductorTime:musical-time, midi:held-notes, audio:audio-chroma, ratings:move-ratings, face:face-features, signs:category-scores, music:music-chord
out
params:synth-params, notes:note-events, grid:cell-grid, status:chord-map-status, triad:number[]
params
enabled (boolean=false), layout (enum(harmonic | fifths | scale)="harmonic"), play (enum(hold | strum)="hold"), chordHand (enum(right | left)="left"), point (enum(palm | indexTip)="palm"), split (number=0.65), cellSize (number=0.2), enterFrames (number=2), hysteresis (number=0.12), releaseS (number=0.3), captions (boolean=true), captionSet (enum(interval | computed | mine)="interval"), captionTension (enum(off | function | tps | profile | rated)="off"), idiom (enum(none | circle | pachelbel | romanesca | monte | fonte | thirds | fifties | deceptive | andalusian)="none"), trailSteps (number=3), melody (boolean=true), melodyNotes (enum(chord | pentatonic | scale | tilt)="chord"), sevenths (boolean=false), melodyVolume (number=0.45), melodyOctaves (number=2), melodySound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="triangle"), gain (number=0.22), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="warmPad"), voicing (enum(spread | bassTriad | close | shell | power | voiceLed)="spread"), rendering (enum(sustained | strum | arpUp | arpDown | arpUpDown | pulse | alberti)="sustained"), bpm (number=100), strumPoint (enum(wrist | indexTip)="wrist"), strumSpread (number=0.012), minLead (number=0.05), minStroke (number=0.03), minSpeed (number=0.5), volume (number=0.7), mirrorHandedness (boolean=false), clock (enum(tempo | song | conductor)="tempo"), commit (enum(now | beat)="now"), commitBeats (number=1), follow (enum(hands | midi | audio | signs | music)="hands"), signDwellS (number=0.2), signEvidence (number=0.02), midiDwellS (number=0.08), audioDwellS (number=0.25), chordsFrom (enum(key | scale)="key"), anchor (enum(home | letters)="home"), face (boolean=false), faceMode (boolean=true), faceTension (boolean=true), faceFromRest (boolean=true), modeDwellS (number=1)

chord-wheel Chord wheel

A next-chord wheel: the chord in force in the centre, one move per wedge at a fixed angle (the key's diatonic moves, or the Tonnetz's P, L, R and their compounds); push the hand toward a move and hold it, the wheel recentres on the new chord. Off by default.

roles
feature, mapping, music
in
hands:hands-frame, config:chord-wheel-config, spec:scale-spec, chordConfig:chord-config, octaveShift:number, expression:face-expression, time:musical-time, conductorTime:musical-time, face:face-features, signs:category-scores, poses:category-scores, ratings:move-ratings
out
params:synth-params, grid:cell-grid, status:chord-wheel-status, triad:number[]
params
enabled (boolean=false), moves (enum(diatonic | tonnetz)="diatonic"), hand (enum(right | left)="left"), point (enum(palm | indexTip)="palm"), radius (number=0.3), dead (number=0.07), reach (number=0.14), enterFrames (number=3), releaseS (number=0.4), gain (number=0.22), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="warmPad"), voicing (enum(spread | bassTriad | close | shell | power | voiceLed)="voiceLed"), rendering (enum(sustained | strum | arpUp | arpDown | arpUpDown | pulse | alberti)="sustained"), bpm (number=100), mirrorHandedness (boolean=false), steer (enum(hand | face | both | signs | categorizer)="hand"), faceMoves (object={}), categoryMoves (record={}), faceFrames (number=6), walk (boolean=false), walkBeats (number=1), tension (enum(off | function | tps | profile | rated)="off"), order (enum(fixed | likely)="fixed"), surprise (number=0), surpriseFrom (enum(dial | hand | face)="dial"), clock (enum(tempo | song | conductor)="tempo")

chord-chart Chord chart

Conduct a chord chart: the piece the conductor conducts, reduced to its chords beat by beat, walked by the conductor's beat; the chord in force sounds voice-led, its arpeggio stepping on his beats, holding through a fermata. Off by default.

roles
mapping, music
in
time:musical-time, doc:score-doc, leads:boolean, conductor:conductor-config, velocityScale:number, config:chord-chart-config, chordConfig:chord-config, octaveShift:number
out
params:synth-params, status:chord-chart-status, triad:number[]
params
enabled (boolean=false), step (number=1), gain (number=0.2), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="warmPad"), voicing (enum(spread | bassTriad | close | shell | power | voiceLed)="voiceLed"), rendering (enum(sustained | strum | arpUp | arpDown | arpUpDown | pulse | alberti)="arpUpDown"), bpm (number=100)

chord-strum-out Chord strum out

Sounds the chord map's strums (the chord's guitar voicing) on the audio clock at the time each was predicted for (WebAudio plucks from primitives, no samples).

roles
synth
in
notes:note-events, mute:boolean
out
—
params
timbre (enum(bass | guitar)="bass"), mono (boolean=true)

Sign language

Read ASL from the hand: the fingerspelled alphabet and a few words; A..G play chords of the key.

asl-signs ASL Signs

Hands → ASL signs: the fingerspelled alphabet and a few common words, a score per sign (two small MLPs over the hand landmarks).

roles
feature
in
hands:hands-frame, config:asl-config
out
reading:asl-reading, signs:category-scores, status:load-status
params
enabled (boolean=false), motion (boolean=true), vocabulary (enum(auto | letters | all)="auto"), minConfidence (number=0.45), smoothing (number=0.12), chords (boolean=false), holdChord (boolean=true)

sign-chord Sign Chord

ASL letters A..G → the diatonic chord of the key whose root has that letter name (accidentals of the key applied), voiced and rendered like the face chords.

roles
music
in
reading:asl-reading, spec:scale-spec, chordConfig:chord-config, octaveShift:number, config:asl-config
out
params:synth-params, triad:number[], captions:string[]
params
gain (number=0.3), letterDwellS (number=0.2), letterEvidence (number=0.02), sound (enum(sine | triangle | square | sawtooth | warmPad | glass | bell | organ | voice | softLead | strings | flute | brass | choir)="triangle"), voicing (enum(spread | bassTriad | close | shell | power | voiceLed)="spread"), rendering (enum(sustained | strum | arpUp | arpDown | arpUpDown | pulse | alberti)="sustained"), bpm (number=100)

Drawn pieces

Shapes drawn in the air with a pinch become drums and strings on the video, played by the fingertips (thorwhalen/thoremin-ar).

drawn-hands Drawn pieces: hands

Shape mode: a pinch draws a piece (closed is a drum, open a string) or grabs and moves one. Play mode: the fingertips hit, touch and pluck the pieces. Emits the live scene, finished edits for the dial, and contact events for the voice.

roles
feature, mapping
in
hands:hands-frame, config:drawn-pieces-config
out
scene:drawn-scene, edits:drawn-edit, contacts:drawn-contacts
params
—

drawn-voice Drawn pieces: voice

Sounds the drawn pieces: hits and plucks strike, touches hold until released; each stroke shaped by the piece's Feel and Tone (WebAudio from primitives, no samples).

roles
synth
in
contacts:drawn-contacts, config:drawn-pieces-config, scale:number[], mute:boolean
out
—
params
—

Song

Play a song to dance or play along to: its beat tracked in the browser, its tempo changed without its pitch (#186).

song-player Song Player

Plays the song loaded in the Song tool at a live rate with the pitch preserved, into the master bus, and publishes the song's beat as musical time.

roles
synth
in
song:song-handle, playing:boolean, play:number, rate:number, followRate:number, followPlaying:boolean, cue:song-cue, seek:song-seek, volume:number, holdFade:number, holdSlow:number, silent:boolean
out
status:load-status, position:number, rate:number, songTime:musical-time, seeked:number, jumps:number
params
minRate (number=0.5), maxRate (number=2), stretcher (enum(signalsmith | element)="signalsmith")

pace-controller Pace Controller

Makes the song follow the dancer: relates the dancer's pulse to the song's beat by an integer ratio and sets the song's rate (clamped around the player's tempo, nudged into phase, held when the dancer stops).

roles
music, control
in
pulse:pulse-state, song:musical-time, rate:number, base:number, range:number, lead:musical-time, offset:number, songHandle:song-handle, alignStart:boolean, songStatus:load-status
out
rate:number, pace:pace-state, playing:boolean, cue:song-cue, servo:servo-state
params
persistS (number=3), smoothS (number=1), nudge (number=0.03), phaseThreshold (number=0.08333333333333333), maxRatio (number=8), phaseOffset (number=0), songPeriodS (number=8), minRate (number=0.5), maxRate (number=2), horizonBeats (number=1), maxCorrection (number=0.25), seekBeyondBeats (number=2)

Synthesis & generation

Make sound — direct synthesis, steered AI music, or an external MIDI instrument.

webaudio-synth Web Audio Synth

Renders synth params to sound-preset voices (browser only).

roles
synth
in
params:synth-params
out
—
params
freqGlide (number=0.03), gainGlide (number=0.08)

orchestra Orchestra

The conducted score played by a sampled orchestra (spessasynth_lib + a cut MuseScore_General SF3): a pending-event scheduler on the conductor’s time, dynamics as CC11/CC74 on sounding notes. Off by default; loads only when switched on.

roles
synth
in
time:musical-time, velocityScale:number, articulation:number, conducting:boolean, doc:score-doc, config:conductor-config, claimed:boolean
out
status:load-status, playing:boolean
params
lookaheadTicks (number=2), staccatoDepth (number=0.5), brightnessDepth (number=0.5), ccInterval (number=0.05), dynamics (enum(raw | written)="written"), parts (array=[])

lyria Lyria Generative

Steers a generative engine (Lyria RealTime) from weighted prompts + config dials. Off by default; loads its SDK only when enabled, and needs a Gemini API key.

roles
synth, generate
in
steer:generative-steer, enabled:boolean, playing:boolean, volume:number
out
status:load-status
params
throttleSec (number=0.2)

midi-out MIDI Output

Sends the merged voices to a Web MIDI output as note-on/off + CC (WEBMIDI.js). Off by default; gracefully disabled where Web MIDI is unsupported (Safari/iOS).

roles
synth
in
params:synth-params, enabled:boolean, port:string, mute:boolean, muteFollowsMaster:boolean, claimed:boolean
out
status:midi-status
params
channel (number=1), fullVelocityGain (number=0.5), minVelocity (number=1), noteHysteresis (number=0.1), cc (object={"expression":11,"brightness":74,"vibrato":1,"pan":10})

Output

Audio + the captured video with overlaid guides.

canvas-overlay Canvas Overlay

Mirrored video + composable overlay elements (guides, landmarks, markers, cues), and the elements extensions contribute.

roles
overlay
in
hands:hands-frame, handsStatus:hands-status, features:hand-features, params:synth-params, scale:number[], scaleLeft:number[], chordScale:number[], chord:number[], faceFrame:face-frame, bodyFrame:body-frame, bodyStatus:body-status, expression:face-expression, categoryDegrees:category-degrees, categoryTargets:category-targets, octaveShift:number, overlayConfig:overlay-config, elements:string[], classifier1:category-scores, classifier1Captions:string[], categorizer1:category-scores, categorizer2:category-scores, categorizer3:category-scores, air.drumPads.hits:drum-hits, air.drumPads.hands:hands-frame, air.drumPads.config:air-drum-config, air.mouthCue.status:air-flute-status, air.mouthCue.config:air-flute-config, harmonic-layers.chordWheel.grid:cell-grid, harmonic-layers.chordWheel.config:chord-wheel-config, harmonic-layers.chordMap.grid:cell-grid, harmonic-layers.chordMap.config:chord-map-config, harmonic-layers.chordTorus.status:chord-map-status, harmonic-layers.chordTorus.config:chord-map-config, drawn-pieces.pieces.scene:drawn-scene, drawn-pieces.pieces.contacts:drawn-contacts, drawn-pieces.pieces.config:drawn-pieces-config, trainer-tool.hud.hud:trainer-hud-config, trainer-tool.hud.snapshot:trainer-hud-snapshot, conductor-tool.conductorHud.time:musical-time, conductor-tool.conductorHud.enabled:boolean, conductor-tool.conductorHud.config:conductor-config, feature-lab.meters.lab:feature-lab-config, feature-lab.meters.face:feature-vector, feature-lab.meters.hand:feature-vector, feature-lab.meters.body:feature-vector, physical-theremin.antennas.status:physical-theremin-status, physical-theremin.antennas.config:physical-theremin-config
out
—
params
video (object={}), scaleGuide (object={}), chordGuide (object={}), indexGuide (object={}), landmarks (object={}), markers (object={}), fingerLines (object={}), faceLandmarks (object={}), bodySkeleton (object={}), sourceStatus (object={}), cellGrid (object={}), timbreLevels (object={}), faceExpression (object={}), categoryLabel (object={}), categoryBars (object={}), fingerBars (object={}), chordName (object={}), keyboardStrip (object={}), tagHud (object={})