MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> rpn 2 cc I'm totaly confused
(Message started by: kotto on Apr 18th, 2003, 2:04pm)

Title: rpn 2 cc I'm totaly confused
Post by kotto on Apr 18th, 2003, 2:04pm
Hi

I read the mapping questions more and more time , but I don't know how to map a rpn controller to a normal cc. I want that controller sends cc#3 with values from 0 to 126. I hope someone can help me.
Thanks
kotto

Here is the log:
B0    65    00    1  ---  CC: RPN MSB          
B0    64    01    1  ---  CC: RPN LSB          
B0    06    01    1  ---  CC: Data Entry MSB    
B0    65    00    1  ---  CC: RPN MSB          
B0    64    01    1  ---  CC: RPN LSB          
B0    06    02    1  ---  CC: Data Entry MSB    
B0    65    00    1  ---  CC: RPN MSB          
B0    64    01    1  ---  CC: RPN LSB          
B0    06    03    1  ---  CC: Data Entry MSB  

Title: Re: rpn 2 cc I'm totaly confused
Post by Jamie OConnell on Apr 18th, 2003, 5:01pm
OK.  I'll try to explain how I go about setting this up so next time it's not too hard.

We want to map the NRPN with MSB = 0, LSB = 1 to CC = 3.

First we open the NRPN calculator to get the full NRPN parameter number (View | NRPN Calculator...):

MSB LSB  NRPN
  0     1      1

In this case the parameter still equals 1.

Now we open the Options | Data Mapping... dialog to enter a Mapping, and press [Insert]

we enter the following:

When input matches:
Channel Event Min Value1 Max | Min Value2 Max
Any       NRPN   1              1      0         16383

Set Output to:
Channel Event Min Value1 Max | Min Value2 Max
Match   Ctrl      3              3      0            127

Notes:  The full NRPN parameter is 1 as we calculated earlier.  The NRPN value to be mapped is between 0 and 16383 because it can be a 14 bit value when both MSB and LSB of the Data entry controller are supplied (even though we are only receiving the MSB in this case).  The target is CC 3 which can have a range of between 0 and 127.

After Pressing OK this all looks like:


* NRPN        1     1     0 16383  | * Ctrl        3     3     0   127



And we check none of the check boxes in the bottom of the translation map.

Title: Re: rpn 2 cc I'm totaly confused
Post by kotto on Apr 18th, 2003, 5:59pm
Hi Jamie,

thanks for the quick answer. I think I'm understand the rpn a little bit more. But your solution dont work in my system.
e.g.. The first mapping work, the second do not.

* CTRL        7      7     -1 -1     | * Ctrl        1     1    -1      
-1
* NRPN        1     1     0 16383  | * Ctrl        3     3     0   127

In the monitor output the items are all the same when I move the slider wich produce the rpn.

thanks
kotto




Title: Re: rpn 2 cc I'm totaly confused
Post by Jamie OConnell on Apr 18th, 2003, 6:08pm
I screwed up.  I misread everything that said RPN as NRPN.  There are only 2 RPNs defined for MIDI: Bend Range and Tuning.  There is no way to directly map a RPN into a CC in MIDI-OX at this point.
 

Title: Re: rpn 2 cc I'm totaly confused
Post by kotto on Apr 18th, 2003, 6:16pm
Hi Jamie

Ok, I try to find a solution with midiox and vb.
I hope I dont loose my vb knowledge.


Thanks

kotto

Title: Re: rpn 2 cc I'm totaly confused
Post by Jamie OConnell on Apr 21st, 2003, 1:12am
We'll add this feature (Mapping of RPN's) for the next release.



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