load_drum_pad
Loads an audio file onto an Ableton Drum Rack pad, creating a Simpler for empty pads and staging external samples without overwriting.
Instructions
Load a file onto a Drum Rack pad, including creating an empty pad's Simpler.
Empty pads need a saved project. External files are staged under Samples/Imported/Maestro without overwriting files. Existing layered/non-Simpler pads are refused. The source bytes, attack marker and Warp state are verified; percussion uses one-shot mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | True carries the removal out. False changes nothing and returns a report of what the call would remove, which is how to look before committing to it. | |
| pad_note | Yes | Pad MIDI note, such as GM kick 36. | |
| rack_path | Yes | Drum Rack device path on a track. | |
| audio_path | Yes | Local one-shot file. | |
| attack_sample | No | PCM WAV frame at the attack; removes pre-roll from playback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||