If you're using C12 MIDI Remote, make sure to change the control Value Mode to "Jump".
(the default is set to "Scaled").
Then, to avoid MIDI feedback, you need to create two virtual ports (for example "fromOSC" and "toOSC").
Connect the Cubase Input to "fromOSC" and the output to "toOSC".
In the server MIDI configuration prop add a line looking like this: oscMIDI:toOSC,fromOSC
In the fader prop target use: midi:oscMIDI
Oh, I see.
First, you need to map what parameter you want Cubase to send/receive in the GR. (see that Expression is Not Assigned, so Cubase doesn't know where to apply messages coming/going to channel 1 CC11).
However, if you want to monitor MIDI messages generated from the VST, it's not the way you think to use GR.
First, in order to do this, your VST must have an option to send MIDI out (the data you draw in CC lanes in the Cubase Editor are sent to the VST only). You have two options.
First one is using MIDI tracks in Cubase and set one "MIDI Sends" output to OSC. (this option is not available in Instrument Tracks and should be added on each MIDI track).
The second option is to map the GUI control of your VST to a quick control. This works dynamically when selecting a new track, but you need to map each track's quick control.
Hi Clelson!
I'm trying not use the C12 MIDI Remote function for this since I'm building a control panel for all cubase users
So I have two seperate ports, one is fromOSC one is toOSC, they're called"OSC_C" in the MIDI configuration and I've asigned a midi send from cubase sending messages to the "toOSC".
Now my OSC can recieve the messages, I can see from the debug log that it recieves the right messages for the right port.
The thing is, the target of my fader is set to OSC_C, but it's still won't synch
I thought the fader was going to automatically take the value from the matching control message and from the matching midi port and synch the current value, but it's not
Oh I've made it!
It's simply becuase I previously make the fader to send “/control, 1, 119, value” in the script, and back then the target was set to a different one.
It didn't refresh the target when I used the "preArgs", it's still sending the messages to the "MyMIDI"(which is a different target) using the script.
Once I deleted that line of script, it's starting to send messages to the "OSC_C" using the "preArgs"
Then it's perfectly synchronised
@ClelsonLopes
There's another problem tho.
I wanted it to synch, because the "Distance" fader is controlling other 3 faders.
I was able to record these 3 faders as automation, but it's still too messy for 8 instruments(once I record them down, there would be 3x8=24 automations)
So I was thinking, is there a way for me to simply draw a line in Cubase, and then make it reverse control the "Distance" fader, which then make the 3 faders send control messages to control the mics in real-time.
Now the "synch" is working, the "Distance" fader is moving according to the cc119 value I drew, and those 3 other faders are also moving according to the "Distance" fader, but no one is sending any "out" messages, so they're just simply moving around instead of controlling anything...
I managed to send out the "Close" fader control message while the "Distance" is synching the cc119 now!
The trick is to keep "refreshing" the faders.
So I have a "refresher" here sending the current "Close" fader value back to itself every 0.5s
It's working perfectly!
On create:
function Set() {
set("close_mic_fader", locals.val)
}
var t=setInterval(Set,500);
clearInterval(t);
Now I just need to think of a way to stop this auto "refresher"(best if I can send a group of code "clearInterval(t);" once the "Distance" fader stop moving, but I don't know how to trigger an event once a fader"stop")
I've made it!
I can now control the 3 mics for all 8 instruments with a single cc controller!
The logic behind it is: I have a "Distance" fader controlling 3 other faders, and the "Distance" fader is reading CC119 controller message from cubase, which than controls 3 other faders which controls the automation for the 3 mics of CSS.
Here's the demonstration video for that: