MonoFlop Op
Sets output to `1` when triggered, turns back to `0` automatically after x seconds
Summary (oneliner)
Imagine a light switch (often found in staircases): Once you press the light switch the light goes on for x seconds, then automatically turns off on its own.
Make sure to connect the Trigger
port in a meaningful way (not directly to MainLoop
), as it would set the output to 1
all the time.
- Ops.Boolean.MonoFlop
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch monoflop example
INPUT PORTS
When triggered, Result
is set to Value True
Duration in seconds when to automatically reset the Result
to Value False
The value to use when Trigger
is triggered
The value to use after the time is over
OUTPUT PORTS
Either 1
(directly after Trigger
was triggered), or 0