Does not send OSC commands when controlled by a midi device

Discuss problems and solutions.
Gass n Klang
Newbie
Posts:42
Joined:01 Jan 2016 20:45
Re: Does not send OSC commands when controlled by a midi dev

Post by Gass n Klang » 18 Jan 2016 19:29

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...

Gass n Klang
Newbie
Posts:42
Joined:01 Jan 2016 20:45

Re: Does not send OSC commands when controlled by a midi dev

Post by Gass n Klang » 19 Jan 2016 13:55

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?

MrCorba
Regular
Posts:143
Joined:02 Sep 2013 20:17
Location:Netherlands

Re: Does not send OSC commands when controlled by a midi dev

Post by MrCorba » 19 Jan 2016 18:06

And if you just use:

if(MIDI_ARGS[0] == ?){ //Where ? is the CC number
oscout(0,'/Songcontainer/x32AssignSecion/Knob1/x',MIDI_ARGS[1]);
}
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba

Gass n Klang
Newbie
Posts:42
Joined:01 Jan 2016 20:45

Re: Does not send OSC commands when controlled by a midi dev

Post by Gass n Klang » 19 Jan 2016 20:44

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.

Post Reply