reduzent / netpd

Collaborative Realtime Networked Music Making Environment (MK II)
https://netpd.org
GNU General Public License v2.0
62 stars 5 forks source link

Manage message order in dynamically created objects #9

Closed reduzent closed 3 years ago

reduzent commented 3 years ago

Currently, it is not possible to create an mx effect that is capable of loading other effects due to message order. Dynamically created abstractions fire first when using the same [send]/[receive] as already existing abstractions. In a scenario, where a dynamically loaded abstraction creates other abstractions dynamically, we want the order of state saving messages to be top->down, not bottom->up, otherwise the children receive their state before they are created at state loading time.

In order for nested dynamic creation to work with state management, a mechanism to influence order is needed.

reduzent commented 3 years ago

This is addressed by cf125f2324565396347f3c607adb50027f0e86bb