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.
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 |