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

(fix) Traktor S4mk3: smooth xfader curve for Const Power mode #14305

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Feb 7, 2025

and remove unused calibration values for Additive modes (see #13363 (comment) for details)

before: (slow fade with rather sharp cut)
image

fix:
image

@Swiftb0y
Copy link
Member

Swiftb0y commented Feb 7, 2025

image

JK, the difference is the small change at the crossover area in the middle, right?

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);
Copy link
Contributor

@cr7pt0gr4ph7 cr7pt0gr4ph7 Feb 10, 2025

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?

Copy link
Member Author

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
@ronso0 ronso0 force-pushed the s4mk3-xfader-curve branch from b965b7a to e689d25 Compare February 10, 2025 09:40
Copy link
Member

@Swiftb0y Swiftb0y left a 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?

Copy link
Member

@acolombier acolombier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@acolombier acolombier merged commit 692eb9a into mixxxdj:2.5 Feb 11, 2025
13 checks passed
@ronso0 ronso0 deleted the s4mk3-xfader-curve branch February 11, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants