|
Post by howard on Feb 25, 2020 5:37:16 GMT
Hi there. Is it possible for Streambyter to act on an incoming MIDI message but only if it is coming in from a specific MIDI port? I don't see a specific If statement in the manual or in Streambyter University which would have Streambyter listen to CC or other data coming in but only if it is coming in from a specific Midi port. Thanks!
Howard
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Feb 25, 2020 20:14:21 GMT
Hi howard , MIDI messages do not include source port information. However, with MidiFire, you could hack this by adding a StreamByter after each input that prefixes every message with a specific sysex message that identifies the source of the following event. Something like: # this sb marks each note/cc event coming from # port #1 with a sysex message if ML == 3 send F0 7D 01 F7 send M0 M1 M2 block endand then the multiplexing streambyter that isconnected to multiple ports, can check for that sysex message and set a flag with the port for the following event: if M0 == F0 7D assign L0 = M2 block end if L0 == 01 # message came from port 1 endIn MidiFire, the two events will always be guaranteed to be received together; might not be the case with STreamByterAU though. Regards, Nic.
|
|
|
Post by howard on Feb 26, 2020 8:47:57 GMT
That's a creative way to address the issue though once I am using MidiFire of course I can just connect the specific port to the Streambyter block which in any event would only be getting data from that specific port. As it wouldn't then be getting data from any other port the Streambyter block wouldn't need to filter its data from other incoming ports.
|
|