jwillans Posted June 23, 2007 Report Posted June 23, 2007 I'm chaining 4 core modules through midi-out to midi-in method. 3 modules will be running midio128, the other one will be running a custom C application. I know that enabling the midi merger in midio128 will ensure that messages get passed between cores. What do I need to do in my C application to make sure it also behaves in this way?Thanks,James
audiocommander Posted June 23, 2007 Report Posted June 23, 2007 Hi James,you just need to set MIOS_MIDI_MergerSet(0x01) to enable forwarding, see function_reference:MIOS_MIDI_MergerSetC_DECLARATION void MIOS_MIDI_MergerSet(unsigned char mode)DESCRIPTION configures the integrated MIDI merger following Merger IDs are provided:0x00: MIOS_MIDI_MERGER_DISABLED (merger disabled)0x01: MIOS_MIDI_MERGER_ENABLED (merger enabled)0x02: MIOS_MIDI_MERGER_MBLINK_EP (MIDIbox Link End Point)0x03: MIOS_MIDI_MERGER_MBLINK_FP (MIDIbox Link Forwarding Point)C_IN merger function ID in <mode>C_EXAMPLE // configure the MIDIbox as MIDIbox Link End Point // (means: merger enabled only for events which has // been generated by another MIDIbox which is configured // as MIDIbox Link Forwarding Point) MIOS_MIDI_MergerSet(MIOS_MIDI_MERGER_MBLINK_EP);Cheers,Michael
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now