MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> Midi channel changes when i turn a knob?
(Message started by: dokbeat on Jan 17th, 2008, 11:23am)

Title: Midi channel changes when i turn a knob?
Post by dokbeat on Jan 17th, 2008, 11:23am
Ok, here is what i am trying to do:

I have mapped a knob from a nrpn with the min/max set to 1193 from channel 10 to  event type ctrl 1 on channel 1 and the second min/max values set to 0-127 both places...

When i am trying to map a knob on my korg emx in ableton this happen:

at first it maps alright looking like this midichannel 1/controller 1,
but when i turn the knob the values suddenly changes to 10/6(channel 10/ controller number 6)?

This is driving me nuts! any hints on what i could have done wrong?

Cheers

Bjorn

Title: Re: Midi channel changes when i turn a knob?
Post by dokbeat on Jan 17th, 2008, 11:30am
bassicly i looks like this when its mapped to 1/1

7686269 10   2    176     1     0    1  ---  CC: Modulation  

and when i start turning the knob it goes like this all the way up
to 127..

7766341 10   2    185    99     9   10  ---  CC: NRPN MSB      
7766341 10   2    185    98    41   10  ---  CC: NRPN LSB      
7766341 10   2    185     6     1   10  ---  CC: Data Entry MSB




Title: Re: Midi channel changes when i turn a knob?
Post by dokbeat on Jan 17th, 2008, 12:47pm
This is what my map looks like

http://i264.photobucket.com/albums/ii186/dokbeat/MAPPINGSETUP.jpg

Title: Re: Midi channel changes when i turn a knob?
Post by Jamie OConnell on Jan 20th, 2008, 8:20pm
Yeah, NRPN's, when handled as NRPN's are treated somewhat differently than normal MIDI Messages.  From the help file:

"When you choose NRPN as event type, the number and value fields have greater range than normal MIDI values. NRPN numbers and values are represented by 14 bit quantities: 0 - 16383 decimal. This is because 2 MIDI bytes (MSB and LSB) are used to formulate the number. When only MSB is transmitted, the magnitude of the value is similar (0 - 16256), but the granularity is not as fine."

Controller 6 (Data Entry) is the MSB of the CC:6 - CC:38 pair, so you need to map the whole range: 0 - 16256 (or 16383 if you're using CC:38) to 0 -127.

The other thing that looks weird in your picture is that subsequesnt mapping steps on the right are colored blue, which usually means that you've checked "[x] Use Input Value 1 (Pull)".  That doesn't make any sense for NRPN's -- uncheck them.


Title: Re: Midi channel changes when i turn a knob?
Post by dokbeat on Jan 21st, 2008, 3:36pm
you just saved my life!

well not really but i've been working with this for ages!
thamks Jamie!



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