generate_notes
Compose MIDI notes into an Ableton Live clip from drum, chord, bass, or melody generators in one undo step.
Instructions
Compose notes into a MIDI clip from a generator, in one undo step. address: a MIDI clip (create one with create kind midi_clip; the result warns if the music runs past its loop end); generator + params. Generators: euclidean, drum_pattern, chord_progression, bassline, melody, scale_run, random_notes. Use generator 'help' for every generator's parameters (keys, chord progressions by roman numeral or symbol, drum step strings, seeds...). start_time offsets everything (beats). mode: add (default; keeps existing notes), replace_span (replaces notes inside the generated span) or replace_all. dry_run previews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default add | |
| expect | No | Guard: {"name": "..."} must match the clip | |
| params | No | The generator's parameters (see the list in the tool description) | |
| address | No | A MIDI clip, e.g. 'tracks/2/slots/0/clip' | |
| dry_run | No | Preview the result without changing the clip | |
| generator | Yes | Which generator (help lists them all with parameters) | |
| start_time | No | Beat where the generated music starts (default 0) |