Page 13 of 15

Re: Cross MIDI output mapping

PostPosted: 03 Nov 2013, 19:07
by Hannes
n2ma wrote:Hi Guys,

parameter="0x6b" channel="0x1"



This is what you have to use for your output.
As output command you should use the beatflash, then it would look something like this:


<mapping>
<control alias="fam(Player)[0x1].BeatFlash" value="false"/>
<MIDI type="Note" parameter="0x6b" channel="0x1" value="0"/>
</mapping>
<mapping>
<control alias="fam(Player)[0x1].BeatFlash" value="true"/><MIDI type="Note" parameter="0x6b" channel="0x1" value="127"/>
</mapping>

Best way to understand is to check out other output-sections of mappings.

Re: Cross MIDI output mapping

PostPosted: 05 Nov 2013, 22:20
by n2ma
Hi Hannes,

thanks for your reply. I finally managed to test it but unfortunatelly it doesn't work.
I used the outputs as you suggested and as I already did before by the way.
The beatflash command line did not light up any light at all. I tested it with both of my kontrol ones.
I also tried another command which is on the first page of this topic. It is about lights around a knob. This one also did not work.
As you suggested I also had a look at other mappings (especially befor posting here the first time) but i did not succed doing this.
I guess the most usefull thing is to post my mapping...?!

