Control GLobal Rackspace Widget from Scriptlet

Hi, sorry for my newby question… how can i change a global rackspace widget value from a global rackspace scriptlet hinstance?

In practicein global rackspace i have an instance ol PA G8 vst that sends midi note on audio impulse. A connected scriptlet fires a Tap() each note on.

In global rackspace panel I have created a Led Widget and I’d like to Light it up every impulse. My idea is Set is value to 100 on noteOn and 0 on noteOff from the scriptlet but i have no idea how to point widget parameter value from it.
:slight_smile:

See the short piece of code in this post. The scriptlet can send the note event (or you could send a CC instead) to the Local GP port.

Once you do this, your widget can midi learn this message (you can also manually set the learned message).

Here is an example code
Scriptlet in the global rackspace

var LED : Parameter = 0.0

On NoteOnEvent(m : NoteMessage) 
 LED = 1.0
End

On NoteOffEvent(m : NoteMessage) 
 LED = 0.0
End

Widget in the global rackspace

1 Like