sampler_set
Configure an audio clip's sampler playback mode, root note, transpose, reverse, and envelope; omitted settings stay unchanged, and edits are undoable.
Instructions
Change how an audio clip's sampler plays (fields left out stay): playback_mode one_shot, loop, slice, gate, granular, warp; root note, transpose in semitones, reverse, envelope (attack/decay/release ms, sustain 0-1). Undoable.
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": {
"track": "<track>",
"slot": "<slot>"
},
"name": "sampler_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | 0-based clip slot (scene row) on the track. | |
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). | |
| reverse | No | Play backwards. | |
| sustain | No | Sustain level. | |
| decay_ms | No | Decay. | |
| attack_ms | No | Attack. | |
| root_note | No | Note that plays the sample unshifted. | |
| transpose | No | Semitones. | |
| release_ms | No | Release. | |
| playback_mode | No | How the clip plays. |