fab-jul/pymodsynth

Output crash detection not reliable

fab-jul opened this issue · 0 comments

When we hot-reload, we do a out on the root module to catch any bugs. If there is an exception, we do not use the new code and instead roll back to the previous version. This is broken if some modules are not used for all frames, which is frequently the case for TriggerModulators, as they only call modules on triggers.

A potential fix would be to call out on the graph, bottom up. Specially if we have cashing.