if/else statements inside the scriptnode
-
Is it possible to write if/else statements inside the scriptnode to control parameters?
-
Can you give a more detailed example? There are multiple ways of branching:
- Branch in the onControl callback before you send it to scriptnode
- Connect a parameter to the bypass button to switch between different signal paths
- Use the
core.pma
node and set the multiplier to either 1 or zero. - Write a custom SNEX node and branch in there
So in order to figure out which is the best approach I need more info.
-
@Christoph-Hart I have fx units that have parameters with non linear values.
With scripting, I just wanted to make a custom cpp and use it for dynamically fx adding like below one. So adding and using the unit will be so quick and all in one thing. -
@Christoph-Hart Actually if there was a script engine that lets us code (for example a special eq with known coefficients or assembly code....etc) in scriptnode, it would be awesome.
Flowstone has something like this. I think it would fit Hise well too.
-
Thats what Christoph Hart thought in 2018 when he started working on SNEX ;)
-
@Christoph-Hart You are awesome too :)
-
@Christoph-Hart I don't have a core.pma node
using latest scriptnode
-
@iamlamprey It's not implemented yet
-
@iamlamprey said in if/else statements inside the scriptnode:
@Christoph-Hart I don't have a core.pma node
using latest scriptnode
I think it will be available in "SNEX workbench" later.
-
Oh my bad, thanks!