Custom module : /EDIT instruction updates all clones

Hi,

I am creating dynamically a set of faders (depending on the selected track in Logic and an XML param files). Faders are clones of fader_0, all with a separate ID (fader_1, fader_2, fader_3, etc.) and are generated from a matrix widget.

I'm using custom module to retrieve MIDI messages from external midi devices and update the widget value accordingly (so that my faders on screen follow my device).

When I'm sending values using /EDIT command to fader clones (fader_1 to fader_n), I have no issue: each matching fader is updated.
But when I'm addressing /EDIT to fader_0, then all faders are updated with the value (the original takes over the clones).

Are you aware of something similar?
Best regards,

That's the correct behavior I'm afraid. As a workaround you could change the original fader's id to something like fader_-1 or fader_original and make fader_0 and so on derivate from it, then there should be no need to /EDIT the original fader.

Thanks a lot for the super quick and accurate answer.
I was afraid I did something wrong.
I'll find a workaround. :wink:

Thanks again 100x for making Open Stage Control btw.

1 Like