xfade~
Examples
Arguments
inputs [number]
The number of input channels
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
boundmode [enum] (default: clip)
Bound the output of the crossfade. The default value will prevent input signals from bleeding over the edges, whereas will circularly crossfade between all other floating-point steps beyond 0. - 1. and will allow the input to move outside of the boundary associated with outputs.
Possible values:0 = 'wrap'
1 = 'clip'
2 = 'ignore'
fademode [enum] (default: eqpower)
Select between different fading interpolations. The default fade implements an equal power (log) fade, implements a linear fade, and implements a cosine fade.
Possible values:0 = 'lin'
1 = 'eqpower'
2 = 'cos'
inputs [number] (default: 2)
The number of input channels
positionmode [enum] (default: phase)
Select between different fade position modes. The default mode normalizes the output position across all channels from 0. to 1., while mode positions a range based on the total number of input channels.
Possible values:0 = 'phase'
1 = 'channel'
See Also
| Name | Description |
|---|---|
| xfade | Crossfade between multiple inputs |
| mix | Linear crossfading between two inputs |
| mix~ | Linear crossfading between two inputs |
| pan | Crossfade between multiple inputs to multiple outputs |
| pan~ | Crossfade between multiple inputs to multiple outputs |
| smoothstep~ | Smoothed fade of inputs |