Sorry this mapping i far from beeing good and complete. I am just messing around in order to get everything working before doing a clean one
Code: Select all
    <mappings>
      <input-mappings>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x6b" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].Cue"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x6a" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].PlayPause"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x63" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Mixer).Crossfader"/>
          </controls>
          <preset name="Direct Fader/Knob">
            <parameters>
              <parameter object="dispatch" key="centerCCandPWvalueRange" value="64 64"/>
              <parameter object="dispatch" key="useCenteredCCandPW" value="off"/>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x65" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].PitchBend"/>
          </controls>
          <preset name="Pitch Wheel">
            <parameters>
              <parameter object="factor" key="factor" value="1"/>
              <parameter object="map" key="negativeNormalRange" value="0.37 0.5"/>
              <parameter object="map" key="positiveNormalRange" value="0.5 0.89"/>
              <parameter object="timeout" key="Repeat Time" value="100"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x60" channel="0x1"/>
            <MIDI type="CC" parameter="0x66" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].ScratchJog"/>
          </controls>
          <preset name="Touch">
            <parameters>
              <parameter object="jog" key="Backward Tick Increment Range" value="-1 -64"/>
              <parameter object="jog" key="Backward Value Range" value="63 0"/>
              <parameter object="jog" key="Built-in Period" value="0"/>
              <parameter object="jog" key="Forward Tick Increment Range" value="1 63"/>
              <parameter object="jog" key="Forward Value Range" value="65 127"/>
              <parameter object="jog" key="Has Null Value" value="off"/>
              <parameter object="jog" key="Move till Stop" value="on"/>
              <parameter object="jog" key="Ms Per Turn" value="1800"/>
              <parameter object="jog" key="Sensitivity" value="1"/>
              <parameter object="jog" key="Ticks Per Turn" value="300"/>
              <parameter object="stop timer" key="Repeat Time" value="50"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1b" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].PlayPause"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1c" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Cue"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator1Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator2Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator3Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator4Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1a" channel="0x1"/>
          </events>
          <controls>
            <control alias="mod(ShiftLogic1)"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1f" channel="0x1"/>
            <MIDI type="CC" parameter="0x20" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].ComboJog"/>
          </controls>
          <preset name="Touch">
            <parameters>
              <parameter object="jog" key="Backward Tick Increment Range" value="-1 -63"/>
              <parameter object="jog" key="Backward Value Range" value="1 63"/>
              <parameter object="jog" key="Built-in Period" value="0"/>
              <parameter object="jog" key="Forward Tick Increment Range" value="1 63"/>
              <parameter object="jog" key="Forward Value Range" value="127 65"/>
              <parameter object="jog" key="Has Null Value" value="off"/>
              <parameter object="jog" key="Move till Stop" value="on"/>
              <parameter object="jog" key="Ms Per Turn" value="1800"/>
              <parameter object="jog" key="Pitch Bend when No Touch" value="on"/>
              <parameter object="jog" key="Sensitivity" value="2.1"/>
              <parameter object="jog" key="Ticks Per Turn" value="900"/>
              <parameter object="stop timer" key="Repeat Time" value="15"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator1Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator2Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator3Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator4Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x37" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).BrowseActiveBrowsable"/>
          </controls>
          <preset name="Inc.-Dec. Integer Fader/Knob">
            <parameters>
              <parameter object="map" key="backwardIntegerRange" value="-1 -63"/>
              <parameter object="map" key="backwardNormalRange" value="0.00787401575 0.496062992"/>
              <parameter object="map" key="forwardIntegerRange" value="1 63"/>
              <parameter object="map" key="forwardNormalRange" value="1 0.511811024"/>
              <parameter object="step" key="factor" value="1"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x4" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).ChangeActiveBrowsable"/>
          </controls>
          <preset name="Direct Integer Button">
            <parameters>
              <parameter object="action-0" key="integer" value="1"/>
              <parameter object="dispatch" key="interpretCCasNote" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x9" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerA"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x8" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerB"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x21" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].PitchValue"/>
          </controls>
          <preset name="Direct Fader/Knob">
            <parameters>
              <parameter object="action-0" key="action" value="SetNormalTakeOver"/>
              <parameter object="dispatch" key="centerCCandPWvalueRange" value="57 65"/>
              <parameter object="dispatch" key="useCenteredCCandPW" value="on"/>
              <parameter object="invert" key="on" value="on"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1a" channel="0x2"/>
          </events>
          <controls>
            <control alias="mod(ShiftLogic2)"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator1Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator2Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator3Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator4Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator1Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator2Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator3Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator4Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x4" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).ChangeActiveBrowsable"/>
          </controls>
          <preset name="Inc.-Dec. Button">
            <parameters>
              <parameter object="action-0" key="integer" value="1"/>
              <parameter object="dispatch" key="interpretCCasNote" value="off"/>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x37" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).BrowseActiveBrowsable"/>
          </controls>
          <preset name="Inc.-Dec. Integer Fader/Knob">
            <parameters>
              <parameter object="map" key="backwardIntegerRange" value="-1 -63"/>
              <parameter object="map" key="backwardNormalRange" value="0.00787401575 0.496062992"/>
              <parameter object="map" key="forwardIntegerRange" value="1 63"/>
              <parameter object="map" key="forwardNormalRange" value="1 0.511811024"/>
              <parameter object="step" key="factor" value="1"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x9" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerA"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x8" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerB"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x21" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].PitchValue"/>
          </controls>
          <preset name="Direct Fader/Knob">
            <parameters>
              <parameter object="action-0" key="action" value="SetNormalTakeOver"/>
              <parameter object="dispatch" key="centerCCandPWvalueRange" value="64 64"/>
              <parameter object="dispatch" key="useCenteredCCandPW" value="on"/>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1d" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].SyncWithMaster"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1f" channel="0x2"/>
            <MIDI type="CC" parameter="0x20" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].ComboJog"/>
          </controls>
          <preset name="Touch">
            <parameters>
              <parameter object="jog" key="Backward Tick Increment Range" value="-1 -63"/>
              <parameter object="jog" key="Backward Value Range" value="1 63"/>
              <parameter object="jog" key="Built-in Period" value="0"/>
              <parameter object="jog" key="Forward Tick Increment Range" value="1 63"/>
              <parameter object="jog" key="Forward Value Range" value="127 65"/>
              <parameter object="jog" key="Has Null Value" value="off"/>
              <parameter object="jog" key="Move till Stop" value="on"/>
              <parameter object="jog" key="Ms Per Turn" value="1800"/>
              <parameter object="jog" key="Pitch Bend when No Touch" value="on"/>
              <parameter object="jog" key="Sensitivity" value="1"/>
              <parameter object="jog" key="Ticks Per Turn" value="300"/>
              <parameter object="stop timer" key="Repeat Time" value="100"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1b" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].PlayPause"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1c" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Cue"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
      </input-mappings>
      <output-mappings>
        <mapping>
          <control alias="fam(Player)[@].PlayPause" value="true"/>
          <MIDI type="Note" parameter="0x1b" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[@].PlayPause" value="false"/>
          <MIDI type="Note" parameter="0x1b" channel="0x1" value="0"/>
        </mapping>
   <mapping>
   <control alias="fam(Player)[0x1].BeatFlash" value="false"/>
   <MIDI type="Note" parameter="0x6b" channel="0x1" value="0"/>
   </mapping>
   <mapping>
   <control alias="fam(Player)[0x1].BeatFlash" value="true"/>
   <MIDI type="Note" parameter="0x6b" channel="0x1" value="127"/>
   </mapping>
   <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="true"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="false"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="0"/>
        </mapping>
   <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="true" modifiers="ML1"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="false" modifiers="ML1"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="0"/>
        </mapping>
   <mapping>
   <control alias="fam(Tracker).BrowseActiveBrowsable" value="%"/>
   <MIDI type="CC" parameter="0x37" channel="0x1" value="%"/>
   </mapping>


      </output-mappings>
    </mappings>
  </controller>
