Switch two chain nodes from parallel to series?
-
In scriptnode we have serial and parallel nodes/chains
Is it possible to make a Switch to put two chains in series instead of parallel and vice versa? -
@Morphoice no container will allow this but you can build your network to have both signal chains and switch between them using a soft_bypass container.
Of course it's only a workaround, and it will be a pain if you have a big signal processing chain... -
@Matt_SF
Can'tcontainer.clone
be used to clone the desired network? -
@Morphoice The fact is that achain
is fundamentally series, while parallel is only handled withmulti
.
As @Matt_SF said, you need to prepare your graph to be ready for both scenario.
In the case it is the entire graph that you want to switch, then it could also be handled with the hardcodedFX module by the mean of two different routingsEDIT: forget all that I said, @orange is right, just use a
clone
node, it allows for series/parallel processing... -
-
@ustk said in Switch two chain nodes from parallel to series?:
@Morphoice The fact is that achain
is fundamentally series, while parallel is only handled withmulti
.
As @Matt_SF said, you need to prepare your graph to be ready for both scenario.
In the case it is the entire graph that you want to switch, then it could also be handled with the hardcodedFX module by the mean of two different routingsEDIT: forget all that I said, @orange is right, just use a
clone
node, it allows for series/parallel processing...I really love how the documentation for this node says
"For a detailed explanation of these nodes take a look here and here." -- then points nowhere at all...
This would be a good candidate for a code snippet in the snippet browser if anyone who has experience with this node can be bothered....
-
Here's an example (dual-delay):
HiseSnippet 2610.3oc6Z07aabbEeWRMRlTwNNsoIEnWVHzhRkpPSR4HGi.CQIJIGgXIQXpnlf.W6Q6NTZp1cms6GRhsHEs8T6Iew8bOWf9WQt1K8CzhBjdn+I3dHG5gB22L6reQtTljVJ1tvx.VZm4My768d+l26M6NscY5DOOlqhZ4c64PTTeMTmd19G15PL0VYy0TTeaTGhK8caicwllDSs0OEa4XRTVsmC1yiXnnpV71bgUKMkh3mGu7pXSrsNIoIEk8XTcxcnVT+jVa27inllafMH6RsRI80atoNytEyjE..qHplhCV+H7AjswbwJfT9Pr2gJpuCpwMtY8k1uQsF2b+aPtNoQ25jE2u6MLpWawZWG238Wbot3kpiuoh5zqaP8Ytc7w9DOXRWkYzqygrSrCWf8ndz8AsBdntRGXkCaVo0gTSi1QVIOEEUT6DaVw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M7YGdZkpzzO5QO5IWbaqlIzkO9PdFzZqemU9zKTpR5SEkjgpOn5Fdp4pQcOHTSF5KzgCRkrMdl9yy8k+me9e7eN9UZGWVZFq0kgV8bpJ6Ju..xtlbCUgwtLslOr4HYndv2bs+pLtY3mtcfoIWqDz93WUvXiozE7GOUsevu4OD7C9UMGau2zHOhcewQtRLSWz2fNO4fFGWWNaHSUdXDdi29jMkyveHklbkzQ1p+xTjQYxv26E+PikibPMdUrwQY2UIYTtFuJ33KiAGmQDmqwKHQGSs4aTCONomjN78Z9h4onUFyS2eYTG9QX6HtoJS5IfxjwT7BSe04CGx4CGNAbpzDvPSov7c962GY92n8NxiNCXl2XUVdkR+5V5HQmew5dRueWadrt85+Fb7rofYeU2OkuEfTASkn77mTtW+2tjmM8afWt4nohHD+RLbwpchK+xyl1E+ItxWqVkwNxBK99qSzsjI82u+JgcNKpCTWp3xOJ9Xnuk3YseH9Xh1sIPEq7aeP8y3tx9mF06JqyHeWY2Q2GV9ccw1d7K6XFu.whta3KmIowO1irgK4mbW9asNc6sXX2b65wKuAnj4NlNX+.Wwq+N5CPm5dTTL6WsepQ6q1m8JkjR9btgCS8b3t4d9buTdNd0YxbuPJEgwNT9U5Xc6iIlvFCAF+FH41ynVyRr2hYyhtNBId86R7coGb.Iap17TnU784wPia4MadWhIAmlA+caF9IjEeDwIyVL9Wk5b8WeaTHb036F0d48JOU7+quxSesb+d95XMrv5tr6K+Dlbd5kDs.5ss7cJrE+Ys58egPU32aP5800yNUCLvFS5.WbRG30mzA9dS5.WZRG3MlzA99O8AxSBIODAeqITQU60EklnpttMuJTwNBk+mNz2aV
I also proposed to add an example to the docs.
The only problem here is that, if you're using the clone node, your signal processing chains must be identical.
i.e. if you want to have a delay and a reverb, and choose to put them in serie or in parallel, you won't be able to use a clone node.
Another problem with the clone node is, if you want to set different values to the clones parameters. Theclone_cable
will help but it has limitations.@Morphoice so, depending on your signal processors, you'll be able to use the clone node, or you'll have to do it using the 'duplicate path' option I suggested before.
-
@Matt_SF thanks matt, I do indeed have a delay and a reverb, but both are faust nodes, maybe that works? or is it about the parameters?
-
@Morphoice no that won't work. The clone node will duplicate what you'll put in it. Think of it as one container that will be duplicated. The ability to switch between serial and parallel processing will only apply to the duplicated container.
Like in my example, you'll be able to switch between S/P processing for the delay, or the reverb, but not both.
-
@Morphoice this is how you could do it. Simply replace the built-in nodes by your faust nodes:
HiseSnippet 2029.3oc6Z0zaaTDFdV6LNMNsk9kJbzG3PJpDY6TRZEHkubbIpMIl3zzxov3cGGujcmYY2w4ih3DRH3.hibCwM3mQO0KHgPvod.QE+AHR7C.lYmYWuq85Tam3zRooRMYl24c22OddelY1Yp3R0wddTWfV1MNvACzNKr5ADViEafLIfkKAzNObEjGC6lS10BG3f77vF.Msz2Vzg1Xi.7+4vYW.YgH53VcA.aRM0w20z1j0p2JycGSKqxHC7Fl1QF8MlaYcJYQpEsI2dRCyCbP56f1FuJRLrTPv6i7Z.zdKXwYtUgoqULewaUaF7MvEqW.OUs5yXTH+T4uAp3MmZ55noKftEPKyRFlLpaUFhg8.Zir.03fpMn6QjufMM8LqYgEMJ.pxeyxtKSsLDtnnWvhMLsLpDDn7..MXkVgszxv1UfqXZXF1eqv2E7EjqkFQCfZohadoiYdE5l4kfIoEwjFQZRWDVU20zg0RhvdFGtLgmMqi34onlhbr.sGAWjxG.gMoMZGbYWdiPElX574udN9+cs2sdShNyjRxQIqRY30HSbsreZ1wx9YYy0tn50STl303RsrvtIJV.MbOJEmfzztF18541EY0DGNPt6GOllo2ho5RuNx.ojkIlr0bvp1GMn.nBa7+5dKWBwPhjhpO93bvtLSg4nUBuKujPlhFCVB6sCi5vKJ5H+wQNTilVHVb3jnnSIfGOhkCEIJhmI6fnEk8AFK+Qhw5US7hvJlL8FIaioRvF4QpggMppLOGbo50w5rVF3HvxOXPKCy22kgYUkg72o3keVUybkePgDK.+RXKvtiK1A4h2fVwBcvDdHaGK75ba754pYQ02op4CwcVg3HMgEDiXB8FHBAa4MHERYNgH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