User Forum    :: Powered by YaBB
  Ā« MIDI-OX User Forum - Data Mapping only applied to input ... ? Ā»
Welcome, Guest. Please Login or Register.
May 3rd, 2025, 3:59am


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


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   Data Mapping only applied to input ... ?
« Previous topic | No topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Data Mapping only applied to input ... ?  (Read 1978 times)
chkk
New Member
*



MIDI-OX rules

   
WWW Email

Gender: male
Posts: 10
Data Mapping only applied to input ... ?
« on: Aug 27th, 2001, 2:44am »
Quote Quote Modify Modify

Hi,
 
I have used the MIDI-OX COM-Component to build a Masterkeyboard-Controller for my Yamaha-P80 with Visual Basic - works very nice, MIDI-OX is a good tool.
 
I tried to use the Data Mapping to implement some functionality which I thought I wouldn't have to code myself in VB - mapping some controllers etc - but I have the impression that the Mapping is only applied to the input stream coming into the COM component.
 
Is there a way to apply the Data Mapping to the output stream of the COM component ? It would be even better if the output port could also be used in the Data Mapping filter, as sometimes, the same Midi channel is used on different ports and might need a different processing depending on the port.
 
Greetings,
Christian
IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Data Mapping only applied to input ... ?
« Reply #1 on: Aug 27th, 2001, 9:09am »
Quote Quote Modify Modify

Mapping is applied to the input stream before it gets to the script connection point.  It was felt that any further mapping could be performed by the script: you have complete control over the data at that point.  Further, since all data arriving is already mapped, and new mapping would only be applied to new data generated by the script; why couldn't the script generate the end result itself?  I guess I'm missing something in the concept... could you give a specific example?
 
Rather than have all data mapped twice, maybe custom COM mapping functions would work better for the long run.  It will probably be quite some time before the MOXScript interface is rev'd again, so you might want to implement this differently for now. I will add this to the wish list, however.
 
 
IP Logged

--Jamie
Music is its own reward.

chkk
New Member
*



MIDI-OX rules

   
WWW Email

Gender: male
Posts: 10
Re: Data Mapping only applied to input ... ?
« Reply #2 on: Aug 27th, 2001, 9:16am »
Quote Quote Modify Modify

Thanks for the fast reply ...
 
Example:
 
I take all data unfiltered from the input stream. My VB program generates several output streams from the input data. Depending on the output target, I have to filter out / remap some controllers.
 
Of course, I can do all mapping in my program, it just would have been nice and more flexible to use the features already available in MIDI-OX ...
IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Data Mapping only applied to input ... ?
« Reply #3 on: Aug 27th, 2001, 10:41pm »
Quote Quote Modify Modify

Thanks for the elaboration Wink  I suppose there would be an  advantage to deferring the translation until after the script, in some cases.  I'll consider this some more.
 
 
IP Logged

--Jamie
Music is its own reward.

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | No topic »


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