Multi-channel

BASS FX

Multi-channel

Multi-channel is supported in next effects:

 BASS_FX_BFX_ROTATE
 BASS_FX_BFX_VOLUME
 BASS_FX_BFX_PEAKEQ
 BASS_FX_BFX_MIX
 BASS_FX_BFX_DAMP
 BASS_FX_BFX_AUTOWAH
 BASS_FX_BFX_PHASER
 BASS_FX_BFX_CHORUS
 BASS_FX_BFX_DISTORTION
 BASS_FX_BFX_COMPRESSOR2
 BASS_FX_BFX_VOLUME_ENV
 BASS_FX_BFX_BQF
 BASS_FX_BFX_ECHO4
 BASS_FX_BFX_PITCHSHIFT
 BASS_FX_BFX_FREEVERB

Multi-channel order of each channel is as follows:

3 channels left-front, right-front, center.
4 channels left-front, right-front, left-rear/side, right-rear/side.
5 channels

left-front, right-front, center, left-rear/side, right-rear/side.

6 channels (5.1) left-front, right-front, center, LFE, left-rear/side, right-rear/side.
8 channels (7.1) left-front, right-front, center, LFE, left-rear/side, right-rear/side, left-rear center, right-rear center.

Usage:
An effect supporting multi-channel has a param "lChannel", using flags:

 BASS_BFX_CHANALL

-1 

 all channels at once (as by default)
 BASS_BFX_CHANNONE

 0

 disable an effect for all channels
 BASS_BFX_CHAN1

 1

 left-front channel
 BASS_BFX_CHAN2

 2

 right-front channel
 BASS_BFX_CHAN3

 4

 see above info
 BASS_BFX_CHAN4

 8

 see above info
 BASS_BFX_CHAN5

 16

 see above info
 BASS_BFX_CHAN6

 32

 see above info
 BASS_BFX_CHAN7

 64

 see above info
 BASS_BFX_CHAN8

 128

 see above info

If you have more than 8 channels (7.1), use this macro:
BASS_BFX_CHANNEL_N(n)

See also
BASS_ChannelSeFX, BASS_FXSetParameters, BASS_FXGetParameters