xfademul
Compute cross fade multiplicative factor for n channels.
new xfademul([options])
Options
Name | Type | Default | Description |
---|---|---|---|
boundmode | enum | wrap | Enum Values: |
channels | int | 2 | The number of channels to compute for |
fademode | enum | eqpower | What curve to use for the crossfade computation. |
posmode | enum | phase | Enum Values: |
Methods
next(pos, channel): out1
Arguments
Name | Type | Default | Description |
---|---|---|---|
pos | number | ||
channel | number |
Returns
Name | Type | Description |
---|---|---|
out1 | number |