Quantcast
Channel: Prune's Blog » OS X
Viewing all articles
Browse latest Browse all 10

Euphonix MC Transport config files

$
0
0

Check my articles about Euphonix’s MC Transport controler here and there.
If you install the software for every user on the computer (maybe you don’t have the choice, can’t remember), every defined application will have a corresponding preference file.
On my computer they are in « /Library/Application Support/Euphonix/UserSets/MC2User/MC_USER_SET__Root »

  1. prunemp:tmp prune$ ls -l /Library/Application\ Support/Euphonix/UserSets/MC2User/MC_USER_SET__Root
  2. total 744
  3. -rw-r–r–  1 prune  admin  174271  1 nov 18:01 Final Cut Pro.xml
  4. -rw-r–r–  1 prune  admin   74407 25 oct 02:23 Safari.xml
  5. -rw-r–r–  1 prune  admin   50407  1 nov 20:09 VLC.xml
  6. -r–r–r–  1 prune  admin   21894 21 avr  2009 default.xml
  7. -rw-r–r–  1 prune  admin   45115 25 oct 02:40 iTunes.xml

As you can see, it is composed of XML files. We’ll go through the VLC.xml file and try to learn about it. Then you’ll be able to download it, or change or build your own in a XML editor.
When you’re done changing it, just quit the EUcontrol software and start it over.

Structure of the file :
mc-xml1

Let’s go through the two main parts.

AppSetWide

  1. <AppSetWide>
  2.     <AppName></AppName>
  3.     <AppSetName></AppSetName>
  4.     <AppVersion></AppVersion>
  5.     <Author></Author>
  6.     <CreationDate>Mon May 23 11:09:16 2005</CreationDate>
  7.     <EuConVersion>0.1Alpha</EuConVersion>
  8.     <LastModifiedBy></LastModifiedBy>
  9.     <MCVersion>0.1Alpha</MCVersion>
  10.     <ModifiedDate>Sun Nov  1 19:41:28 2009</ModifiedDate>
  11.     <Notes></Notes>
  12.     <TargetHost></TargetHost>
  13.     <CustomWheelCommands>
  14.       <CustomWheelFunction NAME="volume" SIZE="52" TYPE="0" UID="818064B6-9542-4C43-97A1-264F388C48B0">
  15.         <NormalKeys>
  16.           <Control ID="WheelSoftKey8" TYPE="SmartSwitch">
  17.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  18.             <CommandSet SUBTYPE="OneShot">
  19.               <Command ID="1" LWIN="ON" TYPE="Key">\u </Command>
  20.             </CommandSet>
  21.           </Control>
  22.           <Control ID="WheelSoftKey9" TYPE="SmartSwitch">
  23.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  24.             <CommandSet SUBTYPE="OneShot">
  25.               <Command ID="1" LWIN="ON" TYPE="Key">\d </Command>
  26.             </CommandSet>
  27.           </Control>
  28.         </NormalKeys>
  29.         <ShiftKeys>
  30.           <Control ID="WheelSoftKey8" TYPE="SmartSwitch">
  31.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  32.             <CommandSet SUBTYPE="OneShot"/>
  33.           </Control>
  34.           <Control ID="WheelSoftKey9" TYPE="SmartSwitch">
  35.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  36.             <CommandSet SUBTYPE="OneShot"/>
  37.           </Control>
  38.         </ShiftKeys>
  39.       </CustomWheelFunction>
  40.     </CustomWheelCommands>
  41.   </AppSetWide>

First part define the application, the preset creation informations and a possible target host. Remember that the controler is networked, and could control any host on the network. I’ll have to try this with laptop soon…
Then you have the CustomWheelCommands.
If you read my second article about the MC Transport, you remember that you have to « activate » the wheel jog and the shutter with a soft key. In fact, the soft key only call a pre-defines command.
Here, we can learn that :
- NormalKeys section is used for… normal keys.
- ShiftKeys section is used for… keys when you press the shift key of the MC Transport (the lower right button)
- WheelSoftKey8 is the jog when turned right
- WheelSoftKey9 is the jog when turned left
- OneShot means no repeat of the command
- LWIN=ON is used to activate the command key of the mac keyboard. You also have LALT=ON (ALT or Option on Mac), LCTL=ON (Control), LSHFT=ON (Shift key)
- the keystroke is defines between the field

