🔥 Lifetime deal! Get Control Surface Studio for Just £67 👉 Click Here To Get It
Time left... mailtimers.com
⚠️ Lifetime licenses are ending soon, get yours before they're gone ⚠️
Your shopping cart is empty.

Bug in reactions: Clip Slot (Solved, no bug)

Submitted by mees on Wed, 05/10/2023 - 21:17
mees
Control Surface Studio User

Hi! I've only been using CSS for a day so no idea if it's me or a bug, but I can't get the Clip Slot functions to work on Live 11.2.11 through the dropdowns.

The code that gets outputted results in a NoneType log and starts with self.song().tracks[0].clip_slots[0] ....

While I think it should be self.song().view.highlighted_clip_slot ...

For example; only the top code works, while the program itself is giving the bottom code:

self.song().view.highlighted_clip_slot.is_playing == True (Working)
self.song().tracks[0].clip_slots[0].is_playing == True (Not working, but system output)

Topic Category: 

4 Responses

Comments

JohnC
Forum Admin
#1

Hi,
This one refers to the currently highlighted clip slot
self.song().view.highlighted_clip_slot.is_playing

Where as this one refers to the clip slot at position 0, 0 (left, top)
self.song().tracks[0].clip_slots[0].is_playing
Changing tracks[0] to i.e. tracks[1], will change it to track 2 in your session
And changing clip_slots[0] to clip_slots[1] will change to scene 2.

mees
Control Surface Studio User
#2

Thanks for the response! I figured something like that, but I got the self.song().tracks[0].clip_slots[0]...... code through Reactions -> Actions -> Scrub, for example. Shouldn't this result in the scrubbing of the selected track, rather than track 0,0?

If not, how should I program my reactions to work for the selected track?

mees
Control Surface Studio User
#3

To be precise:

"Reactions -> Actions -> Live Obect Model > Clip > Scrub" results in "self.song().tracks[0].clip_slots[0].clip.scrub(1)"

mees
Control Surface Studio User
#4

Nevermind, I was stupid and didn't notice the hand on the left side that allows you to put the highlighted clip in the action