Interface IAudioParameterRampOptions
Properties
duration
duration: number
The ramp time, in seconds. Must be greater than 0. Defaults to 0.01 seconds. The audio parameter's value will reach the target value at the end of the duration.
shape
The shape of the ramp to use for the parameter change. Defaults to AudioParameterRampShape.Linear.
Options for ramping an audio parameter's value.