Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoDJ + USB MIDI/HID controller + moving crossfader to "Deck A" = "fails to trigger Deck A auto play" #11546

Open
nPrevail opened this issue May 9, 2023 · 6 comments

Comments

@nPrevail
Copy link

nPrevail commented May 9, 2023

Bug Description

System specs:
Fedora 37 /GNOME 43
12GB DDR4
Ryzen 2400GE

Problem:
When you're using a DJ controller (I was using the Traktor S4 MK2), and when you have AutoDJ is enabled, when you try moving the crossfader (on the midi controller) to "Deck A", the crossfader fails to trigger the auto play.

Now, I can trigger the auto play on Deck A if I push the keyboard key "G" multiple times until the crossfader reaches Deck A. I can also trigger Deck A by using my cursor to move the crossfader to Deck A.

The video below demonstrates using the MIDI controller's crossfader, and it shows that I'm able to use the MIDI controller's crossfader to trigger the auto play in Deck B. But unfortunately, Deck A does not auto play any tracks when you move the DJ Controller's crossfader towards it.

Recommendation:
When AutoDJ is enabled, and when you're using a DJ MIDI controller, the crossfader from the MIDI controller should reflect the crossfader on Mixxx. The crossfader should be able to auto play tracks from either decks.

Video:
Screencast from 2023-05-08 23-14-54 (720p).webm

Version

2.3.4

OS

Fedora 37 GNOME 43

@nPrevail nPrevail added the bug label May 9, 2023
@daschuer
Copy link
Member

daschuer commented May 9, 2023

It looks like as if the crossfader of your Traktor S4 MK2 is not able to reach the fully left position. This is not alone an Auto DJ issue. This is also an issue that the engine always need to process the Crossfader gain != 1.

Please confirm this assumption by starting Mixxx with mixxx --developer, open the Developer menu and then "Developer Tools". There scroll to [Master], crossfader and watch the value column. The expected values are -1 ... 1.
If you are not able to reach them we need to adjust the mapping scaling of the values.

@ronso0
Copy link
Member

ronso0 commented May 9, 2023

There scroll to [Master], crossfader and watch the value column.

Or use the searchbox in that window ;) [Master],crossfader
Btw for some (all) controls the Dev Tools window has to be focused to see the value updates instantly.

@JoergAtGithub
Copy link
Member

The NI Traktor crossfaders usually needs to be calibrated. See the procedure for the S4 Mk2 here: https://support.native-instruments.com/hc/en-us/articles/210274845-Fader-and-Knob-Calibration-of-TRAKTOR-KONTROL-Devices#Recalibrating%20your%20TRAKTOR%20KONTROL%20MK1%20/%20MK2%20devices%20including%20KONTROL%20Z1%20/%20Z2

The calibration values are usually stored in HID FeatureReports, as reengineered here for the S2 Mk1: #11237

@nPrevail
Copy link
Author

nPrevail commented May 13, 2023 via email

@JoergAtGithub
Copy link
Member

Plug it to a Windows or Mac sytem, run the fader calibration. The calibration values are stored in the device and will be available under any OS then I don't know if they are automatically taken into account, or if you need to modify the mapping.

@nPrevail
Copy link
Author

nPrevail commented May 14, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants