gm02froe Posted January 6, 2008 Report Share Posted January 6, 2008 hisimple 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) Quote Link to comment Share on other sites More sharing options...
audiocommander Posted January 6, 2008 Report Share Posted January 6, 2008 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()[tt]MIOS_MIDI_BeginStream(); MIOS_MIDI_TxBufferPut(0xb0); MIOS_MIDI_TxBufferPut(0x07); MIOS_MIDI_TxBufferPut(0x7f);MIOS_MIDI_EndStream(); [/tt]Best,Michael Quote Link to comment Share on other sites More sharing options...
gm02froe Posted January 21, 2008 Author Report Share Posted January 21, 2008 Hey Michael, works just sweet, thank you very much! Quote Link to comment Share on other sites More sharing options...
gm02froe Posted February 5, 2008 Author Report Share Posted February 5, 2008 Hi Michaelas 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? Quote Link to comment Share on other sites More sharing options...
audiocommander Posted February 6, 2008 Report Share Posted February 6, 2008 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 Quote Link to comment Share on other sites More sharing options...
stryd_one Posted February 6, 2008 Report Share Posted February 6, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.