Skip to content

@liminal-hq/undertone / foldToStereo

Function: foldToStereo() ​

foldToStereo(channelGains): number[]

Defined in: surround.ts:82

Folds a multichannel gain array down to [L, R] for stereo destinations, using conventional (approximate ITU-style) down-mix coefficients so voices placed on centre, side, and rear speakers stay audible on stereo hardware.

Parameters ​

channelGains ​

number[]

Returns ​

number[]