Mapping Of Loops to Pads On Dj2Go2

  
Forum rules
Click here to join MIxvibes on DISCORD https://discord.gg/gMdQJ2cJqa

Mapping Of Loops to Pads On Dj2Go2

Postby brnfee on 17 Apr 2018, 23:46

Hi All,
i have managed to map all functions and leds to the DJ 2Go2 however am struggling to work out how to map pads to light up when assigning loop in/out and auto loop can anyone help?
brnfee
 
Posts: 7
Joined: 22 Dec 2015, 21:39


Re: Mapping Of Loops to Pads On Dj2Go2

Postby FigDJ on 18 Apr 2018, 01:13

Need more details on how you want to map. Looking at the controller you have 4 pads. On manual loop mode I guest you want
Loopin. Lookout
Loop 1/2. Loop double.

On autoloop mode it depends on the size loop for each pad.
If I get additional details I can post the code you need.
Image
FigDJ
 
Posts: 1355
Joined: 22 Apr 2012, 17:03
Location: Odenton, MD


Re: Mapping Of Loops to Pads On Dj2Go2

Postby brnfee on 18 Apr 2018, 06:35

Hi Fig
Firstly thank you for the reply yes you are spot on its 8 pads 4 for manual loop and 4 for auto loop I've managed to get every other light working it's just these ones really appreciate your help

Kind Regards
Brendan
brnfee
 
Posts: 7
Joined: 22 Dec 2015, 21:39


Re: Mapping Of Loops to Pads On Dj2Go2

Postby brnfee on 18 Apr 2018, 06:39

I'm missing something for auto loops 2,4,8 and 16 should do the trick
brnfee
 
Posts: 7
Joined: 22 Dec 2015, 21:39


Re: Mapping Of Loops to Pads On Dj2Go2

Postby FigDJ on 18 Apr 2018, 15:36

If you already mapped the auto loop pads your code should look something like this.

Since I don't know the parameters or channels for your controller I made some assumptions for the purpose of the example

Assumed= Your controller is using channel 1 -- channel="0x1"

Assumed= Your pad MIDI address asre 1,2,3,4
parameter="0x1"
parameter="0x2"
parameter="0x3"
parameter="0x4"

Code: Select all
        <mapping name="AUTOLOOP PAD1">
          <events>
            <MIDI type="Note" parameter="0x1" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].AutoLoop2BeatsControl"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping name="AUTOLOOP PAD2">
          <events>
            <MIDI type="Note" parameter="0x2" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].AutoLoop4BeatsControl"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping name="AUTOLOOP PAD3">
          <events>
            <MIDI type="Note" parameter="0x3" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].AutoLoop8BeatsControl"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping name="AUTOLOOP PAD4">
          <events>
            <MIDI type="Note" parameter="0x4" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].AutoLoop16BeatsControl"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>


Cross uses values to determine a loop size
The values that correspond to a loop size are listed below.

Selection value 1 2 3 4
Loop length 1/32 1/16 1/8 1/4

Selection value 5 6 7 8
Loop length 1/2 1 2 4

Selection value 9 10 11 12 13
Loop length 8 16 32 3/4 1/3

When trying to map led on a pad array for loops the correct way is as follows.
Assumed parameter 1,2,3,4 are the MIDI address for pads 1,2,3,4

Code: Select all
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="0"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="1"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="2"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="3"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="4"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="5"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="6"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="7"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="127"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="8"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="127"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="9"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="127"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="10"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="11"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="12"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].AutoLoopSelectAndTrigger" value="13"/>
          <MIDI type="Note" parameter="0x1" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x2" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x3" channel="0x1" value="0"/>
          <MIDI type="Note" parameter="0x4" channel="0x1" value="0"/>
        </mapping>


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


Re: Mapping Of Loops to Pads On Dj2Go2

Postby FigDJ on 18 Apr 2018, 15:59

I forgot to ask

I had mentioned

Loopin Loopout
Loophalve Loopdouble

as commands for the manual loop mode

The manual for the DJ2GO2 list the following

Loopin Loopout
Loopon/off Reloop


How do you want to map manual loop mode?
Image
FigDJ
 
Posts: 1355
Joined: 22 Apr 2012, 17:03
Location: Odenton, MD


Re: Mapping Of Loops to Pads On Dj2Go2

Postby brnfee on 18 Apr 2018, 17:41

Fig thank you ever so much and really appreciate your help
i used to dabble in html so understand nesting etc. and found a useful list of all commands posted here, am new to xml however dissected a mixtrack quad map to get me where i am but just couldn't work out what i was doing wrong with the pads and loops .
will work through what you have given me and will let you know how it goes. once again thank you so much really appreciate you help

Kind Regards
Brendan
brnfee
 
Posts: 7
Joined: 22 Dec 2015, 21:39


Re: Mapping Of Loops to Pads On Dj2Go2

Postby brnfee on 18 Apr 2018, 21:51

Fig thanks for your help today much appreciated all good fully mapped Dj2Go2 I get it now but wouldn't have got there on my own many thanks
Brendan
brnfee
 
Posts: 7
Joined: 22 Dec 2015, 21:39


Re: Mapping Of Loops to Pads On Dj2Go2

Postby brnfee on 21 Apr 2018, 12:06

Hi Fig
Sorry to be a pain but for some reason manual loop mode not lighting up on my Dj2Go2 the commands are on 4 pads loop in loop out loop off and reloop on off can you help.

Mixvibes give this man a job forum manager would be appropriate!
brnfee
 
Posts: 7
Joined: 22 Dec 2015, 21:39


Re: Mapping Of Loops to Pads On Dj2Go2

Postby FigDJ on 21 Apr 2018, 17:04

brnfee wrote:Hi Fig
Sorry to be a pain but for some reason manual loop mode not lighting up on my Dj2Go2 the commands are on 4 pads loop in loop out loop off and reloop on off can you help.

Mixvibes give this man a job forum manager would be appropriate!

OK you already know about parameters and channels so you have to change those to match your controller.
For pads 1,2,3, and 4 the commands are
LoopIn, LoopOut, LoopOnOff, ReloopOnOff, reg(RegisterLogic1).

The command reloop on/off does not have a MIDI output in Cross. You have to use an additional command to make an LED light up with reloop.

There are a total of 8 register logic commands that can be used in these situations and force an LED to indicate the command.

Just assign the register logic command to the same button for reloop.
Code example input section
Code: Select all
        <mapping name="PAD1">
          <events>
            <MIDI type="Note" parameter="0x10" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].LoopIn"/>
          </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 name="PAD2">
          <events>
            <MIDI type="Note" parameter="0x11" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].LoopOut"/>
          </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 name="PAD3">
          <events>
            <MIDI type="Note" parameter="0x4d" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].LoopOnOff"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping name="PAD4">
          <events>
            <MIDI type="Note" parameter="0x4d" channel="0x1"/>
          </events>
          <controls>
            <control alias="fam(Player)[0x1].ReloopOnOff"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>
        <mapping name="PAD4">
          <events>
            <MIDI type="Note" parameter="0x4d" channel="0x2"/>
          </events>
          <controls>
            <control alias="reg(RegisterLogic1)"/>
          </controls>
          <preset name="Toggler Button">
            <parameters>
              <parameter object="invert" key="on" value="off"/>
            </parameters>
          </preset>
        </mapping>


Code example for output section
Code: Select all
        <mapping>
          <control alias="fam(Player)[0x1].LoopInSet" value="true"/>
          <MIDI type="Note" parameter="0x10" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].LoopInSet" value="false"/>
          <MIDI type="Note" parameter="0x10" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].LoopInAdjustOnOff" value="true"/>
          <MIDI loop="true"/>
          <MIDI type="Note" parameter="0x10" channel="0x1" value="127" duration="100"/>
          <MIDI type="Note" parameter="0x10" channel="0x1" value="0" duration="100"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].LoopOutSet" value="true"/>
          <MIDI type="Note" parameter="0x11" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].LoopOutSet" value="false"/>
          <MIDI type="Note" parameter="0x11" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].LoopOutAdjustOnOff" value="true"/>
          <MIDI loop="true"/>
          <MIDI type="Note" parameter="0x11" channel="0x1" value="127" duration="100"/>
          <MIDI type="Note" parameter="0x11" channel="0x1" value="0" duration="100"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].LoopOnOff" value="true"/>
          <MIDI type="Note" parameter="0x4d" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="fam(Player)[0x1].LoopOnOff" value="false"/>
          <MIDI type="Note" parameter="0x4d" channel="0x1" value="0"/>
        </mapping>
        <mapping>
          <control alias="reg(RegisterLogic1)" value="true"/>
          <MIDI type="Note" parameter="0x4d" channel="0x1" value="127"/>
        </mapping>
        <mapping>
          <control alias="reg(RegisterLogic1)" value="false"/>
          <MIDI type="Note" parameter="0x4d" channel="0x1" value="0"/>
        </mapping>


The
<MIDI loop="true"/>
is used to make the LED blink. In there case the output command are required to make the LEDs follow the GUI.

The duration="100"/> refers to the amount of time in milliseconds the LED will stay on each state. So if you make it 500 then the LED will be on for 1/2 second and off for 1/2 second.

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


Next

Return to Mapping Midi




Who is online

Users browsing this forum: No registered users and 19 guests

Board index

 
 
   
 
© 2014 Mixvibes