add_personality
Generate a MIDI part in the style of a chosen personality into an existing clip. Select from over 30 artist-like styles and control chord progression, tempo, and octave.
Instructions
Generate a part in the style of a named personality and write it into an
existing MIDI clip. The personality's role (solo / comp / bass / drums)
determines what kind of part is generated — see list_personalities.
Parameters:
track_index, clip_index: target clip (must already exist)
personality: one of the keys returned by
list_personalitieschord_progression: list of chord symbols, e.g. ["Cm","Ab","Eb","Bb"]. Drum personalities ignore chord content but still use the length.
bars_per_chord: how many 4/4 bars each chord lasts (default 1)
tempo: BPM for tempo-aware generation. If omitted, the current session tempo is queried via
get_session_info. The personality's profile will warn (but still produce output) if this is outside its comfortable range, and generators will scale density / swing to compensate.octave_offset: shift the personality's natural register up/down N octaves
seed: optional RNG seed for reproducible output. Default
None= a different solo every call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_index | Yes | ||
| personality | Yes | ||
| chord_progression | Yes | ||
| bars_per_chord | No | ||
| tempo | No | ||
| octave_offset | No | ||
| seed | No |