User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Mapping Bank MSB to PC »
Welcome, Guest. Please Login or Register.
May 10th, 2025, 8:50pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   Mapping Bank MSB to PC
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Mapping Bank MSB to PC  (Read 1609 times)
JayCee
New Member
*



MIDI-OX Rules!

   


Posts: 4
Mapping Bank MSB to PC
« on: Aug 12th, 2010, 2:44am »
Quote Quote Modify Modify

Hi there.
 
I've got several VST Instruments that I'm controlling live using MIDI-OX to translate PC messages into data maps. The way I'm sending PCs is using my keyboard's (CME UF70) function buttons. When pressed, these send 3 bits of information: Bank MSB, LSB and PC.
 
The PC message is being picked up by MIDI-OX and switching to a new data map, and all that is fine, but what I want to do is have MIDI-OX convert one of either of the other two bits of information (MSB or LSB) into a PC message intended to be received by one of my VST Instruments. That way, I can have just one instance of a particular VSTi loaded and change presets internally rather than having multiple instances running on separate channels.  
 
Right now I'm mapping Bank MSB to PC, which is easy enough. However because the Bank MSB message is received before the PC message that switches to a new data map, the translated PC message is being processed via the old data map. Assume for simplicity sake that Data map 1 simply translates all incoming midi messages to Channel 1, and Data map 2 translates to Channel 2.
 
Here's the order of events:

  • Start with Data Map 1 loaded (all midi events translated to Channel 1)
  • Function button pressed on keyboard
  • Bank MSB sent from keyboard
  • Bank LSB sent from keyboard
  • Program Change sent from keyboard
  • MIDI-OX switches to Data Map 2 responding to program change
  • MIDI-OX converts Bank MSB message to Program Change, but still processes it under Data Map 1, thus outputting it on Channel 1

 
So as you can see, because the Bank MSB message is sent before the Program Change it is processed before the new data map is loaded, even though in the output menu the new data map appears to be loaded before the translated Program Change is sent. Even if I add a delay, it doesn't allow the new data map to pick up the new program change event and retranslate it to the new Channel.
 
So my question is: is there any way of making my Bank MSB - sent before a PC that switches data maps - be processed under the new data map instead of the old one?
 
Hope all that makes sense.
IP Logged
Peter L Jones
Expert
*****




Hit it

   
WWW

Gender: male
Posts: 978
Re: Mapping Bank MSB to PC
« Reply #1 on: Aug 12th, 2010, 4:18am »
Quote Quote Modify Modify

Hmm.
 
Two instances of MIDI OX.  (For safety - if you can get this working in a single instance without feedback loops... Shocked)
 
The first simply delays Bank MSB messages by a sufficient number of milliseconds to make this work and passes everything on to the second instance.
 
The second is as you've got it now, plus any Bank MSB mapping.
 
I can't think of any other way - except scripting - to achieve the same effect - and I'm not sure this will work, either...
« Last Edit: Aug 12th, 2010, 4:18am by Peter L Jones » IP Logged

"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
JayCee
New Member
*



MIDI-OX Rules!

   


Posts: 4
Re: Mapping Bank MSB to PC
« Reply #2 on: Aug 12th, 2010, 5:11am »
Quote Quote Modify Modify

Thanks Peter - you're a genius!
 
Works a charm.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


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