</main>


Thanks a lot for helping

Re: Cross MIDI output mapping

PostPosted: 05 Nov 2013, 22:54
by Hannes
Hi, well then your statement about play/pause being 0x6b was wrong...
It is 0x6a and 0x1b in your code, so I changed that, also note that your code is either badly pasted or buggy, the complette xml header is missing...

in the beginning there should be something like that

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>

<main>
  <version major="1" minor="0"/>
  <controller kind="MIDI">
    <id ID="2588508436"/>
    <properties Model="DJM T1 Internal mode" Manufacturer="Pioneer" Version="2.5"
                Publisher="Hannes" PCDevice="" MacDevice="" HiRes="off"/>
    <icon Data="8746.IBkSG0fBZn....PCIgDQRA....D....PHX....fpoEm2....DLmPIQEBHf.B7g.YHB..f.PRDEDU3wY46sEibd


here's corrected code from you.

Code: Select all
    <mappings>
      <input-mappings>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x6b" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].Cue"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x6a" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].PlayPause"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x63" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Mixer).Crossfader"/>
          </controls>
          <preset name="Direct Fader/Knob">
            <parameters>
              <parameter object="dispatch" key="centerCCandPWvalueRange" value="64 64"/>
              <parameter object="dispatch" key="useCenteredCCandPW" value="off"/>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x65" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].PitchBend"/>
          </controls>
          <preset name="Pitch Wheel">
            <parameters>
              <parameter object="factor" key="factor" value="1"/>
              <parameter object="map" key="negativeNormalRange" value="0.37 0.5"/>
              <parameter object="map" key="positiveNormalRange" value="0.5 0.89"/>
              <parameter object="timeout" key="Repeat Time" value="100"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x60" channel="0x1"/>
            <MIDI type="CC" parameter="0x66" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[@].ScratchJog"/>
          </controls>
          <preset name="Touch">
            <parameters>
              <parameter object="jog" key="Backward Tick Increment Range" value="-1 -64"/>
              <parameter object="jog" key="Backward Value Range" value="63 0"/>
              <parameter object="jog" key="Built-in Period" value="0"/>
              <parameter object="jog" key="Forward Tick Increment Range" value="1 63"/>
              <parameter object="jog" key="Forward Value Range" value="65 127"/>
              <parameter object="jog" key="Has Null Value" value="off"/>
              <parameter object="jog" key="Move till Stop" value="on"/>
              <parameter object="jog" key="Ms Per Turn" value="1800"/>
              <parameter object="jog" key="Sensitivity" value="1"/>
              <parameter object="jog" key="Ticks Per Turn" value="300"/>
              <parameter object="stop timer" key="Repeat Time" value="50"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1b" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].PlayPause"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1c" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Cue"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator1Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator2Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator3Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator4Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1a" channel="0x1"/>
          </events>
          <controls>
            <control alias="mod(ShiftLogic1)"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1f" channel="0x1"/>
            <MIDI type="CC" parameter="0x20" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].ComboJog"/>
          </controls>
          <preset name="Touch">
            <parameters>
              <parameter object="jog" key="Backward Tick Increment Range" value="-1 -63"/>
              <parameter object="jog" key="Backward Value Range" value="1 63"/>
              <parameter object="jog" key="Built-in Period" value="0"/>
              <parameter object="jog" key="Forward Tick Increment Range" value="1 63"/>
              <parameter object="jog" key="Forward Value Range" value="127 65"/>
              <parameter object="jog" key="Has Null Value" value="off"/>
              <parameter object="jog" key="Move till Stop" value="on"/>
              <parameter object="jog" key="Ms Per Turn" value="1800"/>
              <parameter object="jog" key="Pitch Bend when No Touch" value="on"/>
              <parameter object="jog" key="Sensitivity" value="2.1"/>
              <parameter object="jog" key="Ticks Per Turn" value="900"/>
              <parameter object="stop timer" key="Repeat Time" value="15"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator1Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator2Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator3Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" modifiers="ML1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator4Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x37" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).BrowseActiveBrowsable"/>
          </controls>
          <preset name="Inc.-Dec. Integer Fader/Knob">
            <parameters>
              <parameter object="map" key="backwardIntegerRange" value="-1 -63"/>
              <parameter object="map" key="backwardNormalRange" value="0.00787401575 0.496062992"/>
              <parameter object="map" key="forwardIntegerRange" value="1 63"/>
              <parameter object="map" key="forwardNormalRange" value="1 0.511811024"/>
              <parameter object="step" key="factor" value="1"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x4" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).ChangeActiveBrowsable"/>
          </controls>
          <preset name="Direct Integer Button">
            <parameters>
              <parameter object="action-0" key="integer" value="1"/>
              <parameter object="dispatch" key="interpretCCasNote" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x9" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerA"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x8" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerB"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x21" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].PitchValue"/>
          </controls>
          <preset name="Direct Fader/Knob">
            <parameters>
              <parameter object="action-0" key="action" value="SetNormalTakeOver"/>
              <parameter object="dispatch" key="centerCCandPWvalueRange" value="57 65"/>
              <parameter object="dispatch" key="useCenteredCCandPW" value="on"/>
              <parameter object="invert" key="on" value="on"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1a" channel="0x2"/>
          </events>
          <controls>
            <control alias="mod(ShiftLogic2)"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator1Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator2Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator3Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator4Control"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xe" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator1Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xd" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator2Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xc" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator3Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0xb" modifiers="ML2" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Locator4Clear"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x4" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).ChangeActiveBrowsable"/>
          </controls>
          <preset name="Inc.-Dec. Button">
            <parameters>
              <parameter object="action-0" key="integer" value="1"/>
              <parameter object="dispatch" key="interpretCCasNote" value="off"/>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x37" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).BrowseActiveBrowsable"/>
          </controls>
          <preset name="Inc.-Dec. Integer Fader/Knob">
            <parameters>
              <parameter object="map" key="backwardIntegerRange" value="-1 -63"/>
              <parameter object="map" key="backwardNormalRange" value="0.00787401575 0.496062992"/>
              <parameter object="map" key="forwardIntegerRange" value="1 63"/>
              <parameter object="map" key="forwardNormalRange" value="1 0.511811024"/>
              <parameter object="step" key="factor" value="1"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x9" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerA"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x8" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Tracker).LoadInPlayerB"/>
          </controls>
          <preset name="Trigger Button">
            <parameters>
              <parameter object="metronom" key="Repeat Acceleration" value="0.1"/>
              <parameter object="metronom" key="Repeat Time" value="0"/>
              <parameter object="metronom" key="Start Time" value="500"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="CC" parameter="0x21" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].PitchValue"/>
          </controls>
          <preset name="Direct Fader/Knob">
            <parameters>
              <parameter object="action-0" key="action" value="SetNormalTakeOver"/>
              <parameter object="dispatch" key="centerCCandPWvalueRange" value="64 64"/>
              <parameter object="dispatch" key="useCenteredCCandPW" value="on"/>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1d" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].SyncWithMaster"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1f" channel="0x2"/>
            <MIDI type="CC" parameter="0x20" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].ComboJog"/>
          </controls>
          <preset name="Touch">
            <parameters>
              <parameter object="jog" key="Backward Tick Increment Range" value="-1 -63"/>
              <parameter object="jog" key="Backward Value Range" value="1 63"/>
              <parameter object="jog" key="Built-in Period" value="0"/>
              <parameter object="jog" key="Forward Tick Increment Range" value="1 63"/>
              <parameter object="jog" key="Forward Value Range" value="127 65"/>
              <parameter object="jog" key="Has Null Value" value="off"/>
              <parameter object="jog" key="Move till Stop" value="on"/>
              <parameter object="jog" key="Ms Per Turn" value="1800"/>
              <parameter object="jog" key="Pitch Bend when No Touch" value="on"/>
              <parameter object="jog" key="Sensitivity" value="1"/>
              <parameter object="jog" key="Ticks Per Turn" value="300"/>
              <parameter object="stop timer" key="Repeat Time" value="100"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1b" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].PlayPause"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping>
          <events>
            <MIDI type="Note" parameter="0x1c" channel="0x2"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x2].Cue"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
      </input-mappings>
      <output-mappings>
        <mapping>
          <control alias="fam(Player)[@].PlayPause" value="true"/>
          <MIDI type="Note" parameter="0x1b" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[@].PlayPause" value="false"/>
          <MIDI type="Note" parameter="0x1b" channel="0x1" value="0"/>
        </mapping>
   <mapping>
   <control alias="fam(Player)[0x1].BeatFlash" value="false"/>
   <MIDI type="Note" parameter="0x1b" channel="0x1" value="0"/>
   </mapping>
   <mapping>
   <control alias="fam(Player)[0x1].BeatFlash" value="true"/>
   <MIDI type="Note" parameter="01b" channel="0x1" value="127"/>
   </mapping>
      <mapping>
   <control alias="fam(Player)[0x2].BeatFlash" value="false"/>
   <MIDI type="Note" parameter="0x1b" channel="0x2" value="0"/>
   </mapping>
   <mapping>
   <control alias="fam(Player)[0x2].BeatFlash" value="true"/>
   <MIDI type="Note" parameter="01b" channel="0x2" value="127"/>
   </mapping>
   <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="true"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="false"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="0"/>
        </mapping>
   <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="true" modifiers="ML1"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="false" modifiers="ML1"/>
          <MIDI type="CC" parameter="0xe" channel="0x1" value="0"/>
        </mapping>
   <mapping>
   <control alias="fam(Tracker).BrowseActiveBrowsable" value="%"/>
   <MIDI type="CC" parameter="0x37" channel="0x1" value="%"/>
        </mapping>
      </output-mappings>
    </mappings>
  </controller>
