Modulaser
DocsBlogPricing
Documentation
Getting StartedLaser Safety
Guides
MIDIOSCDMXAudio ReactiveBPM & SyncImage ModeEffectsBuy a LaserImprove Laser OutputProjection MappingMultiple LasersPen PlotterVideo to LaserShare Your CreationsRaspberry PiCuesTimelineLibraryMacrosKeyboard Shortcuts
Node Graph
Generators
OscillatorPhasorNoiseEnvelopeSequencerAudio InputDMX InputOSC InputLaser IndexTimecodeBPM
Frame
CircleSquarePolygonStarWaveRoseRosetteSpirographSpiralWaveform TunnelParametric CurveFileVideo InputTextCamera ProjectionDuplicatorDotterColorizeLaser ChaseBrightnessMergeOutput
Math
ArithmeticMultiply AddMixFrom PolarTo PolarColorTo Channels (RGB)
Outputs
LaserCubeEther DreamHelios DACIDNLaserworld / ShowNETAVBNDI, Syphon, and Spout Output
FAQ
Getting StartedLaser Safety
Guides
MIDIOSCDMXAudio ReactiveBPM & SyncImage ModeEffectsBuy a LaserImprove Laser OutputProjection MappingMultiple LasersPen PlotterVideo to LaserShare Your CreationsRaspberry PiCuesTimelineLibraryMacrosKeyboard Shortcuts
Node Graph
Generators
OscillatorPhasorNoiseEnvelopeSequencerAudio InputDMX InputOSC InputLaser IndexTimecodeBPM
Frame
CircleSquarePolygonStarWaveRoseRosetteSpirographSpiralWaveform TunnelParametric CurveFileVideo InputTextCamera ProjectionDuplicatorDotterColorizeLaser ChaseBrightnessMergeOutput
Math
ArithmeticMultiply AddMixFrom PolarTo PolarColorTo Channels (RGB)
Outputs
LaserCubeEther DreamHelios DACIDNLaserworld / ShowNETAVBNDI, Syphon, and Spout Output
FAQ
Loading…

Documentation

  • Getting Started
  • Guides
  • Outputs
  • FAQ

Product

  • Laser Safety
  • Changelog
  • Blog
  • Manage Subscription
  • Download Classic

Connect

  • info@modulaser.app
  • GitHub
  • Instagram

© 2026 RS Product Studio B.V.

Terms of ServicePrivacy Policy
  1. Documentation
  2. /Node Graph
  3. /Math
  4. /Mix

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

PortTypeDefaultRangeDescription
AScalar0.0anyFirst value (returned when t = 0)
BScalar0.0anySecond value (returned when t = 1)
TScalar0.00–1Blend factor, clamped to 0–1

Outputs

PortTypeDescription
OutScalarA + 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
Previous
Multiply Add
Next
From Polar