Numark DJ2GO2 Touch Mapping

XML preset files and script files (.js) for MIDI and other controllers.

Moderators: garth, User Customization Moderators

Numark DJ2GO2 Touch Mapping

Postby pancake » Thu Apr 30, 2020 6:20 pm

Hi there,

I got a Numark DJ2GO2 Touch yesterday and adapted the DJ2GO2 mapping from Kafuzke to get the scratching functionality working.

attached to this message is a .zip file with the .xml and .js files to put in your Mixxx controllers folder.
Attachments
Numark-DJ2Go2Touch.zip
Numark DJ2GO2 Touch mapping
(2.81 KiB) Downloaded 482 times
pancake
 
Posts: 4
Joined: Thu Apr 30, 2020 6:04 pm

Re: Numark DJ2GO2 Touch Mapping

Postby 0800 Dub » Fri May 01, 2020 3:01 pm

Thanks so much for doing this!
0800 Dub
 
Posts: 4
Joined: Fri May 01, 2020 2:59 pm

Re: Numark DJ2GO2 Touch Mapping

Postby 0800 Dub » Sat May 09, 2020 10:02 pm

Two things:

1) After moving the pitch fader for the first time after Mixxx is launched, it defaults to -0.16 when the physical fader is in the middle. Is there a way to calibrate this so that the pitch is at 0.00 when the fader is in the middle position?

2) Is there a way to reverse the + and - directions of the pitch fader so that the pitch fader direction matches the + and - markings on the device?
0800 Dub
 
Posts: 4
Joined: Fri May 01, 2020 2:59 pm

Re: Numark DJ2GO2 Touch Mapping

Postby JosepMa » Sun May 10, 2020 5:33 pm

About point 2, you can change the slider direction that Mixxx uses on the preferences, decks section (It's a checkbox on the right).

About point 1, I haven't checked the mapping. It could be a rounding on the script. Also, it might happen that changing the direction setting, it would fix for you.
JosepMa
 
Posts: 888
Joined: Sat Oct 10, 2015 7:02 pm

Re: Numark DJ2GO2 Touch Mapping

Postby 0800 Dub » Tue May 12, 2020 4:05 pm

Thanks for the advice! That setting is useful. Unfortunately it doesn't help with the centre position issue, it just means it goes to +0.16 instead of -0.16.
0800 Dub
 
Posts: 4
Joined: Fri May 01, 2020 2:59 pm

Re: Numark DJ2GO2 Touch Mapping

Postby JosepMa » Thu May 14, 2020 7:50 pm

You could try modifying the two "rate" controls on the xml like this:
(search for <key>rate</key> )

<control>
<group>[Channel1]</group>
<key>NumarkDJ2Go2Touch.deckRate</key>
<status>0xB0</status>
<midino>0x09</midino>
<options>
<script-binding/>
</options>
</control>


And adding the following to the javascript file:

NumarkDJ2Go2Touch.deckRate= function(midichan, control, value, status, group) {
engine.setValue(group, "rate", script.midiPitch(0,value, 0xE0));
}

If this makes the control move in the opposite direction than what you want ( the correct direction is the same direction than the user interface), then change the javascript function to this:

engine.setValue(group, "rate", -script.midiPitch(0,value, 0xE0));
JosepMa
 
Posts: 888
Joined: Sat Oct 10, 2015 7:02 pm

Re: Numark DJ2GO2 Touch Mapping

Postby al3x » Tue Jun 09, 2020 1:55 pm

JosepMa wrote:You could try modifying the two "rate" controls on the xml like this:
[cut]


Hi and thank you all for the mapping. I've just received my new DJ2Go2 Touch and I'm already playing with it, really good fun.

Anyway, I'm using Mixxx 2.2.3 on macOS Catalina and I was also noticing the pitch fader issues, I implemented JosepMa'a recommendations and they fixed those issues for me. I've also made the whole thing available on GitHub (after a little bit of JavaScript refactoring too that made the code more concise):

https://github.com/shaftoe/mixxx-numark ... ch-mapping

I also took the chance to update the Wiki page (https://mixxx.org/wiki/doku.php/numark_dj2go2_touch) adding that's been tested on macOS too and it works great
al3x
 
Posts: 5
Joined: Tue Jun 09, 2020 10:00 am

Re: Numark DJ2GO2 Touch Mapping

Postby 0800 Dub » Thu Jun 11, 2020 2:30 pm

I get this error: [see image]

EDIT: The error doesn't come up now after pressing retry the first time. The pitch fader problem is fixed. Thanks guys!

EDIT 2: I made the following change to the .js file downloaded from GitHub because the on-screen fader was moving in the opposite direction (visually) to the physical one. However the fader range is now -10 to +9.84.

JosepMa wrote:If this makes the control move in the opposite direction than what you want ( the correct direction is the same direction than the user interface), then change the javascript function to this:

engine.setValue(group, "rate", -script.midiPitch(0,value, 0xE0));


EDIT 3: The tops of the jogwheels now perform the nudge function instead of scratching??
Attachments
mixxx.png
mixxx.png (19.82 KiB) Viewed 1835 times
0800 Dub
 
Posts: 4
Joined: Fri May 01, 2020 2:59 pm

Re: Numark DJ2GO2 Touch Mapping

Postby LFOufo » Thu Jun 11, 2020 2:58 pm

pancake wrote:Hi there,

I got a Numark DJ2GO2 Touch yesterday and adapted the DJ2GO2 mapping from Kafuzke to get the scratching functionality working.

attached to this message is a .zip file with the .xml and .js files to put in your Mixxx controllers folder.

Thanks a lot!
User avatar
LFOufo
 
Posts: 1
Joined: Thu Jun 11, 2020 2:27 pm

Re: Numark DJ2GO2 Touch Mapping

Postby al3x » Thu Jun 11, 2020 5:14 pm

For the records, I've tried to follow the suggestion from this wiki article and send a status dump when initialized but unfortunately it doesn't work for me.
al3x
 
Posts: 5
Joined: Tue Jun 09, 2020 10:00 am

Next

Return to Controller presets/mappings

Who is online

Users browsing this forum: No registered users and 7 guests