Bug 1567777 Comment 6 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

AFAICT the ramp methods are behaving as expected in these examples if used on their own, since bug 1171438 was fixed.

There are some remaining issues with combinations of events, such as setTargetAtTime() followed by exponentialRampToValueAtTime(), as reported in comment 5.

A separate issue is that "Target at time 0 in 1s" triggers
```
gainNode.gain.value = 0;
gainNode.gain.setTargetAtTime(0, audioCtx.currentTime + 1, 0.5);
```
but the `value = 0` appears to have no effect.

The example page ignores any button clicks before the audio element is playing.
AFAICT the ramp methods are behaving as expected in these examples if used on their own, since bug 1171438 was fixed.

There are some remaining issues with combinations of events, such as setTargetAtTime() followed by exponentialRampToValueAtTime(), as reported in comment 5.

[Edit: This was probably me misreading the example page:
~~A separate issue is that "Target at time 0 in 1s" triggers~~
~~gainNode.gain.value = 0;~~
~~gainNode.gain.setTargetAtTime(0, audioCtx.currentTime + 1, 0.5);~~
~~but the `value = 0` appears to have no effect.~~]

The example page ignores any button clicks before the audio element is playing.

Back to Bug 1567777 Comment 6