MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> HELP Please CC to NRPN Mapping (resolved)
(Message started by: lifter035 on May 26th, 2006, 7:09pm)

Title: HELP Please CC to NRPN Mapping (resolved)
Post by lifter035 on May 26th, 2006, 7:09pm
Hi everyone,

Trying to map my controller to Alesis Micron and all works fine but Micron has some strange NRPN values when parameter has range for example "-100% to +100%".

Below is just a part of Alesis NRPN list for Micron

Parameter           NRPN    Min.    Max.
OSC1 Waveform:  11       0        2
Waveshape:        12       16284  100
Octave:              13       16381  3
Transpose:          14       16377  7
Pitch fine:           15       15385  999
Pwhlrange:          16       0        12

If I put for Waveshape for example CC min 0 and max 127, and NRPN min 16284 and max 100 when I turn the knob value goes to %99.9. If I put NRPN min 0 and max 100 I can get values from %0 to  +%100. So no negative values on Waveshape.

If someone understand why is min NRPN value this high and what to put as min value in MIDIOX I would appreciate any help.

Thanks

Title: Re: HELP Please CC to NRPN Mapping
Post by Jamie OConnell on May 27th, 2006, 1:55pm
I don't think I completely understand your example.  Is that MIN, MAX list directly from Alesis?  MIDI-OX mapping uses a different definition of Min, Max: it's used to decide whether an event is included (input) or how to map it (output).

NRPN's are further confusing because the NRPN value is actually a 14 bit result calculation of the 7 bit Most Significant Byte (MSB) and 7 bit Least Significant Byte (LSB) of the MIDI message.  NRPN values thus have a possible range of 0 - 16383.  This range is the result of the formula with MSB (0 -127), LSB (0 - 127):   NRPN_Value = MSB * 128 + LSB.  MIDI-OX combines these messages when you choose to Map to or from NRPNs, and thus the value range is 0 - 16383.

Here's a link to some good supplemental information:
http://www.borg.com/~jglatt/tutr/rpn.htm



Title: Re: HELP Please CC to NRPN Mapping
Post by lifter035 on May 28th, 2006, 7:12am
Hi Jamie,

Thanks for your reply. I'm pretty new to this NRPN thing. Anyway I bought Evolution UC33e controller thinking that I might control my Micron with it cause in specs of controller is stated that all controls send NRPN messages.
However I found out that it doesn't send full NRPN messages. For example when I assign NRPN to any of knobs I can setup NRPN MSB and NRPN LSB but can't assign range for data entry and when I move knob in MIDIOX Output Monitor I can see that only Data Entry LSB is showing.
So i tried mapping CC to NRPN with this great software :)
But I get problem with parameters that have "- values" (Micron values not NRPN) in Micron. Here is the link to screenshot of MIDIOX Output monitor when i turn Waveshape knob on Micron:
http://a-n-t-i-s-t-a-t-i-c.rootylicious.com/MicronWaveshapeNRPN.gif
My guess is that I should probably assign two knobs for this one for - values and one for + values. Here is the link to html representation of excel file with Micron NRPN parameters list made by guy named ohmstudiste on Ion/Micron Yahoo group, based on the list he got from Alesis:
http://a-n-t-i-s-t-a-t-i-c.rootylicious.com/micron_NRPN_parameters.htm
It's exported excel file so it's a bit messed up but you can see what I'm talking about. By the way this is the list he made to use with MIDIOX.

Thanks for the help,

Eddie

Title: Re: HELP Please CC to NRPN Mapping
Post by Jamie OConnell on May 28th, 2006, 1:44pm
I see.  If you uncheck "[ ] Send Full NRPN" in MIDI-OX mapping, it will only send the NRPN value and CC: 6.  However, you still need to map it as if it was sending both CC:6 and CC:38.  So to get a range of 0 to 100 you'd use 0 to 12900 (16383 * 100 / 127), wether you're sending full NRPN (4 messages) or not (3 messages).





Title: Re: HELP Please CC to NRPN Mapping
Post by lifter035 on Jun 5th, 2006, 6:27pm
Hi Jamie,

Haven't been here awhile. In the meantime got more clear view on NRPN but what's puzzling me is when you have negative values in Micron parameters like Waveshape has from -100% to +100%. MIDIOX showing 127 for MSB data entry and 28-127 for LSB data entry when values are in minus.
I'm mapping upper half range of the knob on UC-33 via MIDIOX: CC values 65-127 to NRPN values 0-100, and other half: CC values 0-64 to NRPN 16284-16383 and I get the same results turning the knob on uc-33 and on micron in MIDIOX Monitor output window(127 MSB dataentry and LSB dataentry from 28-127 for negative values in Micron). However only half of the knob assigned to CC values 65-127 does the job and OSC1: Waveshape value in Micron changes from 0 to 100%, other half that should change from 0 to -100% just keeps value to %100. Wondering if  this means that Micron is unable to receive these NRPN messages (sends them allright and I didn't try sending NRPN from Cubase yet) or is this MIDIOX issue. Wrecking my head over this. Maybe you have more insight in this problem.
Here is the link to .oxm file so you can see clearly wht i'm saying.
http://a-n-t-i-s-t-a-t-i-c.rootylicious.com/uc-33toMicron_waveshape.zip

Thanks again

Title: Re: HELP Please CC to NRPN Mapping(resolved)
Post by lifter035 on Jun 6th, 2006, 7:47am
Hey Jamie,

No worries, all good. Well I got Micron recently so I tought that it should have latest OS installed which proved wrong. After OS update all working good. MidiOX really rules :D

Thanks again  



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