View Single Post
Old 05-22-2017, 09:35 AM   #7
ljekio
Human being with feelings
 
Join Date: Nov 2009
Posts: 15
Default

Quote:
Originally Posted by goldenarpharazon View Post
In your example, what is the OSC string being sent from TouchOSC and any parameters or variable parts of the string? This string will be visible in the OSCII-bot console window. This will then be used to determine the corresponding matching format string for oscmatch(...)
I see osc2bot begin receive my OSC data, but I haven't yet learned how to pass the correct information.

My setup: knob in Reaktor with OSC send module with name "OSC1". Name of host is "REA".

So, I've wrote for test this:

Code:
(oscmatch("/OSC1"))  && (oscparm(0,0) > 0)?
(
	msg1 = 1;
	msg2 = fmt0;
	msg3 = 0;
	midisend(midi_out);
	
	printf("Track %d selected\n");
);
Now, If I turn knob I've see message "Track 0 selected" at osc2bot and midi monitor showing activity BF 01 00 always.

I checked msg1, msg2 & msg3. The first sends the CC number, the second sends the value. The third one does not send anything and data always has a 16 midi channel (BF).
I did not find a way to change the midi channel, but it's not so important now. The main thing is that I could not translate the value of OSC1 to midi value.
ljekio is offline   Reply With Quote