Reloop Digital Jockey 2 Controller Edition

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

Moderators: garth, User Customization Moderators

Re: Reloop Digital Jockey 2 Controller Edition

Postby Jones » Sat Dec 18, 2010 7:13 pm

Hi,

my mappings are based on the mappings which come with mixxx 1.8.2

I did not base my mappings on sandor's mappings, because the pitchbending is not really what I need. Additionally, when I made these mappings, sandor's mappings were not out yet. But I will have a look into them and see to what extend I can merge them with mine.

About the pitchbending:
As far as I can see, sandor uses rate_temp_up and rate_temp_down which in my eyes totally suck in their binary nature (+/- 4 %; or some other value...but still not continuous).

Solution: merge the binary controls rate_temp_up and rate_temp_down into one continuous control named rate_bend

Regards,
Jones
Jones
 
Posts: 5
Joined: Wed Dec 08, 2010 2:51 am

Re: Reloop Digital Jockey 2 Controller Edition

Postby Pegasus » Mon Dec 20, 2010 12:53 pm

There is the Ramping Pitch Bend introduced in v1.8.x that might solve your concern. Take a look at the bottom of the Interface preferences pane and enable it. Then rate_temp* will smoothly ramp instead of jump.
User avatar
Pegasus
Mixxx Developer
 
Posts: 1656
Joined: Thu Jan 29, 2009 7:48 pm
Location: Spangdahlem, RP, Germany

Re: Reloop Digital Jockey 2 Controller Edition

Postby raffitea » Thu Dec 23, 2010 8:55 pm

Jones wrote:my mappings are based on the mappings which come with mixxx 1.8.2

Hey Jones,

The mapping from 1.8.2 has been updated for 1.9. I would be very thankful if you extend this mapping since it is likely that I update the mapping with your contribution. You can find the most recent mapping here: http://bazaar.launchpad.net/~mixxxdevel ... /res/midi/

Thanks,

Tobias
raffitea
Mixxx Developer
 
Posts: 94
Joined: Sun Aug 16, 2009 7:59 pm

Re: Reloop Digital Jockey 2 Controller Edition

Postby RemyB » Tue Dec 28, 2010 6:12 pm

Jones wrote:Here my controller mapping one week after buying the DJ2. I was missing some functionalities so I added them myself:

Reloop-Digital-Jockey2-CE-mapping.zip


Pitchfaders: properly implemented now with 10-bit resolution. They were kind of screwed up.

Sync: resets pitch to 0 (the pitchfaders are a little imprecise around 0 and I don't use the sync-function)

Trax knob (turn): added shift-functionality. When pressing shift, you can use it to scroll through your playlists, crates etc.
Trax know (press): Load track into next free deck or open folder (in "browse")

Jog wheels:
I tried to resemble CDJ-behavior. When not in search or scratch mode the jog wheels will perform a slight temporary pitchbend so they can be used for beatmatching. When the track is paused, they can be used to finetune the cuepoint.
When in search mode, the jog-wheels will skip through the track wether the song is playing or not.
I didn't change anything in the scratch mode behavior.

Load A + Load B: Won't work anymore, if a song is playing in the according deck. You don't want to turn off the currently running song accidentally when performing live ;)


There are still lots of unmapped controls (including shift!) and I do not really have an idea what to do with them yet, so suggestions are very welcome!

Regards,
Jones


Hello,
Sorry for bad english.

Thank you and Sandor for mappings.
Something going wrong in your mapping. I use v1.8.2.

Let's say a song is playing with pitch at zero. If i pitchbend up with jogwheel, and then stop pitchbending up, the pitch is now +1. Same thing with pitchbend down. If pitch = 0 , pitchbend down and then pitch is now -1.

The pitch fader is not working good. If i raise the pitch till the upper limit( +10%), a little more up and it set at -10% and go up again. Not easy to explain but Sandor pitch fader handling is better but lacks resolution(0.1), 0.01 can be achieved with 10bit pitch fader(like in Traktor pro).

Best Regards
RemyB
 
Posts: 1
Joined: Tue Dec 28, 2010 5:59 pm

Re: Reloop Digital Jockey 2 Controller Edition

