Codebox Operators xfademul

xfademul

Compute cross fade multiplicative factor for n channels.

new xfademul([options])

Options

NameTypeDefaultDescription
boundmodeenum[object Object]

Enum Values:
| |

channelsInt2

The number of channels to compute for

fademodeenum[object Object]

What curve to use for the crossfade computation.

Enum Values:
| |

posmodeenum[object Object]

Enum Values:
|

Methods

next(pos, channel): out1

Arguments

NameTypeDefaultDescription
posnumber
channelnumber

Returns

NameTypeDescription
out1number

reset(): void