replace_simpler_sample
Replace a Simpler's sample with any local audio file by providing track index, device index, and absolute path. Confirms target and preserves the original set; use for swapping musical content safely.
Instructions
Replace a Simpler sample with an absolute local audio-file path. Requires Live 12.4+ AND runtime API support; otherwise fails before writing. Replaces musical content: confirm the target and preserve the original set. Readback is not an audio audition.
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_index": "<track_index>",
"device_index": "<device_index>",
"path": "<path>"
},
"name": "replace_simpler_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| track_index | Yes | Zero-based index of a regular track in the Live set. | |
| device_index | Yes | Zero-based device position in the target track's device chain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |