music_generate_bass
Generate a deterministic root-only MIDI bass line from a root note and seed, optionally applying it to an Ableton clip in one undo step.
Instructions
Generate a deterministic root-only bass line, optionally into a clip.
Side effects: none unless apply is true, which creates one clip and its
notes in a single undo step.
Example: music_generate_bass(bars=4, seed=7, root_midi=40) returns an E
bass line without touching Live.
Edge cases: every note is root_midi in some octave, folded back into
the MIDI range, octave leaps from weirdness included. traits behaves
exactly as it does for the drum groove.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| seed | No | ||
| apply | No | ||
| traits | No | ||
| root_midi | No | ||
| clip_index | No | ||
| track_index | No |