mix Reference

Linear crossfading between two inputs

mix

Inlets

Left [number]

The left input to be mixed
The right input to be mixed

Crossfade [number]

The crossfade position, between 0. and 1.

Outlets

Mixed [number]

The mixed output

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

The left input to be mixed

in2 [number]

The right input to be mixed

in3 [number]

The crossfade position, between 0. and 1.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
xfade Crossfade between multiple inputs
xfade~ Crossfade between multiple inputs
pan Crossfade between multiple inputs to multiple outputs
pan Crossfade between multiple inputs to multiple outputs