I'm back after ripping apart my project and putting it back together. The "Mother-Network" that was originally structured in the exported scriptnode has now been recreated in the Module Tree.
The minimal module tree from before will be missed. RIP
I have a few important notes. You need to use Synth.getSlotFX()
not Synth.getEffect()
when making a reference to the HMFX processor when using the setEffect
command. This allows you to load in the exported scriptnode to the module.
Other notable functions are exportState()
and restoreState()
. These can be used to copy/paste control states of the processors after they move. Use the Synth.getEffect()
for this one. The exported string even stores the loaded effect. This means you can simply use this command instead of having to load the effect and then the parameter settings. Both processes are accomplished by this single command.
I still need to set up a system for all the UI controls to adapt their connections depending the updated locations for each module. That should be fun.