How to bypass a mod container when a parameter value is zero?
-
@d-healey Yes, that would do the trick. But, I'm hoping there is a way to write it into the script fx itself before I compile it dll. Otherwise, It turns into a bunch "if" statements and inline functions in my project's interface which seems impractical from the standpoint of reusing the effect. I'd like to just write into the fx itself and forget about it.
-
@RastaChess I don't understand, the soft bypass is part of the effect
-
@RastaChess I'd just script it Really not sure how much CPU you'd be saving...
-
@d-healey Sorry, I didn't explain correctly. The soft bypass switches at 0.5, It needs to switch on with any value > 0.0
-
I know it really isn't much. By my laptop calculation between 0.3 % and 0.5%. But it all adds up in the end. Could you share your script please? I'm really struggling with scriptnode scripting.
-
@RastaChess throw in a cable_expr node between your parameter and the soft bypass target and use something like this as formula:
output = (double)(input > 0.01)
-
can you route the cable_expr node to the soft bypass power button though? Doesn't stick here
-
@DanH @Christoph-Hart Doesn't stick here either.
-
@Christoph-Hart I tried that (and pma) and it didn't work for me either.
-
@DanH
You can attach a macro to the power button on a 'soft bypass' node.
I'm not sure if that's what you guys are looking for. -
@CyberGen @d-healey Can't you use pma and add a value of 0.49?
HiseSnippet 2058.3oc0Z8zaibaEmijo10d2jrI0YSNpC8fCvBCKksIAHGrrsr2XzHaAOtNAAAvgdFJKVMyvoyPYa0hdpWxsbN8TuzOD8TKZO2dIGJJPAR+HrWJ5wzGGNRC4nQZkzZqj3EXWOO9He+d+kORtsi3Nz3XdDxZ0SGDRQVODaOHPzcutDV.5vlHKL1m6h1cPHINl5hrrJ+L4PVqtBJ4mmu8tDORfCMiDBcFm4P+XlOSjQscieNyy6.hK8TluF2OswgN7f83d79.LJi2BERb5QtjdDQxVILxpx9tLAOxVPDzXj0J6xcGX2kecfh+yXwrK7nxOpgrgERQ9.tmqDwRpn85x7baOTciQfh0NS4KqT90wsXtrQzyLBOJYfpYyP2dXUxDdkMfWMc3skF7J.RVZPZEEjdcrsSDKTjMhDOO.eXffF0g.lccnn3EY8Wv6wAFBDa5S5QOHB9XzD1381ZqmTE9q24C6zOvQv3AU4AGwEziC13cV62r1pq8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