Postby Jones » Wed Dec 29, 2010 4:29 pm

Hi RemyB,

Thanks for your feedback!

At first: which edition of the DJ2 do you use? Controller, Interface or Master? The jogwheel-behaviour might vary between the editions, because the controller edition lacks touch sensitivity. Here it works fine - the pitchbend is reset to 0 as soon as the wheel stops turning (it sends an extra signal when the wheel holds).
Same for the pitchfaders, they work perfectly here. There's probably also a difference in the pitchfader-behaviour since the old mapping didn't work for my pitch faders. It seems, we'll need different mappings for different editions of the Digital Jockey 2.

@Tobias: I'll make a 1.9.0-mapping asap, I just need to find some time to concentrate on it :)

Regards,
Jones
Jones
 
Posts: 5
Joined: Wed Dec 08, 2010 2:51 am

Re: Reloop Digital Jockey 2 Controller Edition

Postby sandor.ivicsics » Wed Jan 05, 2011 9:04 am

Hi!

I modified my last controller-mapping.
Jog-modes reimplemented: using controller signal instead of using timer to detect when jogwheel-move started or finished.
Imported Jones' DigitalJockey2Controller.LoadSelectedTrack function. (Load is disabled, while playing.)
10-bit pitchcontrol implemented.
Remark: At first i tried to import Jones' DigitalJockey2Controller.PitchControl function, but it doesn't works. So I implemented my own.
At the end I found the difference:
my code: -1.0 + 2.0 * ((value * 8 + control / 16) / 1024.0) = -1.0 + 2.0 * (value * 0,0078125 + control * 0,00006103515625)
Jones' code: -1.0 + 2.0*(control*0.0078125 + (value)*0.000061035);
I think, in Jones' code the control and value parameter have to reverse.

Regards,
Sandor
Attachments
Reloop-Digital-Jockey2-Controller_midi_mapping_1_8_notimer.zip
Reloop Digital Jockey2 CE for mixxx 1.8
(5.63 KiB) Downloaded 133 times
sandor.ivicsics
 
Posts: 7
Joined: Wed Nov 24, 2010 7:18 pm

Re: Reloop Digital Jockey 2 Controller Edition

Postby Jones » Wed Jan 12, 2011 8:21 am

Hi,

here's my new mapping.

sandor.ivicsics wrote:I think, in Jones' code the control and value parameter have to reverse.


I can confirm that my version of the pitchfader works perfectly with my controller - yours doesn't. I wonder about the reason for that :?
Anyway, I renamed my mappings, so they show up as an alternative in the controller settings.

Jogwheels: I now use sandor's version of the mapping because my version of the search mode crashes mixxx on my netbook when skipping through mp3 or flac files. When neither in search nor scratch mode, jogwheels will still pitchbend (fine search when not playing).

+/-: now finetunes the pitch by +-1/2000 of the slider range.

The mappings work for the current versions of 1.8.2.1 and 1.9.0.

Regards,
Jones
Attachments
Reloop-DJ2-CE-mapping.zip
Reloop Digital Jockey 2 Controller Edition mappings 1.8+1.9
(5.83 KiB) Downloaded 146 times
Jones
 
Posts: 5
Joined: Wed Dec 08, 2010 2:51 am

Re: Reloop Digital Jockey 2 Controller Edition

Postby sandor.ivicsics » Fri Mar 25, 2011 11:10 am

Hello!

I updated the my Reloop Digital Jockey 2 Controller Edition midi mapping for Mixxx 1.9.0.
What's new?
- pitch bend jog-mode reimplemented (if not playing, pitch bend jog-mode works in scratch jog-mode, like in Traktor)
Why?
In Mixxx 1.9.0 I need to turn off the waveform display, because my computer is very slow. So I can't use my eyes to set the cue point. I have to use my ears. :-)

Developed and tested on Windows.

Regards,
Sandor
Attachments
Reloop-Digital-Jockey2-Controller_midi_mapping_1_9_notimer.zip
(5.84 KiB) Downloaded 134 times
sandor.ivicsics
 
Posts: 7
Joined: Wed Nov 24, 2010 7:18 pm

Re: Reloop Digital Jockey 2 Controller Edition

Postby raffitea » Sun Mar 27, 2011 2:06 am

Thanks sandor.ivicsics,

I've reviewed your mapping and it looks all good to me. It works very well.

Your updated mapping will be Mixxx 1.9.1 and up :-)

Thanks!

Tobias
raffitea
Mixxx Developer
 
Posts: 94
Joined: Sun Aug 16, 2009 7:59 pm

Re: Reloop Digital Jockey 2 Controller Edition

Postby sandor.ivicsics » Wed Jun 27, 2012 8:36 am

Hello!

I updated the latest Reloop Digital Jockey 2 Controller Edition midi mapping in Mixxx 1.10.0.
What's new?
- CUP mode reimplemented (if not playing, set cue point and start playing; if playing, goto cue point and start playing; CUP can be stopped with CUE or PlayPause; CUP works like in Traktor)
- DigitalJockey2Controller.OnFlangerChange1 and DigitalJockey2Controller.OnFlangerChange2 functions added

Other changes:
Some code optimalization. (I hope, Mixxx will be faster.)
For example

DigitalJockey2Controller.playTrack = function (channel, control, value) {
//If no song is loaded
|--- if (engine.getValue("[Channel"+channel+"]", "duration") == 0) {
| return;
| };
|--- var currentlyPlaying = engine.getValue("[Channel"+channel+"]","play");
| /*
| * We immediately want to start and stop playing as soon as play button has been pressed
| * KeyUp events are out of interest in this case
| */
| if(value == DigitalJockey2Controller.keyPressed){
|---> moved here, because KeyUp events are out of interest
if (currentlyPlaying == 1) { // If currently playing
engine.setValue("[Channel"+channel+"]","play",0); // Stop
midi.sendShortMsg(0x90, control, DigitalJockey2Controller.ledOff); // Turn off the Play LED
}
else { // If not currently playing,
engine.setValue("[Channel"+channel+"]","play",1); // Start
midi.sendShortMsg(0x90, control, DigitalJockey2Controller.ledOn); // Turn on the Play LED
}
}
}

Some ledon/ledoff message removed, because i found ledstatussetter callback.
For example

DigitalJockey2Controller.EnableHeadPhone = function (channel, control, value) {
var isHeadPhoneActive = engine.getValue("[Channel"+channel+"]","pfl");
//print("Channel"+channel+" isHeadPhoneActive: " + isHeadPhoneActive);
if(value == DigitalJockey2Controller.keyPressed){
if(isHeadPhoneActive == 1){
engine.setValue("[Channel"+channel+"]","pfl",0);
removed---> midi.sendShortMsg(0x90, control, DigitalJockey2Controller.ledOff); //Turn LED off
}
else{
engine.setValue("[Channel"+channel+"]","pfl",1);
removed---> midi.sendShortMsg(0x90, control, DigitalJockey2Controller.ledOn); //Turn LED off
}
}
}

because DigitalJockey2Controller.OnPFL_Button1 and DigitalJockey2Controller.OnPFL_Button2 called by the program
DigitalJockey2Controller.OnPFL_Button1 = function (value){
if(value == 1){
midi.sendShortMsg(0x90, 0x5, DigitalJockey2Controller.ledOn); //Turn LED off
}
else{
midi.sendShortMsg(0x90, 0x5, DigitalJockey2Controller.ledOff); //Turn LED off
}
}
DigitalJockey2Controller.OnPFL_Button2 = function (value){
if(value == 1){
midi.sendShortMsg(0x90, 0x41, DigitalJockey2Controller.ledOn); //Turn LED off
}
else{
midi.sendShortMsg(0x90, 0x41, DigitalJockey2Controller.ledOff); //Turn LED off
}
}

Try it! Test it! Comment it!

Regards,
Sandor
Attachments
Reloop-Digital-Jockey2-CE-mapping.zip
Reloop Digital Jockey 2 CE for Mixxx 1.10.0
(5.78 KiB) Downloaded 64 times
sandor.ivicsics
 
Posts: 7
Joined: Wed Nov 24, 2010 7:18 pm

PreviousNext

Return to Controller presets/mappings

Who is online

Users browsing this forum: No registered users and 0 guests