I have 2 instances, each uses 2 separate single client MIDI devices. MIDI A is used in Instance A, MIDI B is used in Instance B. I’d like to use MIDI B to control a widget in Instance A. The widget is mapped to a synth VST parameter.
I understand OSC might be the best route, but I’m a little intimidated to learn that method right now. Are there any other options I can use thru GP relayer?
Also in instance A, add a widget. Give it an OSC handle. Turn on the Enable OSC switch, and take note of the OSC address shown next to the OSC handle name.
Also in instance B, add a widget. In the Advanced tab, under Direct Addressable OSC, enter the OSC address shown for the widget you added in instance A. Add 127.0.0.1 as the target IP address and the OSC listening port of instance A. Turn on the Enable Widget Direct OSC switch.
Thank you for this very thorough response, I really appreciate it. Can you please clarify what I should name the remote client port and listening port for each instance?
In instance A, open Options > OSC. Enable OSC(if it isn’t already) and use 15002 as the listening port.
In instance B, add a widget. In the Advanced tab, under Direct Addressable OSC, enter the OSC address shown for the widget you added in instance A. Add 127.0.0.1 as the target IP address and the 15002 as the port. Turn on the Enable Widget Direct OSC switch.
Since this is one-way communication, you only have to define the listening port of the instance that is receiving the messages ( I used 15002). For the Direct Addressable OSC widget, you tell it to send its messages to port 15002. Follow the directions and you’ll get it to work.
Thanks for this guide! it has been really helpful in getting a widget on my 2nd instance to control a knob on my first.
Do you know if there is a way to get widgets to sync bi-directionally? Where if I move the knob on my 1st instance the knob on the 2nd will also move? I have only gotten it work one way right now.
Thank you for responding! I appreciate your patience as I work through this. This is my first foray into OSC and I am still trying to wrap my head around it.
I have gotten it working in a test rig where instance B will change the value in instance A. I’ve also figured out how to change the settings for Instance A to control the knob in instance B.
Is there a way to set it up where you can change the value on either instance and both will show the same current value?
I finally got a chance to dig into this some more this morning.
I have all my addresses and ports in options as you did in your screenshots. Both my widget settings are the same as your screenshots. “Enable Widget Direct OSC” switches are both turned on. Unfortunately, I am not getting movement on either knob.
Are you able to tell where I am going wrong? I am sure there is one little detail i am missing…
I think I figured it out. Each knob was at a different value when I enabled OSC on the 2nd instance. It got stuck in a fight between them for whose value would be taken.
I disabled Widget Direct OSC on one of them and reset both knobs to zero.
When I re-enabled Direct OSC both are behaving now.
New issue… I have attached knob1 in instance1 to a mixer’s volume, but I am not seeing movement on the fader when I move the knobs. When I move the fader, the knobs update. Weird.
Now that I have posted this I will likely find the answer within a few minutes… wish me luck.