Numark DJ2GO Scripting

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

Moderators: garth, User Customization Moderators

Re: Numark DJ2GO Scripting

Postby jus » Fri Apr 06, 2012 7:17 am

z3r0 wrote:... how do i use the sampler decks?...

All Sampler controls are the same as for regular Channels. Just replace [ChannelN] with [SamplerN].
http://mixxx.org/wiki/doku.php/mixxxcontrols
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.

Find out how to contribute to Mixxx development.
User avatar
jus
Mixxx Artist
 
Posts: 798
Joined: Tue Jun 16, 2009 5:52 pm
Location: Berlin

Re: Numark DJ2GO Scripting

Postby z3r0 » Mon Apr 09, 2012 6:22 am

My problem is I dont think I can test it since I have no sampler decks with the newest version
my life
3 hours of work
lunch =game development
art
media pro
home stuff
hhhhhrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmm.......................... something doesn't seem right
z3r0
 
Posts: 50
Joined: Sat Nov 12, 2011 2:04 am

Re: Numark DJ2GO Scripting

Postby jus » Mon Apr 09, 2012 6:34 am

You need to have the latest Mixxx 1.10 installed which is available here. Make sure you have the Sampler decks visible in the Interface, they are hidden by default. The corresponding chapter in the manual can be found here.
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.

Find out how to contribute to Mixxx development.
User avatar
jus
Mixxx Artist
 
Posts: 798
Joined: Tue Jun 16, 2009 5:52 pm
Location: Berlin

Re: Numark DJ2GO Scripting

Postby rryan » Fri May 04, 2012 3:52 am

Hi guys,

Thanks for all the work on getting Numark DJ2GO mapped in Mixxx. Mixxx 1.11.0 is coming up and we have a MIDI-script freeze of May 26th. Do you think you guys can come to a consensus on what mapping we should include in Mixxx 1.11.0? Let me know and I'll bundle it.

Thanks,
RJ
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.
rryan
Mixxx Developer
 
Posts: 944
Joined: Thu Mar 26, 2009 12:14 am
Location: Cambridge, MA

Re: Numark DJ2GO Scripting

Postby z3r0 » Fri May 04, 2012 7:08 pm

i have a nother mapping comeing out soon mabey today adds the sampler decks play button
my life
3 hours of work
lunch =game development
art
media pro
home stuff
hhhhhrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmm.......................... something doesn't seem right
z3r0
 
Posts: 50
Joined: Sat Nov 12, 2011 2:04 am

Re: Numark DJ2GO Scripting

Postby likkyla » Sun May 06, 2012 2:59 am

I've been meaning to take two different scripts and combine them then check the XML on the w3schools.org XML validator. I might have time to do all of this early tomorrow. Unlike z3r0, I don't intend on keeping the lpd8 mapping in the same script with the dj2go mapping. With mixxx 1.11.0, its so easy to map a controller like that so I don't think there's a point to over complicate the script for something as simple as the dj2go controller.
likkyla
 
Posts: 54
Joined: Mon Dec 05, 2011 10:46 pm

Re: Numark DJ2GO Scripting

Postby zestoi » Sun May 06, 2012 10:55 am

rryan wrote:Hi guys,

Thanks for all the work on getting Numark DJ2GO mapped in Mixxx. Mixxx 1.11.0 is coming up and we have a MIDI-script freeze of May 26th. Do you think you guys can come to a consensus on what mapping we should include in Mixxx 1.11.0? Let me know and I'll bundle it.

Thanks,
RJ


i've just completed my first mapping, well two, for the djtech djm101 and cdj101. the only other controllers i have that would probably be any use creating mappings for would be the launchpad and icon idj. i could create sane mappings for those if wanted. i could certainly have those done before the freeze date (assuming i haven't done anything stupid in my cdj/djm scripts that don't conform to existing standards)
13" mbp / tp2+xm / live5+8le / 2x scs.3d / 2x launchpad / midifighter / lpd8 / nano(kontrol|key) / icon(idj|ikey) / djtech (cdj|djm)101 / herc mk2
http://djism.com/mixxx/ / http://midimasher.djism.com/
zestoi
 
