Widget State Feedback: Add “Any” Aggregation Mode
under review
John C
Description:
Add an “Any” option to Widget State Feedback (alongside “First” and “All”) that evaluates to true if
any
matched widget satisfies the chosen condition, and exposes that result for feedback, expressions, actions, and styling.Problem:
Current aggregation options are limited to “First” (use only the first match) and “All” (require every match). Many real-world setups need a logical OR across a set—e.g., show a light if any button is active, display “REC” if any track is recording, or trigger an action if any pad is held. Achieving this today requires clumsy workarounds (duplicate checks, extra helper widgets, complex expressions), which are brittle and time-consuming.
Proposed Solution:
Introduce an “Any” aggregation mode for Widget State Feedback sources.
- UI: simple selector with First / Any / All.
- Semantics: returns true when ≥1 target matches the condition; empty set returns false.
- Expose the boolean (and optionally the count of matches) as a variable for labels, colors, automation, and OSC.
- Backward-compatible; no change to existing projects.
Benefits:
- Dramatically simpler templates and fewer helper widgets.
- Clearer logic (explicit OR) and easier maintenance.
- More robust feedback in performance contexts.
- Potentially lower CPU/overhead by removing workaround chains.
Examples:
- Light a single LED if anyof a bank’s toggle buttons is ON.
- Show a big “REC” badge when anyclip/track is recording.
- Trigger a “Panic/Mute All” action if anychannel clips (via state threshold).
- Display “Solo Active” when anymixer channel is soloed.
- Enable a “Next Scene” button when anypad in a group is pressed.
This summary was automatically generated by GPT-5 Thinking on 2025-08-20.
Original Post:
Widget State Feedback - add “Any” to the current “First” and “All”. Some edge cases where this is handy.
ultracello
under review