Page 10 of 15

Re: Cross MIDI output mapping

PostPosted: 22 May 2013, 16:02
by Di Rossi
This is cool but i don't understand nothing of mappings and commands and that thing :rolleyes: :)

Re: Cross MIDI output mapping

PostPosted: 22 May 2013, 16:17
by sylMV
acemc wrote:Are there any significant additions to the output coding for 2.4? What I mean is apart from the extra commands for Decks C+D, has there been any other additional commands put in?
Still struggling to find a suitable command for jog wheel led's.

Nothing new for this purpose.

acemc wrote:Also, I was wondering about the "state request" can we use a sysex command for this?

Unfortunately no.

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 09:15
by Hannes
I dont get the freaking output right :lol:
Maybe someone can help me, please, here's the mapping:

https://dl.dropboxusercontent.com/u/248 ... 9.mappings

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 09:53
by sylMV
Your file is a bit messed up!

Some input mappings are between the <output-mappings> tags whereas they shold be in the <input-mappings> section.

These:
Code: Select all
<mapping>
          <events>
            <MIDI type="Note" parameter="0x5b" 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="0x5f" 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="0x63" 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="0x67" 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="Note" parameter="0x5d" channel="0x1"/>
          </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="0x61" channel="0x1"/>
          </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="0x65" channel="0x1"/>
          </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="0x69" channel="0x1"/>
          </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>


Moreover, the firt 'ouput-mapping' tag is wrong:

It should be:
Code: Select all
<output-mappings>

but it is
Code: Select all
<output-mappings/>

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 09:57
by Hannes
ooopsie ;)

I just c&p and the U-Mix Control Pro stock mapping and tried to understand, at east now I know a bit how xml is set up :lol:
thx syl!

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 10:06
by Hannes
So the mappings with "acceleration" are inputs?
I thought that was for the led-pulsing or something....

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 10:11
by sylMV
Hannes wrote:So the mappings with "acceleration" are inputs?
I thought that was for the led-pulsing or something....


Not at all, all stuff with presets are inputs.

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 10:23
by Hannes
lol, reproduced my error, just searched the stock mapping with ctrl+f and didnt see i was led to the input section, cause i searchd backwards....

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 10:47
by Hannes
updated, but ish just dont lite up :twisted:

Re: Cross MIDI output mapping

PostPosted: 14 Jun 2013, 11:17
by sylMV
http://validator.w3.org/check


Line 1500, Column 22: end tag for "mapping" omitted, but OMITTAG NO was specified
</output-mappings>

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


:mrgreen: