MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> convert 14bit NRPN to 14bit pitchbend
(Message started by: nofish on Sep 11th, 2014, 7:56am)

Title: convert 14bit NRPN to 14bit pitchbend
Post by nofish on Sep 11th, 2014, 7:56am
Hi all, new member here...

Is it possible to convert 14bit NRPN messages to 14bit pitchbend messages (back and forth) ?

Background:
I have a BCR2000 which I use as a Mackie control emulation.
The BCR can send 14bit pitchbend in principle, but there's a problem with incoming pitchbend messages when doing so.

described here (post #2)
http://www.kvraudio.com/forum/viewtopic.php?p=4353121

So I thought maybe it's possible using 14bit NRPN instead and MIDI-OX to convert back and forth between pitchbend and NRPN ?
So the chain would be:
- BCR sends NRPN -> MIDI-OX converts to pitchbend -> DAW (REAPER)
- REAPER sends pitchbend (parameter feedback) -> MIDI-OX converts to NRPN -> BCR

(I unfortunately can't use NRPN directly to control REAPER parameters because the Mackie implementation cannot be changed to work with other messages than pitchbend)

Thanks.

Title: Re: convert 14bit NRPN to 14bit pitchbend
Post by Sonus on Sep 15th, 2014, 8:02am
Pitch Bend to NRPN by mapping into Controllers:      
     
     * PitchB * *  * * Clone -> * Ctrl 99 99  x x (NRPN MSB)      
     * PitchB * *  * * Clone -> * Ctrl 98 98  y y (NRPN LSB)      
     * PitchB * *  * * Clone -> * Ctrl 06 06  * * (Data Entry MSB)      
     * PitchB * *  * * ------ -> * Ctrl 38 38  * * (Data Entry LSB)  Use input value 1    
   
Back and forth, Pitch Bend LSB value = 0:    
   
     * PitchB * *  * * -> * NRPN  # #  0 16256 - Send full NRPN    
   
     * NRPN  # #  0 16383 -> * PitchB  0 0  0 127 - Wait for complete NRPN  

Title: Re: convert 14bit NRPN to 14bit pitchbend
Post by nofish on Sep 15th, 2014, 5:53pm
Thanks for your reply.

Making some progress, but I'd need a bit more explaination please (I'm sorry, I've dealt quite a bit of MIDI before as a user / musician but the technical stuff and MIDI-OX is still pretty new to me).

I managed to get feedback from the DAW (sending pitchbend) to a NRPN programmed controller on my BCR now (yay !), but Data entry LSB is always 0.
That's what I've got so far:

http://i.imgur.com/p360k2h.jpg

What am I missing / doing wrong ?

Thanks again.


Title: Re: convert 14bit NRPN to 14bit pitchbend
Post by Sonus on Sep 16th, 2014, 11:28am
You're welcome. Just add one more line:
 
 * PitchB * *  * * Clone -> * NRPN  # #  0 16256
 * PitchB * *  * * ------ -> * Ctrl  38 38   0    127  Use input value 1
 
Don't select 'Send full NRPN' because Data Entry LSB is on the second line.
 
The reverse process, NRPN to Pitch Bend, is only valid when LSB value = 0  :-/
 

Title: Re: convert 14bit NRPN to 14bit pitchbend
Post by nofish on Sep 16th, 2014, 5:17pm
Thanks.


on 09/16/14 at 11:28:37, Sonus wrote:
 
The reverse process, NRPN to Pitch Bend, is only valid when LSB value = 0  :-/
 


Oh but that would mean I'm stuck with 7bit again ?
So no full 14bit path back and forth possible ?

(sorry, not blaming you of course just want to make sure I did understand correctly and it's maybe just not possible with MIDI-OX ?)



Title: Re: convert 14bit NRPN to 14bit pitchbend
Post by Sonus on Sep 17th, 2014, 1:48am
You did understand correctly: no valid 14-bit path back and forth for pitch bend, only a workaround.

Pitch Bend Change, the bender, is a Channel Voice Message measured by a 14-bit value ($En)
Pitch Bend Sensitivity, the range, is a Controller, Registered Parameter Number 101 & 100 ($Bn)

Title: Re: convert 14bit NRPN to 14bit pitchbend
Post by shooking_sybase on Sep 17th, 2014, 2:28pm
Not wanting to add confusion here -- but PitchBend is an RPN not a NRPN. It is one of the few registered ones.

Check out Phil Rees website

The current MIDI standard only specifies five RPNs (numbers are shown in decimal with the MSB, CC101, first): they are Pitch Bend Sensitivity (0, 0), Fine Tuning (0, 1), Coarse Tuning (0, 2), Tuning Program Select (0, 3), and Tuning Bank Select (0, 4). Another number is in widespread use: Null (127, 127), which, very usefully, cancels the active parameter number. This dummy RPN is occasionally called Reset RPN, and it does not require a Data Entry message for parameter value.
The Pitch Bend Sensitivity RPN (0,0) is also known as Pitch Bend Range. The high order adjustment uses Controller 6 (Data Entry MSB) to set the range in semitones. The low order adjustment uses Controller 38 (Data Entry LSB) to set the range in cents (that is hundredths of a semitone.

AFAIK BCR can send this ... just make sure you use RPN rather than NRPN!



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