MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> Translate CC into relative values
(Message started by: MidiKinga on Apr 24th, 2015, 2:27am)

Title: Translate CC into relative values
Post by MidiKinga on Apr 24th, 2015, 2:27am
Hi!

I saw a similar question on another forum, but I guess here are all the experts so let me try here.

So, basically, I need to translate following input:



Code:
TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT              
001B4E8C  15  --     B0    63    78    1  ---  CC: NRPN MSB          
001B4E8C  15  --     B0    62    19    1  ---  CC: NRPN LSB          
001B4E8C  15  --     B0    06    3F    1  ---  CC: Data Entry MSB
   


into midi CC relative value: -1  

In other words, the CC input above shall decrease output CC value by 1.


Then, I need to translate following input:  


Code:
TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT              
001D238C  15  --     B0    63    78    1  ---  CC: NRPN MSB          
001D238C  15  --     B0    62    19    1  ---  CC: NRPN LSB          
001D238C  15  --     B0    06    41    1  ---  CC: Data Entry MSB
 


into midi CC relative value: +1

In other words, the CC input above shall increase output CC value by 1.

I hope someone can help me with this one.  ;D

Thanks.

Title: Re: Translate CC into relative values
Post by Breath on Apr 24th, 2015, 9:34pm
Strange this is the second question like this in such a short time.

To output an incremented value (CC value +1 or -1) you need to have the current value stored somewhere .

MidiOx's data mapping doesn't have provision to store values. It really just changes one known message into another known message.
But you can program the scripting interface to do this.
Have a look in the Scripting Interface section of the manual.

An alternative to this is Bome's Midi Translator.
As I recall you can do this with the free classic version.
http://www.bome.com/products/miditranslator/overview/classic
Otherwise there is the Translator Pro
http://www.bome.com/products/miditranslator

All the best
Royce

Title: Re: Translate CC into relative values
Post by MidiKinga on Apr 25th, 2015, 4:46am
OK, no problem, good to know that it is possible  8)

Thanks.



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