fader
fader · utilities · schema v1Two-source video mixer with a send/return FX loop. IN A and IN B are crossfaded by a horizontal A/B fader (0 = A, 1 = B); the crossfade SHAPE is picked from a transition dropdown — fade (uniform), wipe (soft edge sweeping left→right), dissolve (random per-cell reveal), star (a 5-point iris from the centre), or checkerboard (staggered cells). That A/B mix is exposed on the SEND output as a copy: patch SEND through any external video FX chain and bring the processed result back into RETURN. A second DRY/WET fader (with its own transition dropdown) blends the dry mix (0) against the wet return (1) to produce the main OUT — so you can fade the effect in and out, or transition into it with a wipe/dissolve/star/checker. 3 video inputs (A / B / RETURN), 2 video outputs (OUT = main mix, SEND = pre-FX copy). With nothing patched both outputs are black. The blend math is deterministic + unit-tested; both faders default to fade.
the faceplate
inputs
| id | cable | what it does |
|---|---|---|
in_a | video | The A video source — what shows when the A/B fader is at 0. Left unpatched it reads as opaque black, so an unpatched A with the fader toward A gives a black frame. RGB video stream |
in_b | video | The B video source — what shows when the A/B fader is at 1. Left unpatched it reads as opaque black. RGB video stream |
return | video | The wet RETURN of the send/return loop: bring the processed video back in here after sending the A/B mix out SEND through external FX. It becomes the wet side of the dry/wet fader. Unpatched it reads as opaque black, so raising DRY/WET toward WET with nothing returned fades to black. RGB video stream |
outputs
| id | cable | what it does |
|---|---|---|
out | video | The main mix output: the dry A/B mix blended against the wet RETURN by the dry/wet fader and its transition shape (the second render pass, the module's canonical surface). With nothing patched into any input this is black. RGB video stream |
send | video | A pre-FX copy of the A/B mix (the first render pass, taken before the dry/wet stage): patch this out to an external video FX chain and bring the result back into RETURN to build a send/return loop. Reflects only the A/B fader and its transition shape; with no A/B sources patched it is black. RGB video stream |
params
| id | label | range | default | curve |
|---|---|---|---|---|
fader | A/B | 0..1 | 0.5 | linear |
abTransition | A/B Fx | 0..4 | 0 | linear |
dryWet | Dry/Wet | 0..1 | 0 | linear |
dwTransition | D/W Fx | 0..4 | 0 | linear |
controls
| control | what it does |
|---|---|
| A/B Fx | Picks the SHAPE of the A→B crossfade as the fader moves: 0 fade (uniform dissolve across the whole frame), 1 wipe (a soft vertical edge sweeping left→right), 2 dissolve (a fixed random per-cell reveal that fills in more B as the fader rises), 3 star (a 5-point star iris of B growing from the centre outward), 4 checkerboard (even cells switch over during the first half of the fader travel, odd cells during the second). The stored value is rounded and clamped to 0..4, so anything out of range snaps to the nearest valid shape; at the very ends (fader fully A or fully B) every shape collapses to a clean A or B regardless of the dropdown. |
| Dry/Wet | The dry↔wet blend that produces the final OUT: 0 shows only the dry A/B mix, 1 shows only the wet signal coming back into RETURN, with the in-between shaped by the D/W FX dropdown. Defaults to 0 (fully dry), so the send/return loop has no effect until you raise it. Clamped to 0..1, letting you fade an external effect in and out or transition into it with a wipe/dissolve. |
| D/W Fx | Picks the SHAPE of the dry→wet blend, the same five options as the A/B shape: 0 fade, 1 wipe (left→right), 2 dissolve (per-cell random), 3 star iris, 4 checkerboard. Rounded and clamped to 0..4. Lets you transition into the returned/processed image with a hard wipe or dissolve instead of a flat crossfade. |
| A/B | The A↔B crossfade position: 0 shows only IN A, 1 shows only IN B, and in between the two are blended by the amount the A/B FX dropdown's shape allows (a plain fade at the 0.5 default is a 50/50 mix). Clamped to 0..1, and the result is the mix that feeds both the SEND output and the dry side of the dry/wet stage. |
source
fader.ts on GitHub.