bitwig_insert_sample
Load a WAV, AIFF, or FLAC file as a sampler device on an instrument or hybrid track, at the chain end or before a chosen device, and confirm Bitwig reports the loaded sample.
Instructions
Load an audio file (absolute path to WAV, AIFF or FLAC) as a new sampler device on one exact instrument or hybrid track, at the end of the chain or right before one device, and confirm Bitwig reports the loaded sample.
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>",
"path": "<path>"
},
"name": "bitwig_insert_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path on this computer | |
| trackId | Yes | Track id from bitwig_tracks; it stays the same when the track is renamed or moved | |
| beforeDeviceName | No | Exact name of that device; required with beforeDeviceIndex as a safety check | |
| beforeDeviceIndex | No | Insert right before this device (index from bitwig_devices); default is the end of the chain |