Posts: 19
Joined: Mon Apr 09, 2012 10:34 am

Re: Numark DJ2GO Scripting

Postby likkyla » Fri May 11, 2012 10:17 pm

I'm working on the finishing touches of a cleaner script for the Numark DJ2Go. All of the previous mappings have had a lot of left over nonsense from the mixtracks xml (low-freq/mid-freq/hi-freq/loop/etc). I'm doing clean-up on the xml, which has reduced the xml from 19kb to about 12kb. This weekend I'm going to try to remove some of the left over nonsense from the JS... I have tried to remove a little bit at a time and it seems to mess up some of the other script-bind stuff. So I'm going to work on that little by little.

Also, as I have mentioned to Pegasus, I noticed that when the pitch slider (rate) is 'normal', 0/center is lined up, but when its invert, center will be -0.78 off. I'm not sure how it can be fixed... So for those who want it lined up with center/0 can always switch from ‘invert’ to ‘normal’... you would just have to ignore the fact that you would be going negative rather than positive and vice versa... It's pretty easy to ignore that fact because the controller, down is positive but on mixxx that's negative... so if look more at mixxx rather than the dj2go, the control movements would be closer to what's on the screen itself. IDK... it's a preference. Because I'm particular about fine details I would rather have it working as it is intended to, rather than using a work-around.

At this point the only thing that is not mapped is the back button... Save for that, I think it will be pretty much ready to be released with 1.11.0 beta come early May.
likkyla
 
Posts: 54
Joined: Mon Dec 05, 2011 10:46 pm

Re: Numark DJ2GO Scripting

Postby likkyla » Wed May 16, 2012 1:57 pm

As I previously mentioned, here is a cleaned up mapping for the Numark DJ2Go controller.

Two things that are worth noting:

1) The 'Back' button is not mapped / assigned. Mixxx doesn't really have a need for a back button anyway. I figure I can leave it blank for now and if anyone wants to assign anything to that button, it's rather easy to map it with 1.11 using the mapping wizard. If anyone wants me to try to sniff out the back button and map it to a specific function I'm sure I can figure it out.

2) The pitch slider is backwards (goes negative when you slide positive and vice versa). I did that for a very good reason. In order to get the slider to match with the program (positive to positive, negative to negative) the 'rate' in the xml had to be 'invert' (rather than 'normal'). However it seems the center / zero value is off with invert (when the slider itself is centered, the software is -0.78 rather than 0). Until that is fixed (on the software side I assume), I figured I would just keep it at 'normal'. If anyone would prefer me to change it back to invert (as all of the previous maps for the DJ2Go have been), let me know and I can change it for you. I prefer the pitch being spot on. Plus the movement of the slider matches up with the software (rather than if you slide down, it goes up on the software)... So as long as you ignore the + and - on the controller itself, you won't even notice a problem.

That's it for now. I think this is probably the cleanest mapping so far as all of the others still had unnecessary junk left over from the mixtrack mapping (which was used as a template for the dj2go mapping).
Attachments
NumarkDJ2Go.zip
(2.48 KiB) Downloaded 135 times
likkyla
 
Posts: 54
Joined: Mon Dec 05, 2011 10:46 pm

Re: Numark DJ2GO Scripting

Postby Pegasus » Wed May 16, 2012 2:36 pm

likkyla wrote:1) The 'Back' button is not mapped / assigned.


You could map that to Mixxx's "reverse" control which plays the track backwards, or to "back" which is fast-rewind.

Regarding the pitch slider, does it correctly adjust if you change the direction in the Interface preferences?
"D.J. Pegasus"
Mixxx Developer - Controller Specialist
Mixxx Windows package maintainer
User avatar
Pegasus
Mixxx Developer
 
Posts: 1649
Joined: Thu Jan 29, 2009 7:48 pm
Location: Spangdahlem, RP, Germany

PreviousNext

Return to Controller presets/mappings

Who is online

Users browsing this forum: No registered users and 1 guest