You can define multiple CustomWheelFunction, just change the NAME and the UID. About the UID, I actually don’t know how it is calculated. Maybe it just have to be unique in the XML file, or worse, in ALL XML files…

You use the exact same settings for the shuttle :

  1. <CustomWheelFunction NAME="Shuttle" SIZE="52" TYPE="1" UID="C7295A50-C8A7-4F07-AC39-B41CE77115DC">
  2.         <NormalKeys>
  3.           <Control ID="WheelSoftKey10" TYPE="SmartSwitch">
  4.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  5.             <CommandSet SUBTYPE="OneShot">
  6.               <Command ID="1" TYPE="Key">j</Command>
  7.               <Command ID="1" TYPE="Key">j</Command>
  8.               <Command ID="1" TYPE="Key">j</Command>
  9.               <Command ID="1" TYPE="Key">j</Command>
  10.             </CommandSet>
  11.           </Control>
  12.           <Control ID="WheelSoftKey11" TYPE="SmartSwitch">
  13.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  14.             <CommandSet SUBTYPE="OneShot"/>
  15.           </Control>
  16.           <Control ID="WheelSoftKey12" TYPE="SmartSwitch">
  17.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  18.             <CommandSet SUBTYPE="OneShot">
  19.               <Command ID="1" TYPE="Key">j</Command>
  20.               <Command ID="1" TYPE="Key">j</Command>
  21.               <Command ID="1" TYPE="Key">j</Command>
  22.             </CommandSet>
  23.           </Control>
  24.           <Control ID="WheelSoftKey13" TYPE="SmartSwitch">
  25.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  26.             <CommandSet SUBTYPE="OneShot"/>
  27.           </Control>
  28.           <Control ID="WheelSoftKey14" TYPE="SmartSwitch">
  29.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  30.             <CommandSet SUBTYPE="OneShot">
  31.               <Command ID="1" TYPE="Key">j</Command>
  32.               <Command ID="1" TYPE="Key">j</Command>
  33.             </CommandSet>
  34.           </Control>
  35.           <Control ID="WheelSoftKey15" TYPE="SmartSwitch">
  36.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  37.             <CommandSet SUBTYPE="OneShot"/>
  38.           </Control>
  39.           <Control ID="WheelSoftKey16" TYPE="SmartSwitch">
  40.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  41.             <CommandSet SUBTYPE="OneShot">
  42.               <Command ID="1" TYPE="Key">j</Command>
  43.             </CommandSet>
  44.           </Control>
  45.           <Control ID="WheelSoftKey17" TYPE="SmartSwitch">
  46.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  47.             <CommandSet SUBTYPE="OneShot">
  48.               <Command ID="1" TYPE="Key">k</Command>
  49.             </CommandSet>
  50.           </Control>
  51.           <Control ID="WheelSoftKey18" TYPE="SmartSwitch">
  52.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  53.             <CommandSet SUBTYPE="OneShot">
  54.               <Command ID="1" TYPE="Key">l</Command>
  55.             </CommandSet>
  56.           </Control>
  57.           <Control ID="WheelSoftKey19" TYPE="SmartSwitch">
  58.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  59.             <CommandSet SUBTYPE="OneShot"/>
  60.           </Control>
  61.           <Control ID="WheelSoftKey20" TYPE="SmartSwitch">
  62.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  63.             <CommandSet SUBTYPE="OneShot">
  64.               <Command ID="1" TYPE="Key">l</Command>
  65.               <Command ID="1" TYPE="Key">l</Command>
  66.             </CommandSet>
  67.           </Control>
  68.           <Control ID="WheelSoftKey21" TYPE="SmartSwitch">
  69.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  70.             <CommandSet SUBTYPE="OneShot"/>
  71.           </Control>
  72.           <Control ID="WheelSoftKey22" TYPE="SmartSwitch">
  73.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  74.             <CommandSet SUBTYPE="OneShot">
  75.               <Command ID="1" TYPE="Key">l</Command>
  76.               <Command ID="1" TYPE="Key">l</Command>
  77.               <Command ID="1" TYPE="Key">l</Command>
  78.             </CommandSet>
  79.           </Control>
  80.           <Control ID="WheelSoftKey23" TYPE="SmartSwitch">
  81.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  82.             <CommandSet SUBTYPE="OneShot"/>
  83.           </Control>
  84.           <Control ID="WheelSoftKey24" TYPE="SmartSwitch">
  85.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  86.             <CommandSet SUBTYPE="OneShot">
  87.               <Command ID="1" TYPE="Key">l</Command>
  88.               <Command ID="1" TYPE="Key">l</Command>
  89.               <Command ID="1" TYPE="Key">l</Command>
  90.               <Command ID="1" TYPE="Key">l</Command>
  91.             </CommandSet>
  92.           </Control>
  93.           <Control ID="WheelSoftKey25" TYPE="SmartSwitch">
  94.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  95.             <CommandSet SUBTYPE="OneShot"/>
  96.           </Control>
  97.           <Control ID="WheelSoftKey26" TYPE="SmartSwitch">
  98.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  99.             <CommandSet SUBTYPE="OneShot"/>
  100.           </Control>
  101.           <Control ID="WheelSoftKey27" TYPE="SmartSwitch">
  102.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  103.             <CommandSet SUBTYPE="OneShot"/>
  104.           </Control>
  105.           <Control ID="WheelSoftKey28" TYPE="SmartSwitch">
  106.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  107.             <CommandSet SUBTYPE="OneShot"/>
  108.           </Control>
  109.           <Control ID="WheelSoftKey29" TYPE="SmartSwitch">
  110.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  111.             <CommandSet SUBTYPE="OneShot"/>
  112.           </Control>
  113.           <Control ID="WheelSoftKey30" TYPE="SmartSwitch">
  114.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  115.             <CommandSet SUBTYPE="OneShot"/>
  116.           </Control>
  117.           <Control ID="WheelSoftKey31" TYPE="SmartSwitch">
  118.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  119.             <CommandSet SUBTYPE="OneShot"/>
  120.           </Control>
  121.           <Control ID="WheelSoftKey32" TYPE="SmartSwitch">
  122.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  123.             <CommandSet SUBTYPE="OneShot"/>
  124.           </Control>
  125.           <Control ID="WheelSoftKey33" TYPE="SmartSwitch">
  126.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  127.             <CommandSet SUBTYPE="OneShot"/>
  128.           </Control>
  129.           <Control ID="WheelSoftKey34" TYPE="SmartSwitch">
  130.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  131.             <CommandSet SUBTYPE="OneShot"/>
  132.           </Control>
  133.           <Control ID="WheelSoftKey35" TYPE="SmartSwitch">
  134.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  135.             <CommandSet SUBTYPE="OneShot"/>
  136.           </Control>
  137.           <Control ID="WheelSoftKey36" TYPE="SmartSwitch">
  138.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  139.             <CommandSet SUBTYPE="OneShot"/>
  140.           </Control>
  141.           <Control ID="WheelSoftKey37" TYPE="SmartSwitch">
  142.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  143.             <CommandSet SUBTYPE="OneShot"/>
  144.           </Control>
  145.           <Control ID="WheelSoftKey38" TYPE="SmartSwitch">
  146.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  147.             <CommandSet SUBTYPE="OneShot"/>
  148.           </Control>
  149.           <Control ID="WheelSoftKey39" TYPE="SmartSwitch">
  150.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  151.             <CommandSet SUBTYPE="OneShot"/>
  152.           </Control>
  153.           <Control ID="WheelSoftKey40" TYPE="SmartSwitch">
  154.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  155.             <CommandSet SUBTYPE="OneShot"/>
  156.           </Control>
  157.           <Control ID="WheelSoftKey41" TYPE="SmartSwitch">
  158.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  159.             <CommandSet SUBTYPE="OneShot"/>
  160.           </Control>
  161.           <Control ID="WheelSoftKey42" TYPE="SmartSwitch">
  162.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  163.             <CommandSet SUBTYPE="OneShot"/>
  164.           </Control>
  165.           <Control ID="WheelSoftKey43" TYPE="SmartSwitch">
  166.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  167.             <CommandSet SUBTYPE="OneShot"/>
  168.           </Control>
  169.           <Control ID="WheelSoftKey44" TYPE="SmartSwitch">
  170.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  171.             <CommandSet SUBTYPE="OneShot"/>
  172.           </Control>
  173.           <Control ID="WheelSoftKey45" TYPE="SmartSwitch">
  174.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  175.             <CommandSet SUBTYPE="OneShot"/>
  176.           </Control>
  177.           <Control ID="WheelSoftKey46" TYPE="SmartSwitch">
  178.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  179.             <CommandSet SUBTYPE="OneShot"/>
  180.           </Control>
  181.           <Control ID="WheelSoftKey47" TYPE="SmartSwitch">
  182.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  183.             <CommandSet SUBTYPE="OneShot"/>
  184.           </Control>
  185.           <Control ID="WheelSoftKey48" TYPE="SmartSwitch">
  186.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  187.             <CommandSet SUBTYPE="OneShot"/>
  188.           </Control>
  189.           <Control ID="WheelSoftKey49" TYPE="SmartSwitch">
  190.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  191.             <CommandSet SUBTYPE="OneShot"/>
  192.           </Control>
  193.           <Control ID="WheelSoftKey50" TYPE="SmartSwitch">
  194.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  195.             <CommandSet SUBTYPE="OneShot"/>
  196.           </Control>
  197.           <Control ID="WheelSoftKey51" TYPE="SmartSwitch">
  198.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  199.             <CommandSet SUBTYPE="OneShot"/>
  200.           </Control>
  201.           <Control ID="WheelSoftKey52" TYPE="SmartSwitch">
  202.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  203.             <CommandSet SUBTYPE="OneShot"/>
  204.           </Control>
  205.         </NormalKeys>
  206.         <ShiftKeys>
  207. … (removed)
  208.         </ShiftKeys>
  209.       </CustomWheelFunction>

