mcp_opendaw_apply_velocity_lfo
Apply periodic velocity modulation to notes using an LFO waveform, creating repeating dynamic patterns like pumping or breathing. Control rate, depth, shape, phase, and center velocity.
Instructions
Apply periodic velocity modulation — velocity LFO along note positions.
Oscillates note velocity cyclically based on each note's position, creating pumping, breathing, or wave-like dynamic motion. Unlike apply_velocity_curve (monotonic ramps), this creates REPEATING velocity patterns synced to beat positions.
Args: unit_index: Audio unit index track_index: Note track index rate: LFO cycles per beat (0.25=every 4 beats, 1.0=per beat, 2.0=twice per beat, 0.5=every 2 beats) depth: Modulation depth 0-1 (0=no change, 0.3=subtle breathing, 1.0=full swing from 0 to max) shape: LFO waveform — "sine" (smooth), "triangle" (linear), "saw" (ramp up), "square" (on/off), "random" (per-beat random) phase: Starting phase 0-1 (0=begin at peak, 0.25=begin at zero rising, 0.5=begin at trough, 0.75=begin at zero falling) center: Center velocity around which modulation oscillates (0-1). The LFO modulates ±depth*center around this value. region_index: Specific region (-1 = all regions)
Returns: JSON with notes_processed, modulation stats (min/max/avg velocity before and after), regions_processed, rate, depth, shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | ||
| depth | No | ||
| phase | No | ||
| shape | No | sine | |
| center | No | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |