Skip to content

KeyControl: make 'Unlock, reset to linear pitch' always reset pitch_adjust#4758

Closed
ronso0 wants to merge 1 commit into
mixxxdj:2.4from
ronso0:keylock-fix-simple2
Closed

KeyControl: make 'Unlock, reset to linear pitch' always reset pitch_adjust#4758
ronso0 wants to merge 1 commit into
mixxxdj:2.4from
ronso0:keylock-fix-simple2

Conversation

@ronso0
Copy link
Copy Markdown
Member

@ronso0 ronso0 commented May 12, 2022

follow-up for #4756

"unlock, reset to linear pitch" changes pitchTweakRatio though doesn't apply it as pitch_adjust, thus there's an abrupt pitch change when touching the pitch_adjust knob afterwards.

Also, I don't remember why we decided to make the unlock behaviour depend on the keylock mode.. 🤷‍♂️ doesn't make much sense to me. It's not consistent, also keylock mode could have changed since locking the key.
Removing that condition.

This is still WIP.
The issue was not discovered earlier because we didn't adjust the PitchRoundtrip test when we introduced the alternative keyunlock mode. I guess no one noticed in real life since it's an unusual combination to select "Reset to linear pitch" + "Lock current key" + have pitch_adjust mapped.
I'll try to adjust the test.

@github-actions
Copy link
Copy Markdown

This PR is marked as stale because it has been open 90 days with no activity.

@github-actions github-actions Bot added the stale Stale issues that haven't been updated for a long time. label Aug 12, 2022
@ronso0 ronso0 added this to the 2.4.0 milestone Aug 30, 2022
@github-actions github-actions Bot removed the stale Stale issues that haven't been updated for a long time. label Aug 31, 2022
@ronso0
Copy link
Copy Markdown
Member Author

ronso0 commented Aug 31, 2022

Rebasing this onto main because it changes keylock/unlock behaviour.

@ronso0 ronso0 force-pushed the keylock-fix-simple2 branch from aad059f to 7cf6866 Compare August 31, 2022 22:22
@ronso0 ronso0 changed the base branch from 2.3 to main August 31, 2022 22:23
@ronso0 ronso0 changed the base branch from main to 2.4 March 23, 2023 13:26
@ronso0 ronso0 force-pushed the keylock-fix-simple2 branch from 7cf6866 to 601c6a1 Compare March 23, 2023 13:33
@ronso0 ronso0 changed the title KeyControl: 'unlock, reset to linear pitch' always resets pitch_adjust KeyControl: make 'Unlock, reset to linear pitch' always reset pitch_adjust Jun 19, 2023
@ronso0
Copy link
Copy Markdown
Member Author

ronso0 commented Jun 20, 2023

Closing this in favor of #4710

@ronso0 ronso0 closed this Jun 20, 2023
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.

1 participant