Author |
Topic: Advanced mapping: absolute to relative (Read 1671 times) |
|
Dave_Windsor
Member
 
 MIDI-OX Rules!
Posts: 18
|
 |
Advanced mapping: absolute to relative
« on: Apr 3rd, 2002, 7:07am » |
Quote Modify
|
Hi all! I'm new to this forum, and would like to say I find midi-ox one hell of a program. Question: I have a PhatBoy midi controller (13 absolute midi knobs), and want to use it in Cubase in a relative way. I already have one working solution (posted below in bold), but would like to have it this way: When I turn a knob upwards, I want a controller value of "1". When I turn a knob downwards, I want a controller value of "127". I already fooled around a bit with converting to NRPN and back, with the option "wait for complete NRPN" checked. But, alas, with no success. Anyone able to help me out?? TIA. (Old method - posted here only for illustrating my problem) Topic: Tip: Controlling relative with absolute midi controller Dave Windsor member posted 02 April 2002 17:29 ------------------------------------------------------------------------ -------- This is what I use right now, and it works great for me: I have a Phat.Boy midi controller (13 absolute value knobs + 1 midi select knob). To avoid jumps in a mixer setup, it's often more convenient to use a relative control instead of an absolute control - absolute causes jumps when selecting another bank of controls. There are relative controls on the market (NI 4 control, Doepfer Pocket Dial), but in some situations I like to have absolute control. This is the solution I came up with: I set up MidiYoke (3 ports), and installed Midi-ox. In cubase MME settings, I disabled everything but the MY ports. In Midi-ox, I route my soundcard Midi-in to both MY-1 and MY-2. In midi-ox data mapping, I convert any controller of any channel with value 0-63 to a "127" (fixed) and value 64-127 to "1" (fixed). In Cubase Generic Remote, I select MY-1, load the Phat.Boy remote mapping XML file, and set everything to "relative". The result is the following: When I move the knob in the left part of it's rotary positions (SouthWest to North), the volume (or pan) goes down. When I move in the right part of the rotary positions (North to SouthEast), the volume goes up. This sounds awkward, but gives really a lot of control. With the channel knob, I can select a different bank of volumes/pans, and since everything is relative, this works beautiful. I can control 16*13 = 208 knobs or faders this way in a breeze. Thought this might be of use to someone, cheers Dave. Note 1: Another positive side-effect of using MidiYoke is, that you can use the same controller for both the remote and the Midi play input (keyboard/midi drum set). That's why I mapped both MY-1 and MY-2. Note 2: I edited the XML file directly. Note 3: I output Cubase to MidiYoke-3, and start a second instance of Midi-ox to capture and route the output to my soundcards MIDI-out. This way I can screen everything that goes into and out of Cubase.
|
« Last Edit: Apr 3rd, 2002, 10:10am by Jamie OConnell » |
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Advanced mapping: absolute to relative
« Reply #1 on: Apr 3rd, 2002, 10:16am » |
Quote Modify
|
Quote:When I turn a knob upwards, I want a controller value of "1". When I turn a knob downwards, I want a controller value of "127". |
| Do you need the result to only have those 2 values (like a switch)? Or do you just want to reverse the mapping (so that 0 - 127 goes to 127 - 1)?
|
|
IP Logged |
--Jamie Music is its own reward.
|
|
|
Dave_Windsor
Member
 
 MIDI-OX Rules!
Posts: 18
|
 |
Re: Advanced mapping: absolute to relative
« Reply #2 on: Apr 3rd, 2002, 11:09am » |
Quote Modify
|
The result must be only those two values. I I turn up, I want "1", if I turn down, I want "127". So it's not a simple one on one conversion; knowledge of the previous controller message is needed. That's why I tried to do something with NRPN - I hoped the "wait for full nrpn" switch would allow me to use a combination of two controller messages converted to nrpn, which then could be converted back into one single controller message... but it did not work. I also looked at the scripting possibilities, and noticed that the file "MOXKART.DLL" is not included in the 6.4.2.317 release. Is that why the supplied wsh vbs files don't work? Thanks for replying, cheers Dave!
|
|
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Advanced mapping: absolute to relative
« Reply #3 on: Apr 3rd, 2002, 7:12pm » |
Quote Modify
|
The MOXKART interface is obsolete (it never worked under NT, 2000 or XP) and has been replaced by the internal MIDIOX.MoxScript interface. Almost all of the supplied scripts use the new interface, but one or two obsolete ones were erroneously included.
|
|
IP Logged |
--Jamie Music is its own reward.
|
|
|
Dave_Windsor
Member
 
 MIDI-OX Rules!
Posts: 18
|
 |
Re: Advanced mapping: absolute to relative
« Reply #4 on: Apr 4th, 2002, 4:24am » |
Quote Modify
|
Aha, that makes sense I already jumped on the com support, works great! A preview of what I'm making: Cheers, Dave
|
|
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Advanced mapping: absolute to relative
« Reply #5 on: Apr 4th, 2002, 11:12am » |
Quote Modify
|
Looks Cool
|
|
IP Logged |
--Jamie Music is its own reward.
|
|
|
flipotto
New Member

 MIDI-OX Rules!
Posts: 3
|
 |
Re: Advanced mapping: absolute to relative
« Reply #6 on: Dec 24th, 2006, 10:10pm » |
Quote Modify
|
I have this same problem, how was it resolved? I tried a map but can't get it to work with turn absolute knob up get 01 out turn it down get 41 out. How would you take the clockwise absolute motion and convert it to single output relative, and then a dif value for ccw . I see the guy above says he has it and says look at this.... I don't see anything... Help.
|
|
IP Logged |
|
|
|
abhunkin
Member
 
 MIDI-OX Rules!

Posts: 35
|
 |
Re: Advanced mapping: absolute to relative
« Reply #7 on: Jan 4th, 2007, 6:29pm » |
Quote Modify
|
Conversion of absolute to relative values requires Scripting - unless you're happy with the unusual (and highly limited) operation Dave Windsor came up with above. Art Hunkins
|
|
IP Logged |
Art Hunkins abhunkin@uncg.edu http://www.arthunkins.com
|
|
|
|