apply_midi_velocity_curve
Apply a MIDI velocity curve to selected notes, setting crescendo, decrescendo, fixed, or accent velocities while preserving timing, pitch, and other metadata. Plan first, then confirm to execute.
Instructions
Plan or apply a guarded MIDI velocity curve while preserving timing, pitch, duration, probability, and expression metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curve | Yes | Exact crescendo, decrescendo, fixed, or repeating accent target. | |
| clipId | Yes | Stable clip ID: track-N:clip-M from list_clips, or track-N:arrangement-clip-M from list_arrangement_clips for tools that support Arrangement clips. | |
| dryRun | No | Omit or true to return a plan; false requires a valid confirmationToken. | |
| noteIds | Yes | Unique stable note IDs at complete selected onsets. | |
| trackId | Yes | Stable track ID returned by list_tracks. | |
| planHash | No | Hash returned by the matching dry run. | |
| confirmationToken | No | Short-lived, single-use token returned by the matching dry run. | |
| expectedStateVersion | Yes | Exact stateVersion observed immediately before planning. |