clip_slots[x].has_clip = 0 is not working

94 viewsCSS Bugsclip slot
0

Hi!

I want to check if there is a clip in a clip slot.

And i see that this value:

clip_slots[x].has_clip

can have only value = 1

it never gives value = 0

…..

i want to transfer that parameter with midiSysex

but i do net sends anything when there is no clip in a clip slot….

Glenn Verhaeghe Answered question July 15, 2024
0

Hi,

I made a Reaction that Loops through the Clip Slots of the Highlighted Track and logs if the Clip Slot has a Clip (see added json file). Following line of code was used:

self.song().view.selected_track.clip_slots[loop_number].has_clip

Image of the Track I used it on:

Image of the logged output:

Glenn Verhaeghe Answered question July 15, 2024
Attached Files: