From a13360089a4ca13fdad4f1b1bf44be90b4e6004b Mon Sep 17 00:00:00 2001
From: Paul Adenot The GainNode Interface
the gain
AudioParam
.
- The implementation must make gain changes to the audio stream smoothly, - without introducing noticeable clicks or glitches. This process is called - "de-zippering". -
-delayTime
is 0 seconds (no delay). When the delay time is
- changed, the implementation must make the transition smoothly, without
- introducing noticeable clicks or glitches to the audio stream.
+ delayTime
is 0 seconds (no delay).
+ While no automatic smoothing is done when directly setting the
+ value
attribute of an AudioParam
, for
+ certain parameters, smooth transition are preferable to directly setting
+ the value.
+
+ Using the setTargetAtTime
method with a low
+ timeConstant
allows authors to a perform smooth transition.
+