In multiparameters, we have switches (long term latching buttons usually) and triggers (usually a button that sends max-value followed immediately by min-value upon mouse-up).
I have found a need for a switch that would send max-value upon mouse-down and min-value upon mouse-up. In other words, it would mimic the behavior of a real-world momentary contact switch. Think an audition button as a use case.
This could be done by either adding a Non-Latch mode to the switch MP type or by adding a Momentary-Contact mode to the trigger MP type. In either case, mouse-down would result in max-value being transmitted at that time.
Feature Request: Monentary Contact Switch
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- 14339 posts since 15 Mar, 2008 from Czech republic
The problem here is that not always can one reliably detect mouseup. E.g. some other process can "steal" the input (by forcing a popup for instance) and suddenly things get stuck in some weird state
. Everything can be solved, in a way, of course, but here, with the interaction of DAWs (some of which do some really nasty craziness), it just makes me too afraid 
-
- KVRAF
- Topic Starter
- 1759 posts since 11 Nov, 2009 from Northern CA
You could have the switch go the unpressed state when the button loses focus (by whatever means, including a popup window from another process). In Windows, a message is sent to inform the active control when that happens, if memory serves (my Windows programming days were a while back, so this is only speculation ... and I have no idea how things work in Mac-land).
Since this is a momentary contact switch (again, think preview or audition button), peremptorily getting whatever you're doing interrupted won't be a big deal. The great majority of the time, the user will stop things with a mouse-up, as expected.
Since this is a momentary contact switch (again, think preview or audition button), peremptorily getting whatever you're doing interrupted won't be a big deal. The great majority of the time, the user will stop things with a mouse-up, as expected.
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- 14339 posts since 15 Mar, 2008 from Czech republic
You'd be surprised how many things can go wrong here. Anyways we'll see.
