Hi, new here. Couldn't find answers to these, so decided to ask.
-
What's the difference, in terms of resources and performance, between cloning and pasting (or rather pasting id + 1)?
-
Do i understand the intent for/difference between cloning, cloning + parameters overriding and copy-pasting (id + 1) correctly as a continuum: if you want to have similar widgets, but completely decoupled, without recreating it, you use paste id + 1; if you want to have complete coupling, you use cloning and if you want to have something between - like same look, but reacting to/sending different osc messages, you use cloning + parameters overriding?
-
How is the decoupling actually done? Or rather, how is it done fore composite widgets? I'm able to decouple simple buttons overriding id parameter in props - though it's kinda confusing: now the cloned widget has it's own id parameter & widgetId parameter (for coupling) - which makes sense, but you also have to specify another id in props to decouple it's value on top of specifying value parameter in props, which makes it complicated to me. Wouldn't it suffice to just set the value in props? Btw., what does this mean: " * If they share the same
id
: in this case, the synchronized widget doesn't send any osc/midi message. This case is mostly used for widget cloning." - it's taken from documentation; what id does it refer to? The one set in widgets settings or the one in props? Or? -
What's the difference between send and receive functions in custom modules? It seems they both are sending messages to client widget, which is bit confusing. I've also seen sendOsc and receiveOsc (or something like this), but didn't try them. What's their purpose and difference compared to send and receive?
Btw, i like OSC - looks quite capable, just having some overall picture of it's components, their purpose and relations would really help. Thanks.