save_motif
Save a theme’s notes and rhythm as a reusable motif in creaper, storing its key so you can place it into other songs or projects and transpose it later.
Instructions
Saves a motif (a theme's notes and rhythm) to reuse in other songs and projects, like a film or game score's leitmotif: place_motif puts it back in any key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ...up to here | |
| key | Yes | The key it's in, e.g. 'C minor' (so it can move to other keys) | |
| name | Yes | e.g. 'Earthfall title motif' | |
| start | No | Only notes from here (QN from the item start) | |
| item_id | Yes | MIDI item id from create_midi_item/get_track_details, or "selected" | |
| overwrite | No | ||
| description | No | What it's for, e.g. 'the game's signature; reuse in battle and victory' |