device_action
Run type-specific actions on Ableton Live devices—racks, Drum Racks, Simpler, Looper, Wavetable, plug-ins, and A/B devices—by passing track, device, action, and named args.
Instructions
Run a type-specific device function; args holds its named arguments.
Racks: insert_chain(index, name, note), add_macro, remove_macro, randomize_macros, store_variation, recall_variation(index), recall_last_variation, delete_variation(index). Drum Racks: copy_pad(source, destination), delete_chains(pad), to_midi_track(pad, name). Simpler: crop, reverse, warp_as(beats), warp_double, warp_half, replace_sample(file_path), guess_playback_length, insert_slice/remove_slice (time in frames or seconds), move_slice(time, to), clear_slices, reset_slices, to_drum_rack. Looper: record, overdub, play, stop, clear, undo, double_length, half_length, double_speed, half_speed, export_to_clip_slot(track, slot). Wavetable: get_modulation(target, source), set_modulation(target, source, value), add_parameter_to_modulation_matrix(parameter). Plug-ins: parameter_names(begin, end). A/B devices: save_ab_slot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| track | Yes | ||
| action | Yes | ||
| device | Yes |