
SYNC SHAPES (GUI)
-------------------

Syncs two or more shapes *for manual editing* so that they will always have same number of nodes and identical X positions but independent Y values.
More Sync Shapes modules can be cascaded bridging three or more Patch Memories, for (virtually) multi-dimensional shapes.


Every module instance shall be connected to two Patch Memories and to two Shape Editors.
Mouse Down A and B pins shall also be connected to the Mouse Down pins in the respective editors.

Whenever a new node is added to shape A and Mouse Down A pin is enabled, a new node will also be added to shape B at the same X position but with a default Y value specified by the Default Y (B) pin.
Whenever a node is moved in shape A and Mouse Down A pin is enabled, the corresponding node will be also moved in the shape B.
Whenever a node is deleted in shape A and Mouse Down A pin is enabled, the corresponding node will also be deleted in the shape B.
Operations are symmetrical for the other shape.


NOTE: requirement for bool Mouse Down pins was motivated by a Synth Edit bug, for which a GUI pin receiving a value from a parameter or Patch Memory will always be set first with zero, then with the stored value. Things would have been much simpler otherwise.

NOTE: this module is intended for manual editing. We cannot guarantee a proper behaviour with other automated / unsupported / creative usages.

