mcp_opendaw_subdivide_notes
Subdivide each note in a region into smaller equal parts to create rhythmic fragmentation, triplets, or sixteenth patterns. Customize pitch and velocity per subdivision.
Instructions
Subdivide each note in a region into N smaller notes.
Splits every note into subdivisions equal parts. Useful for
diminution (quarter → 2 eighths), rhythmic fragmentation,
and creating faster passagework from longer notes.
Args: unit_index: Audio unit index track_index: Note track index region_index: Region index (-1 = first region) subdivisions: Number of parts per note (2-16). 2=diminution, 4=sixteenth fragmentation, 3=triplet subdivision. pitch_pattern: Pitch variation per subdivision — "same" = keep original pitch, "scale_up" = ascend scale degrees within the octave, "scale_down" = descend scale degrees, "octave_up" = alternate original and octave up, "octave_down" = alternate original and octave down, "chromatic_up" = semitone steps up, "chromatic_down" = semitone steps down. velocity_pattern: Velocity variation per subdivision — "same" = keep original velocity, "decrescendo" = fade from full to half, "crescendo" = build from half to full, "accent_first" = first sub-note accented, rest softer, "accent_last" = last sub-note accented, "alternating" = strong-weak-strong-weak pattern. accent_first: If True, first subdivision note keeps full velocity (traditional articulation). Overridden by velocity_pattern. dest_track_index: Destination track (-1 = same track). Original notes are replaced in place when same track.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | Yes | ||
| track_index | Yes | ||
| accent_first | No | ||
| region_index | No | ||
| subdivisions | No | ||
| pitch_pattern | No | same | |
| dest_track_index | No | ||
| velocity_pattern | No | same |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |