From 4c4d60e837f598cff903cf3cee1a85cd50b5d0a9 Mon Sep 17 00:00:00 2001 From: PhotonicVelocity Date: Wed, 28 Jan 2026 13:04:41 -0800 Subject: [PATCH] Add create_audio_clip for clip slots --- README.md | 1 + abletonosc/clip_slot.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 083bb8d..47318b7 100644 --- a/README.md +++ b/README.md @@ -333,6 +333,7 @@ A Clip Slot represents a container for a clip. It is used to create and delete c |:------------------------------------|:---------------------------------------------------------------|:-----------------------------------------|:------------------------------------------------| | /live/clip_slot/fire | track_index, clip_index | | Fire play/pause of the specified clip slot | | /live/clip_slot/create_clip | track_index, clip_index, length | | Create a clip in the slot | +| /live/clip_slot/create_audio_clip | track_index, clip_index, file_path | | Create an audio clip from file in the slot | | /live/clip_slot/delete_clip | track_index, clip_index | | Delete the clip in the slot | | /live/clip_slot/get/has_clip | track_index, clip_index | track_index, clip_index, has_clip | Query whether the slot has a clip | | /live/clip_slot/get/has_stop_button | track_index, clip_index | track_index, clip_index, has_stop_button | Query whether the slot has a stop button | diff --git a/abletonosc/clip_slot.py b/abletonosc/clip_slot.py index bfda31b..7bf6783 100644 --- a/abletonosc/clip_slot.py +++ b/abletonosc/clip_slot.py @@ -28,6 +28,7 @@ def clip_slot_callback(params: Tuple[Any]): "fire", "stop", "create_clip", + "create_audio_clip", "delete_clip" ] properties_r = [