MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> Patch Mapping Requisites?
(Message started by: PooFox on Mar 16th, 2011, 8:24pm)

Title: Patch Mapping Requisites?
Post by PooFox on Mar 16th, 2011, 8:24pm
Hi, I've been studying MIDI-Ox quite hard lately and thought I had finally reached a solid understanding of how to use it properly.   But I'm suddenly having some inexplicable problem triggering Patch Maps via program changes.  I have maps to change all data from CH1 notes to CC on CH9 (and on CH10 while i am holding a button on my controller, essentially creating a modifier to double the possible messages from my controller).  I've got patch mapping on, with the maps assigned on Prog Ch 9 and 10.  The 'modifier key' maps must send the program change message since the controller has no native function for that.

Did I forget to make some special port connections for this to work?  I see the CH9 map is functioning because the output channel is indeed mapped from 1 to 9.  The Output even states that the controller is sending PC 9 and 10 when i hit my modifier key.  Why doesn't MIDI-Ox respond to it?  I've tried Patch Map monitoring all channels (though it should only need ch 1 anyway).  But MIDI-Ox no longer changes the .oxm file.  I had this working before, but my setup was overly complex from lack of true understanding and had some bad bugs.  I must be missing something simple here right?  Hope my explanation's clear enough, thanks!

Title: Re: Patch Mapping Requisites?
Post by Peter L Jones on Mar 17th, 2011, 4:39am
MIDI-OX has an order that it applies changes.  Patch mapping happens before data mapping.  Because of this, if you want a data mapping to happen and then, as a result, a patch mapping to happen, you need to pass the event through MIDI OX twice.

You can do this through MIDI Yoke and a single instance of MIDI OX if you're careful to avoid loops.

[some in]->MIDI OX (datamap)->[Yoke Out 1]
[Yoke In 1]->MIDI OX (patchmap)->[someother out]

So long as "some in" and "someother out" are not the same and not MIDI Yoke 1, you should be okay.

Title: Re: Patch Mapping Requisites?
Post by PooFox on Mar 18th, 2011, 7:17pm
thanks, i figured it was something like that but it seemed redundant so i didn't try.  anyways, i'll play around with this new information and see what happens.



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.