Rearranging module order and container placement
-
I am looking to see if there is a way to rearrange the order of modules (such as drag and drop). Currently I have been copying module to clipboard, deleting it, and adding it from the clipboard to a new position.
Is this the best work flow for module rearranging?
What about for changing the container that a module is in?
I found this:
namespace Container1 { // reference the module in container 1 const var Module1 = Synth.getEffect("Module1"); } namespace Container2 { // reference the module in container 2 const var Module1 = Synth.getEffect("Module1"); }
If I created Module1 in Container1 and use this script will Module1 then be in Container2?
-
@TNTHM The code will do nothing about the order in the module tree.
You can also edit the XML if it suits your workflow
-
@ustk I see. Thank you for explaining. So if I understand correctly,
The order of modules is fixed once they have been initiated. If you create reverb, then delay, then phaser modules in that order in the fx chain, you cannot rearrange the order.
And the code that I posted only changes where modules are referenced, not their order.
In the XML is it as simple as opening the document and cut pasting Reverb1 to the desired location in the module chain?
-
@TNTHM said in Rearranging module order and container placement:
@ustk I see. Thank you for explaining. So if I understand correctly,
The order of modules is fixed once they have been initiated. If you create reverb, then delay, then phaser modules in that order in the fx chain, you cannot rearrange the order.
As far as I know that is correct
And the code that I posted only changes where modules are referenced, not their order.
In the XML is it as simple as opening the document and cut pasting Reverb1 to the desired location in the module chain?Yes and yes
If you want to change the order of FXs, you can either use the Effect Slot, or create them in scriptnode and use the Hardcoded FX module
-
@ustk Understood. Thank you.