Capturing CC values for Assigned Controllers....
-
So I have a couple of LAF-ed sliders to represent Pitch Wheel and Modulation Wheel

In my on Controller call back I look for their CC numbers and move them accordingly...
function onController() { if(Message.getControllerNumber() == 1) { ModulationControlDisplay.setValue(Message.getControllerValue()); }; if(Message.getControllerNumber() == 128) { PitchControlDisplay.setValue(Message.getControllerValue()); }; }This all works fine - I wiggle either of these and the sliders get re-drawn.... until.....
I assign CC1 to some on-screen widget..... now wiggling the Mod Wheel moves this on-screen widget...but I dont get to see the CC value showing up in my script, so the LAF-ed wheel never gets redrawn....
Do we have a work around?
-
@Lindon This be what you're needing: https://docs.hise.audio/scripting/scripting-api/midiautomationhandler/index.html
-
@David-Healey yes thank you - perfect.