|
||
Title: Data Mapping only applied to input ... ? Post by chkk on Aug 27th, 2001, 2:44am 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 |
||
Title: Re: Data Mapping only applied to input ... ? Post by JamieOConnell on Aug 27th, 2001, 9:09am 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. |
||
Title: Re: Data Mapping only applied to input ... ? Post by chkk on Aug 27th, 2001, 9:16am 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 ... |
||
Title: Re: Data Mapping only applied to input ... ? Post by JamieOConnell on Aug 27th, 2001, 10:41pm Thanks for the elaboration ;) I suppose there would be an advantage to deferring the translation until after the script, in some cases. I'll consider this some more. |
||
MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |