item_create_midi
Create an empty MIDI item on a specified track with start time and length, then get its global index for further use.
Instructions
Create an empty MIDI item on a track. Returns the item's global index.
Args: track_index: 0-based track index. position: Item start time in seconds (>= 0). length: Item length in seconds (> 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| position | No | ||
| track_index | Yes |