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

add support for a hybrid momentary/toggle patch type #24

Closed
sean-e opened this issue Mar 8, 2023 · 0 comments
Closed

add support for a hybrid momentary/toggle patch type #24

sean-e opened this issue Mar 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sean-e
Copy link
Owner

sean-e commented Mar 8, 2023

Someone on the Fractal forum requested a hybrid latching/momentary FC switch type:

I'd love to have a third in-between option which is a combination of latching and momentary, like the TC Electronics Spark Boost: it functions as a normal latching switch unless you hold it down for nnn milliseconds (say 800ms), at which point it becomes momentary and will release as soon as you let it go. You could globally set the engage delay time hard-coded or as a setting. Call it "Phrase Switching".

USE CASE: you have a block (boost, flanger, whatever) that you sometimes leave on, but that you also sometimes use in a momentary fashion. This feature makes that possible in an easy and intuitive way using a single switch. ATM, you need to burn two switches to achieve the same thing -- one latching and one momentary.

Issues: This would be incompatible with secondary functions; and there is the headache of axe-fx sync variations.

Implementation notes of the new patch type: In clean state, on button press assume momentary, check elapsed duration on release to potentially convert to toggle; if is toggle, then no longer clean once it becomes active; momentary state is always clean; disable of active toggle reverts to clean state.

@sean-e sean-e added the enhancement New feature or request label Mar 8, 2023
sean-e added a commit that referenced this issue Aug 27, 2024
They normally work as `toggle` but work as `momentary` if the release of a button press takes longer than 250ms.

Bank switch secondary functions take precedence over momentary behavior of a hybridToggle.
@sean-e sean-e closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant