Mix
Linear interpolation between two scalars. Output is A + t × (B − A), with t clamped to 0–1. At t = 0 you get A; at t = 1 you get B; in between you cross-fade smoothly.
Use it to cross-fade modulation sources, sit a parameter somewhere between two presets, or build chains of conditional behavior.
Inputs
| Port | Type | Default | Range | Description |
|---|---|---|---|---|
| A | Scalar | 0.0 | any | First value (returned when t = 0) |
| B | Scalar | 0.0 | any | Second value (returned when t = 1) |
| T | Scalar | 0.0 | 0–1 | Blend factor, clamped to 0–1 |
Outputs
| Port | Type | Description |
|---|---|---|
| Out | Scalar | A + clamp(T, 0, 1) × (B − A) |
Ideas
- Wire an Oscillator into A and a Noise node into B, then animate T with a slow Phasor to cross-fade between rhythmic and organic motion.
- Sit a parameter between two static values: A = 0.2, B = 0.8, and drive T from an envelope to interpolate on a trigger.
- Use as a clean conditional: drive T from a 0/1 gate (e.g., a Sequencer with a 0/1 pattern) to switch between A and B on the beat.
Tips
- T is clamped to 0–1, so values outside that range don't extrapolate beyond A or B.
- All inputs are per-point. If A, B, or T varies across the frame, the blend evaluates per-point too, which is useful for spatial gradients between two signals.
Related
- Multiply Add: scale and offset a single signal instead of blending two
- Arithmetic: Min, Max, and other ways to combine two scalars
- Phasor: common driver for the T input