WheelSoftKey17 is the position 0. 18 to 24 is for the + (right) section. 16 to 10 for the – (minus) side. 25 and above is for the transitions. I haven’t tried it yet.

ControlBindings

  1. <ControlBindings>
  2.     <Section ID="0" NAME="">
  3.       <Bank ID="0" SIZE="16">
  4.         <NormalKeys>
  5.           <Control ID="SoftKey1" TYPE="SmartSwitch">
  6.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  7.             <CommandSet SUBTYPE="OneShot"/>
  8.           </Control>
  9.           <Control ID="SoftKey2" TYPE="SmartSwitch">
  10.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="Welcome" TYPE="Text"/>
  11.             <CommandSet SUBTYPE="OneShot">
  12.               <Command ID="1" TYPE="Key"></Command>
  13.             </CommandSet>
  14.           </Control>
  15.           <Control ID="SoftKey3" TYPE="SmartSwitch">
  16.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="To" TYPE="Text"/>
  17.             <CommandSet SUBTYPE="OneShot">
  18.               <Command ID="1" TYPE="Key"></Command>
  19.             </CommandSet>
  20.           </Control>
  21.           <Control ID="SoftKey4" TYPE="SmartSwitch">
  22.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="The" TYPE="Text"/>
  23.             <CommandSet SUBTYPE="OneShot"/>
  24.           </Control>
  25.           <Control ID="SoftKey5" TYPE="SmartSwitch">
  26.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="To" TYPE="Text"/>
  27.             <CommandSet SUBTYPE="OneShot"/>
  28.           </Control>
  29.           <Control ID="SoftKey6" TYPE="SmartSwitch">
  30.             <Label FONT="Arial Bold" FONTSIZE="12.0000" ICON="LOGO – Euphonix wave.gif" NOTEXT="1" TYPE="Icon"/>
  31.             <CommandSet SUBTYPE="OneShot">
  32.               <Command ID="1" TYPE="Key"></Command>
  33.             </CommandSet>
  34.           </Control>
  35.           <Control ID="SoftKey7" TYPE="SmartSwitch">
  36.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="Extensive" TYPE="Text"/>
  37.             <CommandSet SUBTYPE="OneShot">
  38.               <Command ID="1" TYPE="Key"></Command>
  39.             </CommandSet>
  40.           </Control>
  41.           <Control ID="SoftKey8" TYPE="SmartSwitch">
  42.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="Control" TYPE="Text"/>
  43.             <CommandSet SUBTYPE="OneShot">
  44.               <Command ID="1" TYPE="Key"></Command>
  45.             </CommandSet>
  46.           </Control>
  47.           <Control ID="SoftKey9" TYPE="SmartSwitch">
  48.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="Protocol" TYPE="Text"/>
  49.             <CommandSet SUBTYPE="OneShot">
  50.               <Command ID="1" TYPE="Key"></Command>
  51.             </CommandSet>
  52.           </Control>
  53.           <Control ID="SoftKey10" TYPE="SmartSwitch">
  54.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="On" TYPE="Text"/>
  55.             <CommandSet SUBTYPE="OneShot"/>
  56.           </Control>
  57.           <Control ID="SoftKey11" TYPE="SmartSwitch">
  58.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="The" TYPE="Text"/>
  59.             <CommandSet SUBTYPE="OneShot"/>
  60.           </Control>
  61.           <Control ID="SoftKey12" TYPE="SmartSwitch">
  62.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="To" TYPE="Text"/>
  63.             <CommandSet SUBTYPE="OneShot"/>
  64.           </Control>
  65.           <Control ID="SoftKey13" TYPE="SmartSwitch">
  66.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  67.             <CommandSet SUBTYPE="OneShot"/>
  68.           </Control>
  69.           <Control ID="SoftKey14" TYPE="SmartSwitch">
  70.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  71.             <CommandSet SUBTYPE="OneShot"/>
  72.           </Control>
  73.           <Control ID="SoftKey15" TYPE="SmartSwitch">
  74.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  75.             <CommandSet SUBTYPE="OneShot"/>
  76.           </Control>
  77.           <Control ID="SoftKey16" TYPE="SmartSwitch">
  78.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  79.             <CommandSet SUBTYPE="OneShot"/>
  80.           </Control>
  81.         </NormalKeys>
  82.       </Bank>
  83.     </Section>

