mcp_opendaw_create_clave
Create an Afro-Cuban clave pattern—the 5-note rhythmic skeleton that defines the feel. Choose from son, rumba, bossa nova, or 6/8 claves with 3-2 or 2-3 direction.
Instructions
Create an Afro-Cuban clave pattern — the 5-note rhythmic skeleton that defines the feel.
The clave is not a drum pattern — it's a timeline pattern that all other rhythms align to. Every Afro-Cuban rhythm has a clave direction (3-2 or 2-3) that determines where the downbeats fall relative to the clave strokes.
clave_type: "son_3_2" — Son clave, 3-side first (forward clave). Beats: 0, 0.5, 1, 2.5, 3 "son_2_3" — Son clave, 2-side first (reverse clave). Beats: 0, 1.5, 3, 3.5, 4 "rumba_3_2" — Rumba clave, 3-side first. Last stroke shifted to 3.5 (and 2.5→2.66) "rumba_2_3" — Rumba clave, 2-side first. "bossa_nova" — Bossa nova clave. Beats: 0, 2.5, 3, 4.5, 5 (over 2 bars) "6_8" — 6/8 Afro-Cuban clave. 5 strokes across 2 bars of 6/8.
bars: Pattern length in bars (2 for son/rumba, 2 for bossa, 2 for 6/8). pitch: MIDI pitch for clave strokes (76 = high wood block). velocity: Velocity 0-1. duration: Note duration in beats.
Returns notes created, clave type, and direction (3-2 or 2-3).
Example: create_clave(clave_type="son_3_2", track_index=0) create_clave(clave_type="bossa_nova", track_index=1)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| pitch | No | ||
| duration | No | ||
| velocity | No | ||
| clave_type | No | son_3_2 | |
| start_beat | No | ||
| unit_index | No | ||
| track_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |