bitwig_read_clip
Reads one launcher clip on a specified track, returning its name, color, loop, play state and notes with velocity, duration and timing. Use it to inspect clip content before arranging or editing.
Instructions
Read one launcher clip on one exact track: name, color, loop, play state, and its notes with velocity, duration, channel, timbre, pan, gainDb and mute. gainDb is null when Bitwig reads 0: the note's gain was never set (it plays at 0 dB) or it is -inf; the API cannot tell these apart. Note starts are read on the stepsPerBeat grid; a note between two steps reads back at the step it starts in, so use a finer grid to keep off-grid timing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trackId": "<trackId>"
},
"name": "bitwig_read_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | First note to return, for clips with more notes than limit | |
| trackId | Yes | Track id from bitwig_tracks; it stays the same when the track is renamed or moved | |
| slotIndex | No | Launcher slot (scene) index, 0-based | |
| stepsPerBeat | No | Grid resolution for note starts in steps per beat (4 = 1/16 at 4/4, 96 for fine timing). Every note start must lie on this grid. Clip span × stepsPerBeat may not exceed 16384 |