User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - How to Map NRPN Messages »
Welcome, Guest. Please Login or Register.
May 7th, 2025, 2:06am


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


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   How to Map NRPN Messages
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: How to Map NRPN Messages  (Read 7885 times)
Claire_Baker
New Member
*



MIDI-OX Rules!

   


Posts: 1
How to Map NRPN Messages
« on: Apr 4th, 2014, 10:32am »
Quote Quote Modify Modify

How do you map NRPN messages ?
 
A button on my synth sends (for "off")
NRPN MSB  99 0
NRPN LSB 98 9
NRPN MSB Data 6 0
 
For "button on" it sends:
NRPN MSB 99 0
NRPN LSB 98 9
NRPN MSB Data 6 1
 
It does not send any NRPN LSB Data msg.
 
I have set up the mapping line
* NRPN 9 9 0 0   | * Ctrl 7 7 0 0
which does work.
 
I can't work out how to detect the "button on" message however.  i.e. that is the msg where the 2nd byte of the NRPN data group has changed from '0'  to '1'.
 
The mapping line
* NRPN 9 9 1 1  | * Ctrl 7 7 127 127
does NOT work.
 
Can anybody help me with this ?
Another way of asking the same question is:
How do you set up mapping to detect NRPN MSB Data fields ?
 
Thank you for any help anyone can provide for this.
 
Regards,
Claire Baker
IP Logged
Breath
Administrator
*****





   
WWW

Gender: male
Posts: 1030
Re: How to Map NRPN Messages
« Reply #1 on: Apr 4th, 2014, 11:03pm »
Quote Quote Modify Modify

Hi Claire,
 
I have never looked at the NRPN mapping.
At first it seems to be seriously buggy, but further investigation shows that Jamie treats the NRPN value as a 14 bit number even if you are just using a 3 byte message.
 
I don't think this is the way a lot of other people think (including you, by the look of it, and me).
 
Anyway, because you are putting out the value MSB, really your values are  
0 =  00 00 = 0
1 =  01 00 = 128  
 
As there is no value LSB the 128 value could, in fact, be anything from 128 to 255
 
Try this
* NRPN 9 9    0     0  | * Ctrl 7 7    0    0
* NRPN 9 9  128 128  | * Ctrl 7 7 127 127
 
 
Hope this helps
 
All the best
Royce
IP Logged
ClaireBaker
New Member
*



MIDI-OX Rules!

   
Email

Posts: 2
Re: How to Map NRPN Messages
« Reply #2 on: Apr 25th, 2014, 12:40am »
Quote Quote Modify Modify

Hi Royce,
Thank you for your fast and informative reply.  It was very helpful in enabling me to detect and map the NRPN Data Entry MSB.
 
Since then however, I have done extensive testing (several hard days of severe head scratching) and have reached the conclusing that I don't think there is any way to make Midi-Ox detect changes in the NRPN MSB message (Msg 99 or 63H).
 
Unfortunately my synth manufacturer uses this to identify individual buttons.
 
I base my statement that 'I can't find any way to make Midi-Ox detect the data in the NRPN MSB message (99)' on the fact that checking either or both of tick boxes "Use Input Value 1(Pull)" or "Use Input Value 2(Pull) does not replicate changes in the data value for the NRPN MSB 99 message.  I can therefore only conclude there is no way to get Midi-Ox to detect this field.
 
I'd be interested in your (or anyone else's) comments on this.
 
Nevertheless, I think Midi-Ox is a still an excellent piece of software.  Great work !
 
Cheers!
 
Best regards,
Claire Baker
IP Logged
Breath
Administrator
*****





   
WWW

Gender: male
Posts: 1030
Re: How to Map NRPN Messages
« Reply #3 on: Apr 25th, 2014, 9:04pm »
Quote Quote Modify Modify

Hi Claire
I'm afraid I couldn't make it work either.
Perhaps there is a trick to it and Jamie can let us know.
 
You can use Bome's Midi Translator.
There is a free classic edition that would suite your needs.
http://www.bome.com/products/miditranslator/overview/classic
 
You just set up your Midi ports, create a new preset, and add a translation line.
The input is in hex and so you can type B0 63  00 B0 62 09 B0 06 pp .
The pp is the value.
The output is simply B0 07 pp
 
Hope this helps
Royce
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


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