Get Clip from ClipLauncherSlots

Post Reply New Topic
RELATED
PRODUCTS

Post

I've just started to create my own modified page for the Launchpad script, although a few hours in and I've hit a brick wall...

I was hoping to be able to query any clip in any slot for its length in beats, so that later I can update the loop start / length of the clips.

It doesn't look like there's any "getClip" method available in ClipLauncherSlots?

I would have assumed I could just getClip(slotIndex) and then call getPlaybackStop to get the BeatTime instance.

Hopefully I'm missing something obvious. Very grateful for any insights!

Thanks :)

Post

I am afraid that is one of the weirdnesses of the API...

Post

Thanks Moss, for your reply!

I had thought that maybe the case after reading through all the documentation!

I might email support with a request to open that up - even if there was a secondary interface which gave you a limited subset of methods for Clip, if there was a good reason for it's existing protection level!

Post

Try this to get to clip of a clipbank ?

getClipLauncher().getItemAt(x)

Post Reply

Return to “Controller Scripting”