</main>

Re: Cross MIDI output mapping

PostPosted: 14 Nov 2013, 13:34
by n2ma
Hi Hannes,

thank you for the code. Unfortunatelly i am quite busy at the moment. I managed to test yours and actually now the play button was flashing. Ich just reviewed your code and i found that you used the play MIDI comand for the flash. I am going to try the same command with the cue MIDI channel.
I left the head out of my post because i though the problem ist more in the mapping section...
One thing wich still doesn't work either are the ring leds around the knobs. Any ideas?

Big Ups

Re: Cross MIDI output mapping

PostPosted: 19 Dec 2013, 11:04
by Marxon
Hi all,

does the list of the IN and OUT aliases from the first post still gets updated? Has there been changes since 2.6.0.?


Best regards
Marxon

Re: Cross MIDI output mapping

PostPosted: 19 Dec 2013, 11:18
by sylMV
A few additions for 3.0 which is not out yet. Will be updated soon.

Re: Cross MIDI output mapping

PostPosted: 19 Dec 2013, 12:49
by Marxon
Good to know!
So i will wait until the release before start mapping my controller.

Re: Cross MIDI output mapping

PostPosted: 25 Dec 2013, 19:19
by Marxon
sylMV wrote:A few additions for 3.0 which is not out yet. Will be updated soon.


This or next year? :mrgreen:

Re: Cross MIDI output mapping

PostPosted: 24 Jan 2014, 16:14
by Marxon
Hi DevTeam,

are there any news about an updated list of MIDI aliases for 3.0? :D


Best regards
Marxon

Re: Cross MIDI output mapping

PostPosted: 24 Jan 2014, 16:32
by sylMV
As soon as I got the time to, I'll do it :lol: