tracks_create
Add a new MIDI or audio track to the end of the arrangement, optionally assigning an instrument or name. Returns the created track and supports undo.
Instructions
Add a track at the end. kind 'midi' plays notes through an instrument: pass an instrument from instruments.list: a builtin URI or an installed plugin (its uri = path, or its name). Without one the track is silent. Plugins load in the background: their parameters show in params.list a moment later. kind 'audio' plays samples. Returns the new track. Undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Track type. | |
| name | No | Track name (default: the instrument's name). | |
| instrument | No | instruments.list uri (builtin or plugin) or plugin name (MIDI only). |