View Single Post
Old 09-17-2018, 04:49 PM   #1
WayfarerAM
Human being with feelings
 
Join Date: Sep 2018
Posts: 2
Default MIDI to OSC Translator Help

I'm trying to use OSCII-bot to send OSC commands from MIDI notes. The problem is I'm not the best coder and I'm not sure where I'm getting stuck. Here is what I've written based off the examples:

Code:
@input midi_in MIDI "E-MU XMidi1X1 Tab"
//"Name" is full device name from device manager

@output osc_out OSC "localhost:8000"
//Loop back to computer, match in port of Nomad


@midimsg
	msg1 == 90 ? (
		msg2 == 01; 
			oscsend(osc_out,"/eos/chan=1");
		msg2 == 02; 
			oscsend(osc_out,"/eos/chan=2");
		msg2 == 03; 
			oscsend(osc_out,"/eos/chan=3");
		msg2 == 04; 
			oscsend(osc_out,"/eos/chan=4");
		msg2 == 05; 
			oscsend(osc_out,"/eos/chan=5");
		msg2 == 06; 
			oscsend(osc_out,"/eos/chan=6");
		msg2 == 07; 
			oscsend(osc_out,"/eos/chan=7");	
	);
I can see the MIDI notes coming in along the bottom of the OSII window but OSC doesn't come out. I'm still in the testing phase so the actual OSC mesage will change once I can get this working.

EDIT:
Skipped the explanation of what I need. I need to send a different OSC message based on the note received.

Last edited by WayfarerAM; 09-18-2018 at 12:05 AM.
WayfarerAM is offline   Reply With Quote