mcp_opendaw_map_velocity_by_pitch
Adjust MIDI note velocities proportionally to pitch position for natural-sounding dynamics. Choose from modes like higher_quieter or bell curve to simulate acoustic instrument behavior.
Instructions
Map velocity based on pitch — expressive dynamics from note height.
Adjusts note velocity proportionally to pitch position. High notes get quieter, low notes get louder (or vice versa). This simulates natural acoustic instrument behaviour where register affects perceived intensity.
Modes:
"higher_quieter" — high notes quieter, low notes louder (piano natural, orchestral mockups). Default. Kick drum louder than hi-hat.
"lower_quieter" — low notes quieter, high notes louder (lead synth patches, bell-like timbres where highs cut through).
"bell_curve" — loudest in the middle register, quieter at extremes (vocal range, mid-range instruments like guitar/violin).
"inverse_bell" — quietest in the middle, louder at extremes (experimental).
intensity: 0-1, how much pitch affects velocity (0 = no change, 0.5 = moderate, 1.0 = full effect). At 0, velocities are unchanged.
The formula for "higher_quieter": relative_pos = (pitch - pitch_ref) / 48 (48 = 4 octaves range) factor = 1.0 - relative_pos * intensity new_vel = current_vel * factor (clamped to min/max)
pitch_ref: MIDI pitch that serves as the neutral point (no change). 60 = C4 (middle C). Adjust for your instrument's register.
Use cases:
Make flat MIDI velocities sound more natural (piano, orchestra)
Drum kits: kick (low pitch) louder than hi-hat (high pitch)
Lead synth: highs cut through more (lower_quieter)
Vocal range emphasis (bell_curve around pitch_ref=64)
unit_index: AU index. track_index: Note track index. region_index: Region (-1 = first, -2 = all regions). mode: higher_quieter / lower_quieter / bell_curve / inverse_bell. intensity: 0-1, strength of pitch-to-velocity mapping. min_velocity / max_velocity: Clamp range. pitch_ref: Neutral pitch (default 60 = C4).
Returns modification summary with per-octave velocity stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | higher_quieter | |
| intensity | No | ||
| pitch_ref | No | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| max_velocity | No | ||
| min_velocity | No | ||
| region_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |