How to react to a started clip recording?

2.26K viewsGeneral
0

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?

admin Changed status to publish
Attached Files:
0

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?

admin Changed status to publish
Attached Files:
You are viewing 1 out of 5 answers, click here to view all answers.