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

horizontal menus for LPF and HPF #3147

Conversation

nikodemus
Copy link
Collaborator

@nikodemus nikodemus commented Dec 25, 2024

  • Add support for displaying Selection-instances in horizontal
    menus, in order to display current filter mode. This uses
    regular font size to fit in 4 character names.
  • Move renderInHorizontalMenu() from patched_param::Integer to
    Number, where it works for both patched and unpatched parameters.
  • Refactor the colummn label code to MenuItem::renderColumnLabel(),
    fixing a bug in the chop-to-width logic while at it.
  • Refactor classes used for filter params to be more generic,
    so we don't need so many of them.
  • Fix a bug in horizontal menu rendering when there's only one
    relevant item, which isn't the first item.
  • Filter modes get short names (12DB, 24DB, DRV, BP, NTCH) to
    fit into a mode-column.
  • Remove the special casing for filter freq display on 7-seg: it
    no longer display as OFF when fully open without modulation.
  • Re-order the filter menu so mode is last, which works better
    in the horizontal menu -- and arguably in the vertical as well,
    even if there's now a slight ordering mismatch betweeh shortcuts
    and the menu.
  • Morph column is titled by the morph name for the filter family.
  • Rename the NONE filter mode to OFF, which seems clearer in the
    menu.
  • Turning filter mode to oFF makes all other filter menu items
    non-relevant.

Copy link
Contributor

github-actions bot commented Dec 25, 2024

Test Results

106 tests  ±0   106 ✅ ±0   0s ⏱️ ±0s
 16 suites ±0     0 💤 ±0 
 16 files   ±0     0 ❌ ±0 

Results for commit bdc155f. ± Comparison against base commit 89720ba.

♻️ This comment has been updated with latest results.

@nikodemus nikodemus force-pushed the pr-horizontal-menus-for-filters branch 9 times, most recently from 151cf7a to d46a5de Compare January 1, 2025 19:02
- Add support for displaying Selection-instances in horizontal
  menus, in order to display current filter mode. This uses
  regular font size to fit in 4 character names.

- Move renderInHorizontalMenu() from patched_param::Integer to
  Number, where it works for both patched and unpatched parameters.

- Refactor the colummn label code to MenuItem::renderColumnLabel(),
  fixing a bug in the chop-to-width logic while at it.

- Refactor classes used for filter params to be more generic,
  so we don't need so many of them.

- Fix a bug in horizontal menu rendering when there's only one
  relevant item, which isn't the first item.

- Filter modes get short names (12DB, 24DB, DRV, BP, NTCH) to
  fit into a mode-column.

- Remove the special casing for filter freq display on 7-seg: it
  no longer display as OFF when fully open without modulation.

- Re-order the filter menu so mode is last, which works better
  in the horizontal menu -- and arguably in the vertical as well,
  even if there's now a slight ordering mismatch betweeh shortcuts
  and the menu.

- Morph column is titled by the morph name for the filter family.

- Rename the NONE filter mode to OFF, which seems clearer in the
  menu.

- Turning filter mode to oFF makes all other filter menu items
  non-relevant.
@nikodemus nikodemus force-pushed the pr-horizontal-menus-for-filters branch from d46a5de to bdc155f Compare January 1, 2025 19:04
@nikodemus nikodemus marked this pull request as ready for review January 1, 2025 19:04
@nikodemus nikodemus changed the title [DRAFT] horizontal menus for LPF and HPF horizontal menus for LPF and HPF Jan 1, 2025
@nikodemus nikodemus added this pull request to the merge queue Jan 2, 2025
Merged via the queue into SynthstromAudible:community with commit f07637a Jan 2, 2025
6 checks passed
soymonitus pushed a commit to soymonitus/DelugeFirmware that referenced this pull request Jan 2, 2025
- Add support for displaying Selection-instances in horizontal
  menus, in order to display current filter mode. This uses
  regular font size to fit in 4 character names.

- Move renderInHorizontalMenu() from patched_param::Integer to
  Number, where it works for both patched and unpatched parameters.

- Refactor the colummn label code to MenuItem::renderColumnLabel(),
  fixing a bug in the chop-to-width logic while at it.

- Refactor classes used for filter params to be more generic,
  so we don't need so many of them.

- Fix a bug in horizontal menu rendering when there's only one
  relevant item, which isn't the first item.

- Filter modes get short names (12DB, 24DB, DRV, BP, NTCH) to
  fit into a mode-column.

- Remove the special casing for filter freq display on 7-seg: it
  no longer display as OFF when fully open without modulation.

- Re-order the filter menu so mode is last, which works better
  in the horizontal menu -- and arguably in the vertical as well,
  even if there's now a slight ordering mismatch betweeh shortcuts
  and the menu.

- Morph column is titled by the morph name for the filter family.

- Rename the NONE filter mode to OFF, which seems clearer in the
  menu.

- Turning filter mode to oFF makes all other filter menu items
  non-relevant.
@nikodemus nikodemus deleted the pr-horizontal-menus-for-filters branch January 3, 2025 09:58
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.

2 participants