ControlBindings are made of Sections.
I can actually see 14 Sections. I think some of then are used by the MC Transport, while others are used by MC Control or other Euphonix hardware.
Inside a Section is a Bank. For the moment, every Section seems to only have one Bank, with ID=0.
In Section=2, Bank is empty :

  1. <Section ID="2" NAME="">
  2.       <Bank ID="0" SIZE="0"/>
  3.     </Section>

I really don’t want to mess things up. Let’s go to what is defined for standard control : Section 10

  1. <Section ID="10" NAME="">
  2.       <Bank ID="0" SIZE="6">
  3.         <NormalKeys>
  4.           <Control ID="SoftKey1" TYPE="SmartSwitch">
  5.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="volume&#xA;" NOTEXT="1" TYPE="Text"/>
  6.             <CommandSet SUBTYPE="OneShot">
  7.               <Command ECI="0" FUNC="1" FUNCUID="818064B6-9542-4C43-97A1-264F388C48B0" ID="1" SURFIDX="0" SURFTYPE="4" TYPE="WheelMode" WHEELTYPE="0"/>
  8.             </CommandSet>
  9.           </Control>
  10.           <Control DELAY="500" FREQ="100" ID="SoftKey2" RepeatEntry="True" TYPE="SmartSwitch">
  11.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="volume2" NOTEXT="1" TYPE="Text"/>
  12.             <CommandSet SUBTYPE="OneShot">
  13.               <Command ECI="0" FUNC="1" FUNCUID="49BEE8AE-891B-4507-918B-138C4E81FE61" ID="1" SURFIDX="0" SURFTYPE="4" TYPE="WheelMode" WHEELTYPE="0"/>
  14.             </CommandSet>
  15.           </Control>
  16.           <Control ID="SoftKey3" TYPE="SmartSwitch">
  17.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  18.             <CommandSet SUBTYPE="OneShot"/>
  19.           </Control>
  20.           <Control ID="SoftKey4" TYPE="SmartSwitch">
  21.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  22.             <CommandSet SUBTYPE="OneShot"/>
  23.           </Control>
  24.           <Control ID="SoftKey5" TYPE="SmartSwitch">
  25.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  26.             <CommandSet SUBTYPE="OneShot"/>
  27.           </Control>
  28.           <Control ID="SoftKey6" TYPE="SmartSwitch">
  29.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  30.             <CommandSet SUBTYPE="OneShot"/>
  31.           </Control>
  32.         </NormalKeys>
  33.         <ShiftKeys>
  34.           <Control ID="SoftKey1" TYPE="SmartSwitch">
  35.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  36.             <CommandSet SUBTYPE="OneShot"/>
  37.           </Control>
  38.           <Control ID="SoftKey2" TYPE="SmartSwitch">
  39.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  40.             <CommandSet SUBTYPE="OneShot"/>
  41.           </Control>
  42.           <Control ID="SoftKey3" TYPE="SmartSwitch">
  43.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  44.             <CommandSet SUBTYPE="OneShot"/>
  45.           </Control>
  46.           <Control ID="SoftKey4" TYPE="SmartSwitch">
  47.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  48.             <CommandSet SUBTYPE="OneShot"/>
  49.           </Control>
  50.           <Control ID="SoftKey5" TYPE="SmartSwitch">
  51.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  52.             <CommandSet SUBTYPE="OneShot"/>
  53.           </Control>
  54.           <Control ID="SoftKey6" TYPE="SmartSwitch">
  55.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NOTEXT="1" TYPE="Text"/>
  56.             <CommandSet SUBTYPE="OneShot"/>
  57.           </Control>
  58.         </ShiftKeys>
  59.       </Bank>
  60.     </Section>

This is working exactly the same way as the section before. This section is defined for the so called « soft keys »

  1. <Control ID="SoftKey1" TYPE="SmartSwitch">
  2.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="volume&#xA;" NOTEXT="1" TYPE="Text"/>
  3.             <CommandSet SUBTYPE="OneShot">
  4.               <Command ECI="0" FUNC="1" FUNCUID="818064B6-9542-4C43-97A1-264F388C48B0" ID="1" SURFIDX="0" SURFTYPE="4" TYPE="WheelMode" WHEELTYPE="0"/>
  5.             </CommandSet>
  6.           </Control>

- SoftKey1 is the first on the left
- Command is linked to the UID of the CustomWheelFunction defined before

  1. <Control DELAY="500" FREQ="100" ID="SoftKey2" RepeatEntry="True" TYPE="SmartSwitch">
  2.             <Label FONT="Arial Bold" FONTSIZE="12.0000" NAME="volume2" NOTEXT="1" TYPE="Text"/>
  3.             <CommandSet SUBTYPE="OneShot">
  4.               <Command ECI="0" FUNC="1" FUNCUID="49BEE8AE-891B-4507-918B-138C4E81FE61" ID="1" SURFIDX="0" SURFTYPE="4" TYPE="WheelMode" WHEELTYPE="0"/>
  5.             </CommandSet>
  6.           </Control>

