Open Bug 1308431 Opened 8 years ago Updated 2 years ago

Implement `cancelAndHoldAtTime`.

Categories

(Core :: Web Audio, task, P3)

task

Tracking

()

People

(Reporter: padenot, Unassigned)

References

(Depends on 2 open bugs)

Details

This allows authors to prevent sudden jump in param values. Spec changes at https://github.com/webaudio/web-audio-api/commit/ec95c8d171c9009f018d632a8bf508a147cba738.
Rank: 25
Depends on: 1184057
Assignee: nobody → dminor
Status: NEW → ASSIGNED
I don't believe we can implement the algorithm in the spec properly until Bug 1265393 is fixed.
Depends on: 1265393
Assignee: dminor → nobody
Status: ASSIGNED → NEW
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3

Any plans to implement this? Chrome shipped cancelAndHoldAtTime in M57.

It's needed to create professional quality envelopes for synthesizers and samplers. Without it, anytime an envelope is stopped mid-stage, we have to use cancelScheduledValues, which introduces a glitch/pop into the audio.

The behaviour is not clear yet on a spec level. Discussion is happening at https://github.com/WebAudio/web-audio-api/issues/1791. Once settled, we'll get it implemented.

Any progress on this? I see you guys settled on spec 2.

friendly bump!

this is a very handy feature, saves a lot of headache when aborting ramps, for instance.

Type: defect → task
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.