MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> APC40 to BlueLite X1 mapping?
(Message started by: AhClem on Dec 18th, 2012, 8:27pm)

Title: APC40 to BlueLite X1 mapping?
Post by AhClem on Dec 18th, 2012, 8:27pm
I'm trying to use an Akai APC40 as a MIDI controller for our BlueLite X1 DMX lighting controller, but I seem to be having a senior moment while trying to remap the MIDI data in MIDI-OX.  
I'm using an HP, Windows 8 laptop running MIDI-OX and MIDI-Yoke (it's the only system I could get MIDI-Yoke and the APC40 to both  install correctly), the BlueLite software is recognizing MIDI-Yoke Inputs 1-8 as valid MIDI sources and the APC40 is being recognized by MIDI-OX.  
I'm trying to take the APC40's 48 buttons, which are arranged in 8 rows (MIDI channels 1-8) with each row having 6 buttons that send Note On/Off messages for notes 34-39 (the same 6 notes on each of the 8 channels) and 'remap' them to Channel 1, notes 60-108.
In the MIDI Port Routing, the APC40 is connected to the "Out to MIDI yoke: 1" with my 'APC40.oxm' file in the Connection Properties box.  The APC40.oxm file I created, contains two entries:
         INPUT                           OUTPUT
1  NoteOn  34 39 * *     -      1  *  60 64 * *
1  NoteOff  34 39 * *     -      1  *  60 64 * *


(so far I've only tried to remap the first row)
but the Monitor Output window and the BlueLite software only seem to recognize the original note values (i.e. notes 34-39).
What am I missing?   :-[
Thanx!

Title: Re: APC40 to BlueLite X1 mapping?
Post by Breath on Dec 19th, 2012, 6:55am
Did you see the "Turn Map On" checkbox next to the OK button on the Translation Map dialog?
If it is on the Menu item "Data Mapping..." should have a tick against it.

This is the first Note map I have tried and I noticed that you only have to put a Note On event map and both Note On and Note Off are translated.

Makes sense. Well done Jamie.

All the best
Royce

Title: Re: APC40 to BlueLite X1 mapping?
Post by AhClem on Dec 19th, 2012, 10:20am
Yes...  I've done this type of thing years ago (and didn't seem to have this much trouble.. but I was so much younger then), so I have the "Turn Map On (after OK)" checked and I've run tests with the "Turn on Computer Piano Keys Mapping" checked and unchecked, I've even tried it once with the "Send Full NRPN" selection checker.  I've tried it just by "Turn Map On" being checked and with the saved .oxm map file selected in the small "Connection Properties " box on the routing map, etc.  
I'm stumped.

Title: Re: APC40 to BlueLite X1 mapping?
Post by Breath on Dec 20th, 2012, 6:07pm
So you have connected the APC40 as a Midi interface and MidiOx is displaying the notes in the Input Window.
You have routed it to MidiYoke on the Midi Port Routing window to BlueLite.
You are seeing the original notes unchanged in the Output window with the  MidiYoke prefix against the data.
So there can't be a note filter on.
You only have the one mapping line (or 2, perhaps remove the redundant line although it doesn't seem to make any difference to me)

You don't need the Computer keys mapping turned on.
In fact there should be no other check box ticked in the mapping except for 'Turn Map On'.
Your map lines should not have any boxes ticked either.

My map line is
Channel    Event   ....  Min  Note# Max   Min Velocity Max  
    1 ..... NoteOn  ....  34   ........  39  ... -1  .......... -1
    1 ..... MatchIn ....  60  .........  65  ... -1  .......... -1

(... needed to align data in this forum)

This works perfectly for me. I can't generate the error.
I'll send you my mapping file.
I hope that is OK.

I did notice that you are trying to map 6 notes 34,35,36,37,38,39 to five notes 60,61,62,63,64

Your map 34,35,36,37,38,39 notes to 60,61,62,63,64 notes MidiOx will output 60,61,62,62,63,64

Interestingly if you map 34,35,36,37,38,39 notes to 60,61,62 notes MidiOx will output 60,60,61,61,62,62


Title: Re: APC40 to BlueLite X1 mapping?
Post by AhClem on Dec 20th, 2012, 9:48pm
I am soooo embarrassed   :-[ ....
I just crashed a lander into Mars because I forgot to convert from feet to meters, or in this case from Hex to Decimal.  It works great if you actually are trying to convert the correct note range. ( By the way, the initial mapping I posted was just a typo causing the 6 -> 5 mismatch on the conversion.) The correct values I'm using are 'Input notes 53-57 -> Output notes 60-64' (good enough for 'proof of concept').

Now that I'm over my 'synapse lapse', I'll finish mapping the controls of the APC40 for our lighting control and pass it along to my customer down in Antigua.  
Let me know if there's anyone else out that has an opinion on how to map the APC40 that would be convenient for lighting control.
Thanks for taking the time to send over the mapping file.  I appreciate the help.



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