Here you define how the SoftKey2 behave.
- RepeatEntry= »True » is to activate the auto-repeat of the keystroke
- DELAY= »500″ is the time to wait between the first time and the second
- FREQ= »100″ is the repetition delay 10 times per second, so 100ms. Section The interface you can only choose from 30 to 2 times per second. Maybe changing it in the XML file will allow to set it to 1 times per second ?

Section ID=11 is made for the Numpad. Nothing to change here for now…
Section ID=12 is for the Transport Keys, the 7 keys around the shuttle.
Let’s take some examples :

  1. <Control DELAY="500" FREQ="16" ID="WheelSoftKey2" RepeatEntry="True" TYPE="SmartSwitch">
  2.             <Label COLOR="ff00b70b" FONT="Arial Bold" FONTSIZE="12.0000" NAME="back&#xA;" NOTEXT="1" TYPE="Text"/>
  3.             <CommandSet SUBTYPE="OneShot">
  4.               <Command ID="1" LALT="ON" LWIN="ON" TYPE="Key">\l </Command>
  5.             </CommandSet>
  6.           </Control>

Here, again, you have an auto-repeat. The delay have been set to « as fast as possible ». FREQ=16 means, theoricaly, every 16ms. Set to FREQ=1000 for once per second.
COLOR=ff00b70b set the color of the button. This is a dark green. I don’t really understand how the MC Transport handle color. Also I don’t understant how they code the color on 4 hexa blocs… If you use this, the switch will be light green. Else, it will be light yellow.
Everything else is already known.

Now you should have everything you need to build your own config file. Enjoy and share your own presets. You can get my VLC preset on the download page, or use the direct link here.


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images