|
Post by lidiano on Jul 10, 2018 15:08:38 GMT
Hi Nic,
I have a scene that uses midi message (remote control) to enable/disable Stream Byter Block action. When I send a CC to enable the Stream Byter Block together with others midi msgs to be remapped, the Stream Byter didnˈt treat these msgs, only the next ones.
Analysing in the Event Monitor I notice that all events came in the same time, although the first event was a CC to enable the Stream Byter.
Sending the enable event msg and some milliseconds after the midi msgs to be remapped the Stream Byte works OK. But unfortunatley, in my trigger application I cannot delay the second msg. Is there a workaround to this situation?
Lidiano
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jul 10, 2018 18:01:20 GMT
Hi lidiano , Yes, you're right - a remote trigger is handled separately after the initial set of messages is processed, so it's a timing thing. I think I have a way of working around this; it's a little bit complex. Can you post your current ruleset for that Stream Byter here and I'll see if I can make my idea work. Regards, Nic.
|
|
|
Post by lidiano on Jul 11, 2018 16:28:52 GMT
My scene is very complex.I think is better minimize the scenes , like a simple Stream Byter rule changing events from Midi Channel 16 to 15 (XF = XE). In this example Midifire receives two events in same time: the first one is to enable the Stream Byter Block and second one can be a Note in Midi Channel 16. The correct output from the Stream Byter would be a Note in Midi Channel 15.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jul 11, 2018 17:46:11 GMT
Hi lidiano , Thinking about this a little more, I think there are two other options: 1. Use Stream Byter itself to handle the remote control. Assuming your bypass/enable CC is CC64 on channel 1 (just an example: # maintain enable/bypass in L0 IF LOAD ASS L0 = 1 # enabled by default END # handle enable/bypass CC IF M0 == B0 40 IF M2 < 40 ASS L0 = 0 SET LB0 SOFF END IF M2 >= 40 ASS L0 = 1 SET LB0 SON END END # remap if enabled IF L0 == 1 # do your remapping here END2. The other option would be to use the network interface as a loopback port and send the remapped notes to that with a delay, but actually I think option 1 is a better solution Regards, Nic.
|
|