How to react to a started clip recording?
I want to set some parameters as soon as a clip started recording.
So I store the clip id and track id in modifiers.
I created a second reaction and added a listener:
self.song().tracks[self.get_modifier_value("m1")].clip_slots[self.get_modifier_value("m2")].clip.add_is_recording_listener
This reaction never gets fired. I believe that using modifiers doesn’t work with listeners. So why can I use modifiers for listeners?
I also tried to add a listener that fires as soon as the clips of a track changed:
self.song().tracks[0].add_clip_slots_listener
This also never fires..
Can someone confirm that behaviour?
Are you seeing any errors in the log when you try to use this?
No. No errors, warnings. Nothing at all.
Can you try it on your own and share a script that should work and outputs a message to the log as soon as a new clip records?
Here is a minimal script that should fire in my opinion as soon as a new clip is created on the first track. But nothing happens at all.
I tried it with another listener:
self.song().tracks[0].clip_slots[0].add_has_clip_listener
self.song().tracks[0].clip_slots[1].add_has_clip_listener
fires if a clip is created on first track in the first 2 slots.
But when I add a listener like that:
self.song().tracks[0].clip_slots[self.get_modifier_value("m1")].add_has_clip_listener
And change the value of m1 for example to 1 then the listener only fires if I create a clip in the first slot. So the listener seems not to update to other slots if I change the modifier.
Pleeeeeaaaaase dear admins. Can you start to help?
Is this a duplicate of this post? https://remotify.io/community/question/problem-listeners-and-modifierscu…
Sign up
User registration is currently not allowed.