util
module reference
index
- Convert value changes to events.
- Convert rising edges to bangs.
- Convert events to value changes.
- Switch between multiple inputs.
details
- Convert value changes to events.
(change val)
- Convert rising edges to bangs.
(edge bool)
- Convert events to value changes.
(hold evt)
- Switch between multiple inputs.
(switch i v0 [v1 v2…])
- when
i
istrue
, the first value is reproduced. - when
i
isfalse
, the second value is reproduced. - when
i
is anum
, it is [math/floor][]ed and the matching argument (indexed starting from 0) is reproduced.
- when