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

Enable or disable Crush with a button #83

Merged
merged 14 commits into from
Jul 11, 2023
Merged

Enable or disable Crush with a button #83

merged 14 commits into from
Jul 11, 2023

Conversation

JoseDiazRohena
Copy link
Contributor

@JoseDiazRohena JoseDiazRohena commented Jul 4, 2023

These changes allow for change to Crush enablement with the press of a button.

Previously, this was accomplished by tweaking the Crush parameter range such that values
at the very beginning of the range shut off processing. This is kind of hard to follow in the code
and also makes it hark to get values exactly at the minimum crush amount.

Now, the smallest parameter value processes at the Crush effect minimum. Pressing the new
button turns the effect on and off.

There are also some cleanups I ran into on the way.

@JoseDiazRohena JoseDiazRohena force-pushed the crush-off-state branch 5 times, most recently from 061073a to 78b19f0 Compare July 9, 2023 14:59
@JoseDiazRohena JoseDiazRohena changed the title Crush off state Enable or disable Crush with a button Jul 9, 2023
@JoseDiazRohena JoseDiazRohena marked this pull request as ready for review July 10, 2023 18:01
This and the next related commits originally supported
a change to how value text is displayed for Crush parameter
values. I dropped that change, but this little refactor is
still a good idea.
@JoseDiazRohena JoseDiazRohena force-pushed the crush-off-state branch 3 times, most recently from c62e58f to 39836e8 Compare July 11, 2023 20:15
@JoseDiazRohena JoseDiazRohena merged commit 96b88c0 into main Jul 11, 2023
4 checks passed
@JoseDiazRohena JoseDiazRohena deleted the crush-off-state branch July 11, 2023 20:33
@JoseDiazRohena JoseDiazRohena linked an issue Jul 13, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Crush On/Off
1 participant