Linear interpolation
lerp · v1Interpolates A + (B − A) × Position. Position outside 0…1 extrapolates.
Linear interpolation
Inputs
Outputs
Select a port to see its purpose and an example connection. Its reference row will highlight.
Ports and connections
| Port / ID | Type | Connection |
|---|---|---|
Aa | number | Controls A with a number stream. Without a wire, the manual value is 0.Manual value when disconnected |
Bb | number | Controls B with a number stream. Without a wire, the manual value is 1.Manual value when disconnected |
Positionmix | number | Controls Position with a number stream. Without a wire, the manual value is 0.5.Manual value when disconnected |
Outputout | number | The number result of Linear interpolation, available to other nodes on every sample.Output |
An output can feed multiple inputs of the same type. An input has one source; Function also requires matching signatures. All connection rules →
Parameters
Values describe manual settings. A connected stream replaces a parameter’s manual value; disconnecting restores it.
| Parameter | Range | Default | Control |
|---|---|---|---|
Aa | -1000000…1000000 | 0 | Input or manualLinear scale |
Bb | -1000000…1000000 | 1 | Input or manualLinear scale |
Positionmix | -1000000…1000000 | 0.5 | Input or manualLinear scale |
How to use it
A = 200, B = 1000, Position = 0.5 → 600. Connect an Interface control to Position.
Things to check
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →