mcp_opendaw_augment_notes
Augment or diminish note durations by a factor to apply classical motivic transformations, such as in Bach fugues and Beethoven symphonies.
Instructions
Augment or diminish note durations — the fourth classical transformation.
Multiplies note durations by a factor. Combined with transpose, reverse, and invert, this completes the set of four fundamental motivic transformations used by Bach, Beethoven, and every composition teacher since.
factor > 1.0: augmentation (longer notes, slower feel). 2.0 = double duration.
factor < 1.0: diminution (shorter notes, faster feel). 0.5 = half duration.
factor = 1.0: no change (useful for testing).
Think Beethoven 5th: the opening G-G-G-Eb motif returns augmented (twice as slow) in the recapitulation. Or Bach fugues where the subject appears in diminution (twice as fast) in the finale.
factor: Duration multiplier (0.25-4.0). 2.0 = augmentation, 0.5 = diminution. unit_index: AU index. track_index: Note track index. region_index: Region index (-1 = all regions on the track). mode: How to handle note positions — "scale" (default): multiply both duration AND position relative to region start. The entire phrase slows down or speeds up — notes stay in sequence. "stretch": multiply only duration, leave positions unchanged. Notes become longer/shorter but don't move — may overlap or leave gaps.
Returns count of notes augmented and notes skipped (duration too short/long).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | scale | |
| factor | Yes | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |