@liminal-hq/undertone / enableMultichannel
Function: enableMultichannel()
enableMultichannel(
ctx):number
Defined in: surround.ts:119
Opts a context's destination into its full hardware channel count with discrete channel interpretation, so channelGains address real speakers. Call once, e.g. right after creating your AudioContext; without it (or on plain stereo hardware) multichannel voices fold down to stereo instead. Returns the resulting output channel count.
Parameters
ctx
Returns
number