π΅ MIDI Domain
21-dimensional MIDI state space β notes, pitch bend, 11 CC controllers, tempo map, time signatures, key signatures, and more. The reference implementation of the MuseDomainPlugin protocol.
β Dimensions 21
Each dimension is independently mergeable β two agents editing different dimensions of the same snapshot never produce a conflict.
Chord progressions and tonal centre analysis
Rhythmic density, groove, and syncopation
Melodic contour, range, and motif detection
Velocity curves and dynamic range
Section form and macro structure
BPM and tempo map evolution
Key signature detection and modulation
Time signature and metric complexity
Swing, feel, and micro-timing
8-axis valence/arousal emotion map
Recurring melodic and rhythmic motifs
Formal structure (AABA, verse/chorus, etc.)
Pitch bend envelope per channel
Polyphonic aftertouch per note
CC1 modulation wheel data
CC7 channel volume envelopes
CC10 stereo panning
CC11 expression controller
CC64 sustain pedal events
CC91 reverb send levels
CC93 chorus send levels
β CLI Commands
$ muse analyze $ muse diff $ muse listen $ muse arrange $ muse piano-roll $ muse groove-check $ muse emotion-diff
β‘ Agent & MCP Integration
Agents can discover and use this domain through the MuseHub MCP server β no configuration needed.
// MCP tool β preferred for AI agents musehub_get_domain(scoped_id="@cgcardona/midi") // REST API β for programmatic access GET /api/v1/domains/@cgcardona/midi GET /api/v1/domains/@cgcardona/midi/repos // Human URL (also serves JSON via ?format=json or Accept header) GET /domains/@cgcardona/midi?format=json // MCP resource URI muse://domains/cgcardona/midi // Create a repo using this domain musehub_create_repo( name="my-project", owner="myuser", domain="@cgcardona/midi" )