Firelight Technologies FMOD Studio API
FMOD_DSP_CHANNELMIX
Parameter types for the FMOD_DSP_TYPE_CHANNELMIX filter.
C/C++ Syntax
typedef enum {
FMOD_DSP_CHANNELMIX_OUTPUTGROUPING,
FMOD_DSP_CHANNELMIX_GAIN_CH0,
FMOD_DSP_CHANNELMIX_GAIN_CH1,
FMOD_DSP_CHANNELMIX_GAIN_CH2,
FMOD_DSP_CHANNELMIX_GAIN_CH3,
FMOD_DSP_CHANNELMIX_GAIN_CH4,
FMOD_DSP_CHANNELMIX_GAIN_CH5,
FMOD_DSP_CHANNELMIX_GAIN_CH6,
FMOD_DSP_CHANNELMIX_GAIN_CH7,
FMOD_DSP_CHANNELMIX_GAIN_CH8,
FMOD_DSP_CHANNELMIX_GAIN_CH9,
FMOD_DSP_CHANNELMIX_GAIN_CH10,
FMOD_DSP_CHANNELMIX_GAIN_CH11,
FMOD_DSP_CHANNELMIX_GAIN_CH12,
FMOD_DSP_CHANNELMIX_GAIN_CH13,
FMOD_DSP_CHANNELMIX_GAIN_CH14,
FMOD_DSP_CHANNELMIX_GAIN_CH15,
FMOD_DSP_CHANNELMIX_GAIN_CH16,
FMOD_DSP_CHANNELMIX_GAIN_CH17,
FMOD_DSP_CHANNELMIX_GAIN_CH18,
FMOD_DSP_CHANNELMIX_GAIN_CH19,
FMOD_DSP_CHANNELMIX_GAIN_CH20,
FMOD_DSP_CHANNELMIX_GAIN_CH21,
FMOD_DSP_CHANNELMIX_GAIN_CH22,
FMOD_DSP_CHANNELMIX_GAIN_CH23,
FMOD_DSP_CHANNELMIX_GAIN_CH24,
FMOD_DSP_CHANNELMIX_GAIN_CH25,
FMOD_DSP_CHANNELMIX_GAIN_CH26,
FMOD_DSP_CHANNELMIX_GAIN_CH27,
FMOD_DSP_CHANNELMIX_GAIN_CH28,
FMOD_DSP_CHANNELMIX_GAIN_CH29,
FMOD_DSP_CHANNELMIX_GAIN_CH30,
FMOD_DSP_CHANNELMIX_GAIN_CH31
} FMOD_DSP_CHANNELMIX;
JavaScript Syntax
FMOD.DSP_CHANNELMIX_OUTPUTGROUPING
FMOD.DSP_CHANNELMIX_GAIN_CH0
FMOD.DSP_CHANNELMIX_GAIN_CH1
FMOD.DSP_CHANNELMIX_GAIN_CH2
FMOD.DSP_CHANNELMIX_GAIN_CH3
FMOD.DSP_CHANNELMIX_GAIN_CH4
FMOD.DSP_CHANNELMIX_GAIN_CH5
FMOD.DSP_CHANNELMIX_GAIN_CH6
FMOD.DSP_CHANNELMIX_GAIN_CH7
FMOD.DSP_CHANNELMIX_GAIN_CH8
FMOD.DSP_CHANNELMIX_GAIN_CH9
FMOD.DSP_CHANNELMIX_GAIN_CH10
FMOD.DSP_CHANNELMIX_GAIN_CH11
FMOD.DSP_CHANNELMIX_GAIN_CH12
FMOD.DSP_CHANNELMIX_GAIN_CH13
FMOD.DSP_CHANNELMIX_GAIN_CH14
FMOD.DSP_CHANNELMIX_GAIN_CH15
FMOD.DSP_CHANNELMIX_GAIN_CH16
FMOD.DSP_CHANNELMIX_GAIN_CH17
FMOD.DSP_CHANNELMIX_GAIN_CH18
FMOD.DSP_CHANNELMIX_GAIN_CH19
FMOD.DSP_CHANNELMIX_GAIN_CH20
FMOD.DSP_CHANNELMIX_GAIN_CH21
FMOD.DSP_CHANNELMIX_GAIN_CH22
FMOD.DSP_CHANNELMIX_GAIN_CH23
FMOD.DSP_CHANNELMIX_GAIN_CH24
FMOD.DSP_CHANNELMIX_GAIN_CH25
FMOD.DSP_CHANNELMIX_GAIN_CH26
FMOD.DSP_CHANNELMIX_GAIN_CH27
FMOD.DSP_CHANNELMIX_GAIN_CH28
FMOD.DSP_CHANNELMIX_GAIN_CH29
FMOD.DSP_CHANNELMIX_GAIN_CH30
FMOD.DSP_CHANNELMIX_GAIN_CH31
Values
FMOD_DSP_CHANNELMIX_OUTPUTGROUPING
(Type:int) - Refer to FMOD_DSP_CHANNELMIX_OUTPUT enumeration. Default = FMOD_DSP_CHANNELMIX_OUTPUT_DEFAULT. See remarks.
FMOD_DSP_CHANNELMIX_GAIN_CH0
(Type:float) - Channel #0 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH1
(Type:float) - Channel #1 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH2
(Type:float) - Channel #2 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH3
(Type:float) - Channel #3 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH4
(Type:float) - Channel #4 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH5
(Type:float) - Channel #5 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH6
(Type:float) - Channel #6 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH7
(Type:float) - Channel #7 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH8
(Type:float) - Channel #8 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH9
(Type:float) - Channel #9 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH10
(Type:float) - Channel #10 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH11
(Type:float) - Channel #11 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH12
(Type:float) - Channel #12 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH13
(Type:float) - Channel #13 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH14
(Type:float) - Channel #14 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH15
(Type:float) - Channel #15 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH16
(Type:float) - Channel #16 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH17
(Type:float) - Channel #17 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH18
(Type:float) - Channel #18 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH19
(Type:float) - Channel #19 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH20
(Type:float) - Channel #20 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH21
(Type:float) - Channel #21 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH22
(Type:float) - Channel #22 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH23
(Type:float) - Channel #23 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH24
(Type:float) - Channel #24 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH25
(Type:float) - Channel #25 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH26
(Type:float) - Channel #26 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH27
(Type:float) - Channel #27 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH28
(Type:float) - Channel #28 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH29
(Type:float) - Channel #29 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH30
(Type:float) - Channel #30 gain in dB. -80.0 to 10.0. Default = 0.
FMOD_DSP_CHANNELMIX_GAIN_CH31
(Type:float) - Channel #31 gain in dB. -80.0 to 10.0. Default = 0.
Remarks
For FMOD_DSP_CHANNELMIX_OUTPUTGROUPING, this value will set the output speaker format for the DSP, and also map the incoming channels to the outgoing channels in a round-robin fashion. Use this for example play a 32 channel input signal as if it were a repeating group of output signals. Ie. FMOD_DSP_CHANNELMIX_OUTPUT_ALLMONO = all incoming channels are mixed to a mono output. FMOD_DSP_CHANNELMIX_OUTPUT_ALLSTEREO = all incoming channels are mixed to a stereo output, ie even incoming channels 0,2,4,6,etc are mixed to left, and odd incoming channels 1,3,5,7,etc are mixed to right. FMOD_DSP_CHANNELMIX_OUTPUT_ALL5POINT1 = all incoming channels are mixed to a 5.1 output. If there are less than 6 coming in, it will just fill the first n channels in the 6 output channels. If there are more, then it will repeat the input pattern to the output like it did with the stereo case, ie 12 incoming channels are mapped as 0-5 mixed to the 5.1 output and 6 to 11 mapped to the 5.1 output. FMOD_DSP_CHANNELMIX_OUTPUT_ALLLFE = all incoming channels are mixed to a 5.1 output but via the LFE channel only.
See Also
- DSP::setParameterInt
- DSP::getParameterInt
- DSP::setParameterFloat
- DSP::getParameterFloat
- FMOD_DSP_TYPE
Version 1.10.03 Built on Feb 1, 2018