mcp_opendaw_quantize_velocities
Quantize note velocities to discrete stepped levels for uniform dynamics or restoring clean velocity tiers from performance data.
Instructions
Quantize note velocities to discrete stepped levels.
Snaps each note's velocity to the nearest of N evenly-spaced levels, like MPC 16-level mode or stepped dynamics. Great for creating uniform, robotic feel (techno, industrial) or restoring clean velocity tiers from humanized performance data.
Args: unit_index: Audio unit index (from list_tracks) track_index: Note track index within the unit levels: Number of velocity steps (2-128). 2 = on/off, 4 = pp/p/mf/f, 8 = classical dynamics, 16 = MPC classic, 32 = fine control. mode: "snap" = nearest level, "floor" = round down to level, "ceil" = round up to level, "round_random" = probabilistic round (coins flip for half-values) min_velocity: Floor for the quantized range (0.0-1.0) max_velocity: Ceiling for the quantized range (0.0-1.0) region_index: Specific region to process (-1 = all regions)
Returns: JSON with per-region stats: notes_processed, velocity distribution across levels, original avg, new avg, changes count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | snap | |
| levels | No | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| max_velocity | No | ||
| min_velocity | No | ||
| region_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |