Table of Contents

Property Gain

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Gain

Gets or sets the volume amplification applied to the audio source.

public float Gain { get; set; }

Property Value

float

Remarks

Each division by 2 equals an attenuation of -6 dB, and each multiplication by 2 an amplification by +6 dB. A value of 1.0 means the source is unchanged, and zero is interpreted as zero volume.