Cross MIDI output mapping

  

Re: Cross MIDI output mapping

Postby ddjj on 10 Feb 2015, 08:49

Here is the list of the IN and OUT aliases (updated for 3.0)
Dell Inspiron with I7 processor
Windows 8.1
8 GB Ram, 1 TB Hard Drive
Audio 2 DJ Soundcard
Allen and Heath 62 Mixer 1
Quneo Controller
Internal Intel graphics card
GT 630m Nvidia Graphics Card
ddjj
 
Posts: 175
Joined: 23 Sep 2003, 07:44
Location: phoenix, arizona USA


Re: Cross MIDI output mapping

Postby haga46 on 14 Aug 2015, 16:00

Hey there,

I've read the topic 3 times before trying to map but can't get it to work so where does it go wrong :mrgreen: I've tried a few different things but the outcome is the same.
My controller is a reloop beatmix2 ;)

The only things that work correct are the hotcue's all the rest seems to be a mess :rolleyes:

The controller isn't fully mapped but before getting it all mapped i wanted to see if i could manage the outputs :cool:

BeatMix2(Reloop)led test - 3.mappings
(65.41 KiB) Downloaded 3331 times


Thanks in advance J
User avatar
haga46
 
Posts: 154
Joined: 29 Jun 2015, 07:51


Re: Cross MIDI output mapping

Postby FigDJ on 25 Feb 2016, 20:43

Team Mixvibes

Could someone explain what is this output. Could it be related to the circle indicator for each deck? If so can it then be used to light up LEDs around a jog Wheel?


Out fam(Player)[0x1].DelayWithMaster (Normal) == "Delay with Master"
Image
FigDJ
 
Posts: 1275
Joined: 22 Apr 2012, 16:03
Location: Odenton, MD


Re: Cross MIDI output mapping

Postby baniakrulez on 31 Jan 2018, 21:51

Could someone write me a output script for this input command so I can understand on how to write led out commands for other inputs. I want to map Kontrol Z2.

thats my input command for Cue point locator 1 with CC7 note
<mapping name="Cue 1">
<events>
<MIDI type="CC" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/Knob">
<parameters>
<parameter object="invert" key="on" value="off"/>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
</input-mappings>
baniakrulez
 
Posts: 5
Joined: 21 Jun 2009, 13:56


Re: Cross MIDI output mapping

Postby baniakrulez on 31 Jan 2018, 21:51

Could someone write me a output script for this input command so I can understand on how to write led out commands for other inputs. I want to map Kontrol Z2.

thats my input command for Cue point locator 1 with CC7 note
<mapping name="Cue 1">
<events>
<MIDI type="CC" parameter="0x7" channel="0x4"/>
</events>
<controls>
<control alias="fam(Player)[0x1].Locator1Control"/>
</controls>
<preset name="Logic Fader/Knob">
<parameters>
<parameter object="invert" key="on" value="off"/>
<parameter object="range" key="range begin" value="0"/>
<parameter object="range" key="range end" value="1"/>
</parameters>
</preset>
</mapping>
</input-mappings>
baniakrulez
 
Posts: 5
Joined: 21 Jun 2009, 13:56


Re: Cross MIDI output mapping

Postby FigDJ on 01 Feb 2018, 16:13

OK this is your command below
Code: Select all
        <mapping name="Cue 1">
          <events>
            <MIDI type="cc" parameter="0x7" channel="0x4"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator1Control"/>
          </controls>
          <preset name="Logic Fader/KnobHolder Button">
           <parameters>
            <parameter object="range" key="range begin" value="0"/>
            <parameter object="range" key="range end" value="1"/>
           </parameters>
          </preset>
        </mapping>

Normally cue button are map as Holder button so it would look
like this using note or cc depending on your controller. Normally Cross would detect if it is note or cc using the MIDI learn feature.

Note Example
Code: Select all
        <mapping name="Cue 1">
          <events>
            <MIDI type="Note" parameter="0x7" channel="0x4"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator1Control"/>
          </controls>
          <preset name="Holder Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>

CC Example
Code: Select all
        <mapping name="Cue 1">
          <events>
            <MIDI type="cc" parameter="0x7" channel="0x4"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].Locator1Control"/>
          </controls>
          <preset name="Logic Fader/KnobHolder Button">
           <parameters>
            <parameter object="range" key="range begin" value="0"/>
            <parameter object="range" key="range end" value="1"/>
           </parameters>
          </preset>
        </mapping>

you go this

Now a little info on input and output commands.
Code: Select all
    <mappings>
      <input-mappings>
************************** All your input commands go here
      </input-mappings>
************************** You must create the output section
      <output-mappings>
************************** All your output(led) commands go here
************************** You must close the output section
      </output-mappings>
************************** You must close the mappings
    </mappings>
************************** You must close the controller
  </controller>
************************** You must close the file
</main>

Now an example of the led mapping in the output section
Code: Select all
        <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="true"/>
          <MIDI type="cc" parameter="0x7" channel="0x4" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].Locator1Control" value="false"/>
          <MIDI type="cc" parameter="0x7" channel="0x4" value="0"/>
        </mapping>

You must map 2 conditions for each led contition on and condition off
The above example uses value 127 for on and 0 for off.
The value of the on condition determines the intensity.

However, on controllers that have have rgb leds the value of the
on condition determines the color.

The off condition value is always 0.
In addition if you want the led to be reactive to when you set, turn off or set a loop you must also map the condition for each in the output section.
As follows
Code: Select all
        <mapping>
          <control alias="fam(Player)[0x1].Locator1KindControl" value="0"/>
          <MIDI type="cc" parameter="0x7" channel="0x4" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].Locator1KindControl" value="1"/>
          <MIDI type="cc" parameter="0x7" channel="0x4" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].Locator1KindControl" value="2"/>
          <MIDI loop="true"/>
          <MIDI type="cc" parameter="0x7" channel="0x4" value="127" duration="500"/>
          <MIDI type="cc" parameter="0x7" channel="0x4" value="0" duration="500"/>
        </mapping>

This set condition for on, off and blink when it is a loop.
the duration value determines the length of time of the state in millisecond.
500 milliseconds =.5 seconds so on the example the led turns of for .5 seconds and on for .5 seconds (blink)

Hope this helps
Image
FigDJ
 
Posts: 1275
Joined: 22 Apr 2012, 16:03
Location: Odenton, MD


Previous

Return to Mapping Midi




Who is online

Users browsing this forum: No registered users and 14 guests

 
 
   
 
© 2014 Mixvibes