is it possible to know or influence VM's module run order?
Posted: Thu Aug 04, 2022 2:55 am
Consider the case of module A doing something with pitch and a control signal generated by module B, and module B is also connected to pitch. If module A runs before B the results might be very different than if module B runs before A.
Is there any way to either predict or influence the run order of modules?
VM might be doing graph analysis of all the connections, and barring feedback, work out a zero-delay feedforward run order. Cycles (feedback loops) complicate that, and may even complicate getting feedforward subgraphs. I've used Boost's graph analysis for this kind of run order generation, but I really don't recall what it generates when faced with one or more cycles.
Anyway, is VM actually doing anything like that to ideally generate zero-delay signal paths, simply running left to right, running based on order of instantiation, random?
Is there any way to either predict or influence the run order of modules?
VM might be doing graph analysis of all the connections, and barring feedback, work out a zero-delay feedforward run order. Cycles (feedback loops) complicate that, and may even complicate getting feedforward subgraphs. I've used Boost's graph analysis for this kind of run order generation, but I really don't recall what it generates when faced with one or more cycles.
Anyway, is VM actually doing anything like that to ideally generate zero-delay signal paths, simply running left to right, running based on order of instantiation, random?