Skip to content

Enhancement / Automation View - Better Integration of Automation View with Menu System#1156

Merged
m-m-adams merged 4 commits into
SynthstromAudible:communityfrom
seangoodvibes:Bugfix---Automation-View---Save-automation-menu-default-settings
Feb 13, 2024
Merged

Enhancement / Automation View - Better Integration of Automation View with Menu System#1156
m-m-adams merged 4 commits into
SynthstromAudible:communityfrom
seangoodvibes:Bugfix---Automation-View---Save-automation-menu-default-settings

Conversation

@seangoodvibes

@seangoodvibes seangoodvibes commented Feb 1, 2024

Copy link
Copy Markdown
Collaborator

This PR will:

  • add back the settings and sound menu's to automation view
  • allow you to jump from the sound menu's for a specific parameter straight into the automation editor for that parameter
  • move the interpolation shortcut to the interpolation pad in the first column
  • blink interpolation shortcut when interpolation is on
  • disable select parameter scrolling in automation view for non-midi clip automation
  • add adjustment of parameter values using select encoder
  • test the above!

@seangoodvibes seangoodvibes changed the title Bug fix - Automation View ~ Save Automation Menu Settings Bug fix / Automation View ~ Save Automation Menu Settings Feb 1, 2024
@seangoodvibes seangoodvibes changed the title Bug fix / Automation View ~ Save Automation Menu Settings Bugfix / Automation View - Save Automation Menu Settings Feb 1, 2024
@sapphire-arches

Copy link
Copy Markdown
Collaborator

Maybe that submenu should move to GLOBAL SETTINGS > DEFAULTS > UI > AUTOMATION instead? Right now Automation View is the only place where you can't access the global settings which feels odd.

@seangoodvibes

seangoodvibes commented Feb 3, 2024

Copy link
Copy Markdown
Collaborator Author

Maybe that submenu should move to GLOBAL SETTINGS > DEFAULTS > UI > AUTOMATION instead? Right now Automation View is the only place where you can't access the global settings which feels odd.

@m-m-adams said we shouldn't nest the automation menu under UI and that it should be a top level default menu instead.

As for not being able to access global settings, I did think about this.

I think the right fix would be to re-instate shift + select to bring us into settings
and then just pressing on select encoder would open the automation menu

this would necessitate changing the interpolation shortcut which is a good idea anyway. I want to use shift + interpolation and blink the interpolation shortcut to indicate that interpolation is on.

@seangoodvibes seangoodvibes changed the title Bugfix / Automation View - Save Automation Menu Settings [DRAFT] Bugfix / Automation View - Save Automation Menu Settings Feb 3, 2024
@seangoodvibes
seangoodvibes marked this pull request as draft February 3, 2024 21:05
@sapphire-arches

sapphire-arches commented Feb 4, 2024 via email

Copy link
Copy Markdown
Collaborator

@seangoodvibes seangoodvibes changed the title [DRAFT] Bugfix / Automation View - Save Automation Menu Settings [DRAFT] Bugfix / Automation View - Add Menu System to Automation View and Enter Automation View From Menu Feb 10, 2024
@seangoodvibes seangoodvibes changed the title [DRAFT] Bugfix / Automation View - Add Menu System to Automation View and Enter Automation View From Menu [DRAFT] Enhancement / Automation View - Better Integration of Automation View with Menu System Feb 10, 2024
@seangoodvibes
seangoodvibes force-pushed the Bugfix---Automation-View---Save-automation-menu-default-settings branch from 12464d0 to c291ef0 Compare February 10, 2024 02:31
@seangoodvibes seangoodvibes added this to the Release 1.1 milestone Feb 10, 2024
@seangoodvibes
seangoodvibes force-pushed the Bugfix---Automation-View---Save-automation-menu-default-settings branch 2 times, most recently from 1cc07bd to 1108118 Compare February 13, 2024 00:16
@seangoodvibes seangoodvibes changed the title [DRAFT] Enhancement / Automation View - Better Integration of Automation View with Menu System Enhancement / Automation View - Better Integration of Automation View with Menu System Feb 13, 2024
@seangoodvibes
seangoodvibes force-pushed the Bugfix---Automation-View---Save-automation-menu-default-settings branch from 1108118 to d48204e Compare February 13, 2024 00:16
@seangoodvibes
seangoodvibes marked this pull request as ready for review February 13, 2024 00:16
- added back the settings and sound menu's to automation view
- allow you to jump from the sound menu's for a specific parameter straight into the automation editor for that parameter
- move the interpolation shortcut to the interpolation pad in the first column
- blink interpolation shortcut when interpolation is on
- disable select parameter scrolling in automation view for non-midi clip automation
- add adjustment of parameter values using select encoder
- updated documentation
@seangoodvibes
seangoodvibes force-pushed the Bugfix---Automation-View---Save-automation-menu-default-settings branch from cf45415 to a6293f5 Compare February 13, 2024 00:20
PatchedParam() = default;
PatchedParam(int32_t newP) : Param(newP) {}
MenuItem* selectButtonPress();
ActionResult buttonAction(deluge::hid::Button b, bool on) { return Param::buttonAction(b, on); }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this should just pass through inheritance?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think this should just pass through inheritance?

I tried removing the three button action calls and it did not work anymore.

I treated it the same as the selectButtonAction function which is also added to all three of these classes which inherit param.


uint8_t shouldDrawDotOnName() final { return PatchedParam::shouldDrawDotOnName(); }
MenuItem* selectButtonPress() final { return PatchedParam::selectButtonPress(); }
ActionResult buttonAction(deluge::hid::Button b, bool on) final { return PatchedParam::buttonAction(b, on); }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

same here

[[nodiscard]] int32_t getMaxValue() const override { return Param::getMaxValue(); }
[[nodiscard]] int32_t getMinValue() const override { return Param::getMinValue(); }
MenuItem* selectButtonPress() final { return Param::selectButtonPress(); }
ActionResult buttonAction(deluge::hid::Button b, bool on) final { return Param::buttonAction(b, on); }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

also here

@seangoodvibes
seangoodvibes force-pushed the Bugfix---Automation-View---Save-automation-menu-default-settings branch from 9b4eaa9 to 9e90518 Compare February 13, 2024 01:30
If you're already in automation view and you enter an automatable parameters menu, update the selected parameter in the root automation view UI and refresh the grid to show the automation for that parameter open in the menu.

@m-m-adams m-m-adams left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@m-m-adams
m-m-adams added this pull request to the merge queue Feb 13, 2024
Merged via the queue into SynthstromAudible:community with commit 3ffbe23 Feb 13, 2024
@seangoodvibes
seangoodvibes deleted the Bugfix---Automation-View---Save-automation-menu-default-settings branch February 22, 2024 23:20
tastycode pushed a commit to tastycode/DelugeFirmware that referenced this pull request Jul 3, 2024
… with Menu System (SynthstromAudible#1156)

* Better Integration of Automation View with Menu System

- added back the settings and sound menu's to automation view
- allow you to jump from the sound menu's for a specific parameter straight into the automation editor for that parameter
- move the interpolation shortcut to the interpolation pad in the first column
- blink interpolation shortcut when interpolation is on
- disable select parameter scrolling in automation view for non-midi clip automation
- add adjustment of parameter values using select encoder
- updated documentation

* document inheritance issue

* Update clip minder check

* Change automation view selection

If you're already in automation view and you enter an automatable parameters menu, update the selected parameter in the root automation view UI and refresh the grid to show the automation for that parameter open in the menu.
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.

3 participants