Open
Bug 2011524
Opened 4 months ago
Updated 4 months ago
linearRampToValueAtTime/exponentialRampToValueAtTime increase sometimes instantly changes to value
Categories
(Core :: Web Audio, defect)
Core
Web Audio
Tracking
()
NEW
People
(Reporter: karlt, Unassigned)
References
(Blocks 1 open bug)
Details
From https://github.com/mdn/browser-compat-data/issues/27568
- Open https://mdn.github.io/webaudio-examples/audio-param/
- Press play
- Press "Linear ramp gain to 0 in 2 seconds"
- Wait for the volume to go down
- Press "Linear ramp gain to 1 in 2 seconds"
Expected result: Should ramp volume up gradually
Actual result: Instantly sets volume to 1
Behavior appears to be as expected if instead step 4 does not wait the full two seconds.
Behavior is also as expected if steps 3 and 5 are swapped (volume ramps down gradually).
Reproduces with mozregression --launch 2023-09-01.
| Reporter | ||
Comment 1•4 months ago
|
||
There is something similar with exponentialRampToValueAtTime(), but it doesn't reproduce when waiting only 2 seconds in step 4.
5 seconds seems to be sufficient.
Summary: linearRampToValueAtTime from zero gain instantly changes to value → linearRampToValueAtTime/exponentialRampToValueAtTime increase instantly changes to value
| Reporter | ||
Updated•4 months ago
|
Summary: linearRampToValueAtTime/exponentialRampToValueAtTime increase instantly changes to value → linearRampToValueAtTime/exponentialRampToValueAtTime increase sometimes instantly changes to value
You need to log in
before you can comment on or make changes to this bug.
Description
•