-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
(fix) Traktor S4mk3: smooth xfader curve for Const Power mode #14305
Conversation
engine.setValue("[Mixer Profile]", "xFaderCurve", 7.0); | ||
break; | ||
case 0x01: // Constant Power | ||
engine.setValue("[Mixer Profile]", "xFaderMode", 1); | ||
engine.setValue("[Mixer Profile]", "xFaderCalibration", 0.3); | ||
engine.setValue("[Mixer Profile]", "xFaderCalibration", 0.31498); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A short comment on how the "magic" number 0.31498
is calculated would be great :) Is this just the output of EngineXFader::getFaderCalibration()
, or something different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, EngineXfader::getPowerCalibration()
comment added
and remove unused calibration values for Additive modes
b965b7a
to
e689d25
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Quick checkin as the informal "code owner" for the s4 @acolombier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
and remove unused calibration values for Additive modes (see #13363 (comment) for details)
before: (slow fade with rather sharp cut)

fix:
