Set sample
set_sampleLoad a sound (an id from list_sounds) into a sampler module. Then trigger it with its gate input (from a Trigger Seq, a Note Grid or MIDI→CV) and choose how it plays with set_param "mode": 0 one-shot (drums), 1 hold (plays while the gate…
Instructions
Load a sound (an id from list_sounds) into a sampler module. Then trigger it with its gate input (from a Trigger Seq, a Note Grid or MIDI→CV) and choose how it plays with set_param "mode": 0 one-shot (drums), 1 hold (plays while the gate is high), 2 loop (synced to the clock).
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": {
"id": "<id>",
"sound": "<sound>"
},
"name": "set_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sound | Yes |