flipper

flipper · utilities

Gate flip-flop. Two gate inputs and two gate outputs (FLIP, FLOP). A gate on EITHER input alternately fires FLIP, then FLOP, then back — the first gate after load fires FLIP. While a gate is high it is mirrored to the currently-selected output (keeping the trigger width) and the other output stays silent. Use it to split one trigger stream into two alternating streams (e.g. ping-pong two envelopes / two voices).

A gate flip-flop (a toggle / clock-divider building block). It has two gate inputs and two gate outputs, FLIP and FLOP. A rising edge on EITHER input toggles which output is active: the first edge raises FLIP, the next raises FLOP, the next FLIP again, alternating forever — only one of the two is high at a time. Drive a single clock into one input and FLIP/FLOP each pulse at half the clock rate (a divide-by-two), 180° out of phase with each other — useful for alternating two voices, ping-ponging triggers, or generating a half-tempo gate. Feeding both inputs lets two different sources jointly advance the toggle. There are no controls; the alternation logic lives entirely in the worklet.

the faceplate

flipperin1gatein2gateflipgateflopgateaudiocvgatepitch
2 inputs · 2 outputs · 0 params

inputs

idcablewhat it does
in1gateA toggle input, and a GATE rather than a trigger: the rising edge only CHOOSES which output the signal takes (FLIP or FLOP, alternating), while the level you feed in is then mirrored to that output for its full width and both outputs drop the moment it goes low. So the routing is edge-decided but the shape is preserved — a long gate in is a long gate out. Shares the toggle with IN 2 (either input advances the same flip-flop).
gate / trigger; gate — acts while the level is high (reacts to both edges)
in2gateA second toggle input, level-sensitive in exactly the same way as IN 1: its rising edge advances the same FLIP/FLOP alternation, and while it is high its level passes through to the selected output at full width. The two are OR'd, so two sources can drive the toggle together.
gate / trigger; gate — acts while the level is high (reacts to both edges)

outputs

idcablewhat it does
flipgateOne half of the toggle: goes high on the 1st, 3rd, 5th… incoming edge and low otherwise. Driven from a single clock it is a half-rate gate, opposite to FLOP.
gate / trigger; gate — acts while the level is high (reacts to both edges)
flopgateThe other half: goes high on the 2nd, 4th, 6th… incoming edge — the inverse phase of FLIP, so exactly one of the two is high at any time.
gate / trigger; gate — acts while the level is high (reacts to both edges)

source

flipper.ts on GitHub.

Generated from packages/web/src/lib/{audio,video}/module-registry.ts · repo