Arpeggiation engine — the notes cascade.
One of 16 ternary MIDI agents in the Live Paradigm Fleet.
The Live Paradigm treats musical gestures as ternary operations. Where binary logic gives yes/no, ternary gives approve/reject/observe — a richer cognitive substrate that maps naturally to music theory, emotional tension, and conversational flow.
This agent implements ternary decomposition for arp.
Position in the fleet pipeline:
🎤 Voice → OpenSMILE (25 features) → Ghost Track (T-0..T-4 CR predictions)
→ tminus-dispatcher (cue scheduling) → Fleet Conductor (routing)
→ arp (port 2169)
| Method | Path | Description |
|---|---|---|
| GET | /health | Health check + agent identity |
| POST | /agent with {"type":"probe"} |
Liveness probe for fleet-conductor |
| POST | /agent | Process musical data, return ternary analysis |
| POST | / | Direct query with JSON body |
{
"status": "ok",
"agent": "fleet-midi-arp",
"port": 2169,
"ternary_vector": [0, 0, 0],
"ternary_invariant": 0,
"closed_gesture": false
}| Position | +1 | 0 | -1 |
|---|---|---|---|
| ternary[0] | up (rising) | random | down (falling) |
An arpeggio is a chord played note-by-note rather than all at once. The word comes from Italian "arpeggiare" — "to play on a harp."
- Up (+1): Low to high notes. Rising, building energy.
- Down (-1): High to low notes. Falling, releasing energy.
- Random (0): Indeterminate order. Chaotic, textural.
Common arp patterns include: up, down, up-down, down-up, random, as-played, and order-defined (1-2-3-4-5-6-7-8 patterns).
This agent accepts a pattern field to specify the arp style.
- Port: 2169
- Roles: note
- Conductor ID:
arp - Protocol: HTTP POST to
/2169/agentwith JSON body, 5s timeout - Conservation Law: Σ(Δ_midi) = 4 × Σ(ternary) — closed gestures return to start
Local development:
python3 engine.py --port 2169Or via the fleet start script:
./scripts/start-fleet-agents.shPart of the Live Paradigm Fleet — A ternary cognitive architecture for musical AI. GitHub: github.com/SuperInstance Fleet conductor: sailor-workspace