hi
simple question: how can I create a control message as mentioned in http://www.ucapps.de/midibox_link.html (the brown one) that just passes from core 1 to core 2? (I dont use core 3)
hi
simple question: how can I create a control message as mentioned in http://www.ucapps.de/midibox_link.html (the brown one) that just passes from core 1 to core 2? (I dont use core 3)
Hi t0gg1e4u,
The solution: every event which should be forwarded to the host software will be framed with a start and stop byte. The frame will be notified by the last core with disabled MIDI merger. Only the framed events will be forwarded by the last core (-> tunnled)’ date=’ all others will be filtered out.[/quote’]
The framing bytes are sent when you wrap the message inside MIOS_MIDI_BeginStream() and MIOS_MIDI_EndStream()
MIOS_MIDI_TxBufferPut(0xb0);
MIOS_MIDI_TxBufferPut(0x07);
MIOS_MIDI_TxBufferPut(0x7f);
MIOS_MIDI_EndStream(); [/tt]
Best,
Michael
Hey Michael, works just sweet, thank you very much!
Hi Michael
as it looks not all is that clear, since I dont have the desired results. here as I wrote in my codes:
core1:
MIOS_MIDI_MergerSet(MIOS_MIDI_MERGER_MBLINK_FP);
sends
MIOS_MIDI_BeginStream();
MIOS_MIDI_TxBufferPut(0x91);
MIOS_MIDI_TxBufferPut(newpin);
MIOS_MIDI_TxBufferPut(pin_value ? 0x00 : 0x01);
MIOS_MIDI_EndStream();
core2:
MIOS_MIDI_MergerSet(MIOS_MIDI_MERGER_MBLINK_EP);
core2 receives this midi message, but should pass it on, since its a “framed” event, right? however, it doesnt. why not?
Hi,
not sure, afaics it should work.
I expect you have wired everything correctly and core2 is able to send anything at all on the MIDI-Out?
And as you’re sending a Note-On on Ch2 (!) with a Velocity of “1” (remember: “0” is muted and “127” is loudest), I expect you debug the incoming messages with a logging program and not by hearing, 'cause you most likely cannot hear the message you’re sending…
If the answer to all this is “yes, of course!”:
Sorry, I never worked with linked Cores so far, so I’m not an expert on debugging these issues… anyone else got an idea, maybe?
Best,
Michael
I’m with you, AC. It all looked fine to me too. ??? Likewise I’m no expert on this myself, so maybe I missed something.