RNBO randomize parameters
-
Which UI? Can you capture a video, I'm not exactly familiar with RNBO in HISE.
You can use LICECap to capture a gif and then just drag and drop it here to share.
-
@aaronventure
The UI I built in Hise. -
@darkInteger Are you talking about the Random Modulator module?
-
@HISEnberg
Sorry I wasn't clear enough.
I do everything in the rnbo patch.. i use hise only for ui and compile.
I put the rnbo patch in a hardcoded fx in a silenth synth.
So in the rnbo patch i have 3 params 1 triggers the random function which randomizes the other 2 params. But the gui is not changing in the hardcoded fx although the params are changing since i can hear the sound changing. On the interface where i put 3 knobs and linked them to the params they don't change either. -
@darkInteger So you have the randomize function in your rnbo patch?
If that's so, after the the randomization, you need to update your interface components by getting the randomized values from the Hardcoded module, I don't know any other way -
@ulrik thx!
Any hint how to do it? -
@darkInteger try .getAttribute() ??
-
@darkInteger If you have the "randomize" button in the UI:
In the randomize buttons callback, start a timer, set the timer to collect all hardcoded parameters like this:timer.setTimerCallback(function() { uiParameter1.setValue(HardcodedFX.getAttribute(HardcodedFX.Parameter1)); uiParameter2.setValue(HardcodedFX.getAttribute(HardcodedFX.Parameter2)); // etc.... }
-
@ulrik you might not need the timer, perhaps it's fast enough to put the getAttribute in the randomize callback, try it
-
@ulrik thx!!!! gonna try it!