mcp_opendaw_create_hocket
Distribute a single melody across multiple voices or tracks using hocket technique. Supports alternate, pair, and phrase split modes.
Instructions
Create a hocket — single melodic line split between voices/tracks.
Hocket (from Latin "hoquet" = hiccup) is a technique where a single melody is divided between two or more voices. Each voice plays only every other (or every Nth) note, creating an interlocking texture. Found in medieval polyphony (Notre Dame school), African mbira music, Balinese gamelan, and modern minimalist composition (Steve Reich).
melody: Comma-separated MIDI pitches forming the complete melodic line. voices: Number of voices to split between (2-4, default 2). split_mode: How notes are distributed: "alternate" — round-robin (note 0→voice 0, note 1→voice 1, ...) "pairs" — pairs of notes per voice (2 per voice, then switch) "phrase" — 4-note phrases per voice unit_index: AU index with note tracks (-1 = find AU with enough note tracks). track_index: Starting note track index (uses consecutive tracks for voices). start_beat: Position in beats where the hocket begins. note_duration: Duration of each note in beats (default 0.5 = eighth notes). velocity: Velocity of all notes (0-1, default 0.7).
Returns notes created, voice assignment, total duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| melody | No | 60,62,64,65,67,65,64,62 | |
| voices | No | ||
| velocity | No | ||
| split_mode | No | alternate | |
| start_beat | No | ||
| unit_index | No | ||
| track_index | No | ||
| note_duration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |