assign_sample_file
Assign an audio file to all clips on a sample track in LMMS by specifying the track index and file path, using relative paths for built-in samples or absolute paths for custom files.
Instructions
Assign an audio file to all clips on a sample track.
Use relative paths for LMMS's built-in samples (e.g. "drums/kick01.ogg") or absolute paths for your own files.
Args: track_index: Index of the sample track file_path: Audio file path (WAV/OGG/MP3/FLAC)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |