mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.44k stars 1.27k forks source link

NI Traktor Kontrol X1 MK2 mapping (Effects + Mixer Control) #11079

Open zzzzzwww231 opened 1 year ago

zzzzzwww231 commented 1 year ago

Feature Description

Traktor Kontrol X1 MK2 we use for effects but I found a way to "Turn ON/OFF FX's" and SWITCH "Turn ON/OFF Toggle Mixer" on ~ Traktor Controller Editor Link mapping => https://maps.djtechtools.com/mappings/1826

That was long ago when I played with windows... anyway now I use Linux ~ Fedora <3 I managed to synch Mixxx with my Traktor Kontrol X1 MK2 amaaaaazing!

THE ISSUE

Now I got mapping/script for Mixxx: Traktor Kontrol X1 MK2 hid.xml and Traktor Kontrol X1 MK2 hid scripts.js Link mapping => https://gist.github.com/SingleInfiniteLoop/f0f8479fc5ef89405c71e7a858c9b184 They work normal... Controls for the effects/play/cue/loop...etc. The only thing left is to get back this SWITCH to Toggle Mixer and I'll be on my way to paradise!

Can some one help me with making the same traktor mapping from link 1 working on windows for mixxx mapping from link 2 working on Linux / Fedora

CHAMELEON MIXER

The top knobs are used as volume faders (12 o'clock = 50% volume) and when BOTH Deck A and Deck B are in "mixer mode", the FX assign buttons are used for managing your headphone monitoring. Because your FX units have to be set to group mode in order for you to toggle on the mixer mode, you don't lose function of the top FX buttons for switching ON/OFF any effects you want to run in single mode, and the same goes for the FX assign buttons. Holding down SHIFT now lets you control the FILTER with the top knobs.

Keys ID + needed function

Top Left Button ~ G#-2 = Toggle Mixer ON / Deck A ~ Turn Off Effects + Turn On Mixer + Turn On LED / Deck A Top Left Knob ~ CC 0 = Volume Fader / Deck A ~ SHIFT + KNOB = Toggle Filter / Deck A High Left Button ~ A#-2 = High EQ Kill Switch / Deck A High Left Knob ~ CC 2 = High EQ Level / Deck A Mid Left Button ~ C-1 = Mid EQ Kill Switch / Deck A Mid Left Knob ~ CC 4 = Mid EQ Level / Deck A Low Left Button ~ D-1 = Low EQ Kill Switch / Deck A Low Left Knob ~ CC 6 = Low EQ Level / Deck A

Top Right Button ~ A-2 = Toggle Mixer ON / Deck B ~ Turn Off Effects + Turn On Mixer + Turn On LED / Deck B Top Right Knob ~ CC 1 = Volume Fader / Deck B ~ SHIFT + KNOB = Toggle Filter / Deck B High Right Button ~ B-2 = High EQ Kill Switch / Deck B High Right Knob ~ CC 3 = High EQ Level / Deck B Mid Right Button ~ C#-1 = Mid EQ Kill Switch / Deck B Mid Right Knob ~ CC 5 = Mid EQ Level / Deck B Low Right Button ~ D#-1 = Low EQ Kill Switch / Deck B Low Right Knob ~ CC 7 = Low EQ Level / Deck B

JoergAtGithub commented 1 year ago

The Native Instruments MIDI support is a software emulation implemented in the device driver, which is only available for Windows and MacOS. There is no hardware MIDI support. To communicate with device hardware you must use the USB HID protocol instead.

None of the MIDI codes will help you - this means you should forget everything else than https://gist.github.com/SingleInfiniteLoop/f0f8479fc5ef89405c71e7a858c9b184 the is no relation.

How to reengineer HID mappings in general is documented here: https://github.com/mixxxdj/mixxx/wiki/Hid-Mapping Use USBLyzer on Windows with Traktor Pro, to capture the HID communication when you press the button and than adapt this to https://gist.github.com/SingleInfiniteLoop/f0f8479fc5ef89405c71e7a858c9b184