MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Map Exchange >> FCB1010 and MIDI OX
(Message started by: Peter L Jones on Mar 13th, 2005, 3:17pm)

Title: FCB1010 and MIDI OX
Post by Peter L Jones on Mar 13th, 2005, 3:17pm
As I mentioned elsewhere, I've got an FCB1010 and very nice it is too.

I use one bank of the footswitches to switch between some patch maps.  I've got the FCB1010 sending Prog Change messages for each footswitch with this map in place (called "PgmToChan.pmi"):

Code:
[MIDI-OX]
PatchMap=...path to...\PgmToChan.pmi
Version=7.0.0.365
[MapPaths]
Map000=...path to...\AllToCh1.oxm
Map001=...path to...\AllToCh2.oxm
Map002=...path to...\AllToCh3.oxm
Map003=...path to...\AllToCh4-pedals.oxm
Map004=...path to...\AllToCh5-voice.oxm
Map005=...path to...\AllToCh6.oxm
Map006=...path to...\AllToCh7.oxm
Map007=...path to...\AllToCh8.oxm
Map008=...path to...\AllToCh9.oxm
Map009=...path to...\AllToCh10.oxm
[Presets]
Preset000=default
Preset001=default
Preset002=default
Preset003=default
Preset004=default
Preset005=default
Preset006=default
Preset007=default
Preset008=default
Preset009=default
The .oxm files are then used to map channel 1 through 10 to the appropriate channel, letting me use the FCB1010 to change the channel on my MK249!  Neat.

The generic "AllToChN.oxm" looks like this (as a .txm):

Code:
MOXMAP Version 5

[Map]
11,*,*,*,*,*,N,0,*,*,*,*,*,*
12,*,*,*,*,*,N,0,*,*,*,*,*,*
13,*,*,*,*,*,N,0,*,*,*,*,*,*
14,*,*,*,*,*,N,0,*,*,*,*,*,*
15,*,*,*,*,*,N,0,*,*,*,*,*,*
16,*,*,*,*,*,N,0,*,*,*,*,*,*
*,*,*,*,*,*,N,0,10,*,*,*,*,*

[Options]
WaitForFullNRPN=0
MapNRPNDataIncr=0
SendFullNRPN=0
ReverseDataEntry=0
The 10 in the last line before [Options] is the bit that changes to reflect the channel number.

The "-voices" map above is to control the Tapeworm VSTi.  It has an automatable parameter to change voice that I've got set to MIDI CC 84.  But I like being able to hit Program Change to change it.  So the following line added after the "16,*,* ..." line in a map lets me:

Code:
*,ProgChg,0,4,*,*,N,0,*,Ctrl,84,84,0,127,>

The "-pedals" map turns MIDI Note On/Note Off into MIDI CC toggling - because I can't seem to get the FCB1010 to do this by itself.  Again, added after the "16,*, ..." line:

Code:
*,NoteOn,0,3,1,*,N,0,*,Ctrl,64,67,127,127
*,NoteOff,0,3,*,*,N,0,*,Ctrl,64,67,0,0
*,NoteOn,0,3,0,0,N,0,*,Ctrl,64,67,0,0
The FCB1010 is then set to transmit Note 0 to 3 on four of the switches.  MIDI OX turns these into MIDI CCs 64 to 67.  I then use these for VST automation in my host.  Notice that I've coded up for both Note Off and Note On with velocity 0 to turn the CC off, just in case!  (Actually, the FCB1010 can choose between Running Status on or off; with it on, it uses note on with velocity zero, IIRC)



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