Page 2 of 2
Re: Does not send OSC commands when controlled by a midi dev
Posted: 18 Jan 2016 19:29
by Gass n Klang
Exectution Fields are "On Midi - Control Change - Midi 1 - 1 to 1 - 1 to 1".
Deactivating the "x" value eliminates the feedback but even kills the osc sendout when I use the tablet of course...
Re: Does not send OSC commands when controlled by a midi dev
Posted: 19 Jan 2016 13:55
by Gass n Klang
Shouldn't it be possible to just script something like:
"If knob receives midi, z value equal 1". So to simulate that I just touch the tablet? I wonder if this is the easiest solution but I'm very new to scripting and it does not work. I don't know if my script has a mistake or if that is no working solution. Can anybody help?
Re: Does not send OSC commands when controlled by a midi dev
Posted: 19 Jan 2016 18:06
by MrCorba
And if you just use:
if(MIDI_ARGS[0] == ?){ //Where ? is the CC number
oscout(0,'/Songcontainer/x32AssignSecion/Knob1/x',MIDI_ARGS[1]);
}
Re: Does not send OSC commands when controlled by a midi dev
Posted: 19 Jan 2016 20:44
by Gass n Klang
does not work. I think I don't need the "if" since it's already said in the Execution window. The script only reacts to the CC chosen, so it's just done twice.