logo
On this page

ZegoReverbParam

ZegoReverbParam

Audio reverberation parameters.

Details

Developers can use the SDK's built-in presets to change the parameters of the reverb.

Declared in ZegoExpressDefines.h

Properties

roomSize

roomSize
nonatomic, assign float roomSize

Room size, in the range [0.0, 1.0], to control the size of the "room" in which the reverb is generated, the larger the room, the stronger the reverb.

reverberance

reverberance
nonatomic, assign float reverberance

Echo, in the range [0.0, 0.5], to control the trailing length of the reverb.

damping

damping
nonatomic, assign float damping

Reverb Damping, range [0.0, 2.0], controls the attenuation of the reverb, the higher the damping, the higher the attenuation.

dryWetRatio

dryWetRatio
nonatomic, assign float dryWetRatio

Dry/wet ratio, the range is greater than or equal to 0.0, to control the ratio between reverberation, direct sound and early reflections; dry part is set to 1 by default; the smaller the dry/wet ratio, the larger the wet ratio, the stronger the reverberation effect.

Previous

zegoreverbechoparam

Next

zegoroirect

On this page

Back to top