Toggling modulator polarity button from UI?
-
I want to hook up a button on my UI to the bipolar/unipolar button on a global LFO modulator, but I'm not seeing an option anywhere. Is this possible?
-
-
No, but the workaround is to recreate it in scriptnode (Chris has a repo with some modulators recreated), then put an inv node at the end into a soft bypass node and toggle it to invert the network.
-
I've opened a github issue for this one - https://github.com/christophhart/HISE/issues/567
-
Just came looking for this again and noticed Christoph solved this a couple of weeks ago - https://github.com/christophhart/HISE/commit/2057eb72499e0be24b8effe0e908588d40d8311d
We now have
Modulator.setIsBipolar()
andModulator.isBipolar()