Create Clip Using Ableton Live Python API

not sure if this is frowned upon or not, but I was trying to do the same thing, and apparently it’s now possible to create a clip using Live.ClipSlot.ClipSlot.create_clip()

from julienbayle.net/PythonLiveAPI_documentation/Live9.1.xml (Decompiled Live 9.1 API)

Live.ClipSlot.ClipSlot.create_clip() Method

create_clip( (ClipSlot)arg1, (float)arg2) -> None :

Creates an empty clip with the given length in the slot. Throws an error when called on non-empty slots or slots in non-MIDI >tracks. C++ signature : void create_clip(TPyHandle,double)

Read more here: Source link