duplicate_clip_to_arrangement syntax/arguments
Attempting to put together a simple utility using the api function "duplicate_clip_to_arrangement".
Can't seem to get the arguments formatted properly and get "invalid arguments" messages in the max window.
So example scenario:
I have 1 clip on track 2 in clip slot 1.
I point the live.path/live.object to "live_set tracks 1"
then send this message to live.object:
"call duplicate_clip_to_arrangement 0 4.5"
Where 0 is the index of the clip and 4.5 represents the arrangement destination_time in beats.
I've also tried using the clip id # and a whole bunch of other goofy ways to get this to work.
Any ideas? Thank you in advance!
Using the clip id works for me.
Thank you Broc! That works wonderfully!
I wasn't using the actual clip id, I was just using the clip_slot id. Was one branch to high in the tree.