Table of Contents

Property Duration

Namespace
Bonsai.Mixer
Assembly
Bonsai.Mixer.dll

Duration

Gets or sets the duration of the gain ramp, in seconds.

public double Duration { get; set; }

Property Value

double

Remarks

The default of 20 milliseconds keeps the gain change smooth, since very short ramps can produce audible clipping. A duration of zero changes the gain immediately.