Property Duration
Duration
Gets or sets the duration of the gain ramp, in seconds.
public double Duration { get; set; }
Property Value
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.