How to add listener for current clip slot
Hi, I am trying to build a Reaction that listens for the current clip slot to have a clip or not have a clip. I want to send LED feedback to my controller’s delete clip button to tell it to light up if the current clip slot has a clip in it, and to turn off if the clip slot doesn’t have a clip (or after I click delete and it no longer has a clip).
I think I have my Actions working correctly, but I can’t figure out how to write a Listener that notices if the current slot has a clip?
Hello infinitystairs,
Try as listener:
self.song().view.add_detail_clip_listener
and for condition 1 (when clip is empty):
self.song().view.highlighted_clip_slot.has_clip == False
condition 2 (when clip has audio or midi):
self.song().view.highlighted_clip_slot.has_clip == True
Success!
Sign up
User registration is currently not allowed.