JBSystems DJ-kontrol 3

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

Moderators: garth, User Customization Moderators

JBSystems DJ-kontrol 3

Postby tyrann619 » Wed Aug 02, 2017 11:00 am

EDIT:// Mapping Update 14.08.2017

Mapping for JBSystems DJ-kontrol 3 (and Resident Dj Kontrol 3?)

Wiki Link: https://mixxx.org/wiki/doku.php/jbsystems_dj-kontrol_3

~97% works now.

--------------------------------------------------------------------------------------------------------------------------------------
old original Post:

Hello,

I couldn't find an existing mapping for my Midi Controller called:
JBSystems DJ-kontrol 3 (https://jb-systems.eu/en/dj-kontrol-3)
which looks the same like the Resident Dj Kontrol 3
(http://www.elektronik-star.de/resident- ... i27254.htm)

So i've made a mapping on my own, but i only tested it with my JBSystems.

~90% works, but i still have to fix/implement 2-3 functions.

1. not working: reloop,
Reverse on scratch Btn, Filter/Key Knob, Xfader Curve Btn, Pitch Lock Btn, S.Start Btn, Zoom Push Btn
Anyone a clue for the Xfader Curve Btn?

2. How to get current track play position for needle drop led's?
Until now the Needle drop Led's are mapped as VuMeter's.

2. Another problem is, that i found out every LED, but i can't find the LED's around the Jogwheel.
With:
for (var i = 1; i <= 1024; i++) {midi.sendShortMsg(0x90, i, 0x7F);}
every LED's turns on, but not around the Jogwheels??? (above 1024?)

3. Soundcard not working
I'm on Zorin OS 12 (ubuntu based) and i cant activate the controller Soundcard in Mixxx
start with: pasuspender mixxx
Select Audio Card: JBSystems -> Apply -> Error:
Debug [Main]: SoundManager::setupDevices()
Debug [Main]: SoundDevicePortAudio::open() "8, JB Systems DJ-Kontrol 3: USB Audio (hw:2,0)"
Debug [Main]: framesPerBuffer: 1024
Debug [Main]: Requested sample rate: 44100 Hz, latency: 23.22 ms
Debug [Main]: Output channels: 2 | Input channels: 0
Debug [Main]: Opening stream with id 8
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2722
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843
Warning [Main]: Error opening stream: Invalid sample rate

But thats an OS related Problem i think, because the Soundcard works fine under Windows (Traktor).

Maybe for someone else this mapping is useful too, because there exists only a Traktor Pro 2 mapping for this controller.
Attachments
JBSystemsDjKontrol3_v1.zip
Mapping, 14.08.2017
(6.57 KiB) Downloaded 143 times
Last edited by tyrann619 on Mon Aug 14, 2017 1:28 pm, edited 3 times in total.
tyrann619
 
Posts: 2
Joined: Wed Aug 02, 2017 10:38 am

Re: JBSystems DJ-kontrol 3

Postby Be. » Wed Aug 02, 2017 1:02 pm

Thank you for sharing. If you would like your mapping to be included in Mixxx, please read the Contributing Mappings wiki page.

tyrann619 wrote:Anyone a clue for the Xfader Curve Btn?


It is unusual that this is controlled by a switch rather than a knob on this controller. Use the script.crossfaderCurve(value, min, max) function to map it. According to the comment in common-controller-scripts.js, that function takes 3 arguments: "Current value of the hardware control, min and max values for that control".

tyrann619 wrote:2. How to get current track play position for needle drop led's?
Until now the Needle drop Led's are mapped as VuMeter's.


Use the playposition Control, which represents the relative position in the track on a normalized 0-1 scale.

tyrann619 wrote:2. Another problem is, that i found out every LED, but i can't find the LED's around the Jogwheel.


Use MIDIOX with Traktor to intercept the MIDI messages that Traktor sends for the jog wheel LEDs.

tyrann619 wrote:Soundcard not working
...
Debug [Main]: Requested sample rate: 44100 Hz, latency: 23.22 ms
...
Warning [Main]: Error opening stream: Invalid sample rate


Try changing the sample rate to 48000 Hz.
I heard FLAC and I haven't gone back.
Protect your hearing with earplugs!

Hear my mixes
User avatar
Be.
Mixxx Developer
 
Posts: 2505
Joined: Tue Jan 06, 2015 1:00 am
Location: Chicago, USA

Re: JBSystems DJ-kontrol 3

Postby Be. » Wed Aug 02, 2017 1:07 pm

Can you light the jog wheel LEDs individually? If so, refer to the Pioneer DDJ-SX mapping for how to make the LEDs spin around the jog wheel. Note that function is connected to changes in the playposition Control.
I heard FLAC and I haven't gone back.
Protect your hearing with earplugs!

Hear my mixes
User avatar
Be.
Mixxx Developer
 
Posts: 2505
Joined: Tue Jan 06, 2015 1:00 am
Location: Chicago, USA

Re: JBSystems DJ-kontrol 3

Postby tyrann619 » Mon Aug 14, 2017 12:18 pm

Hi,

thank you for your answer....

Initially I did not want to put more work into this, but your reply gave me another push. :)

Needle-Drop Led's now working correctly.
I Also found the Jogwheel Led's (0xB0 instead of 0x90), but
i dont have programmed anything with the Jogwheel Led's yet.. maybe in the future.

Thanks for the hint with the sample rate.
After setting it to 48000 Hz, the Soundcard works without any errors.
Set Master Out to Channel 3-4 and Headphones to Channel 1-2.

Now, ~97% of the Mapping is working.

Todo: Xfader Curve Btn, Pitch Lock Btn, S.Start Btn, Zoom Push Btn,
Reverse Btn, Jogwheel Led Animations


Special features:

Parameter 1 Knob is mapped to dry/wet
Parameter 1 Shift Knob (Filter) is mapped as Super Knob (how to get the general Filter Knob?)
Parameter 2 Knob is mapped to the first setting of the selected effect
Pitch Fader are inverted (up = + , down = -)
Shift Btn is mapped as toggle (press to activate, press again to deactivate)



If someone else have this Controller please reply to this thread if everything is working or not.
I only continue working on this, if this is useful for someone else.
Or, if i have to much time :)

Wiki: https://mixxx.org/wiki/doku.php/jbsystems_dj-kontrol_3
Attachments
JBSystemsDjKontrol3_v1.zip
Mapping, 14.08.2017
(6.57 KiB) Downloaded 104 times
tyrann619
 
Posts: 2
Joined: Wed Aug 02, 2017 10:38 am


Return to Controller presets/mappings

Who is online

Users browsing this forum: No registered users and 4 guests