← Back to release summary

WebAudio: AudioParam setter is equivalent to setValueAtTime

Category
Multimedia
Type
New or changed feature
Status
Enabled by default (Chrome 66)
Intent stage
None

Summary

When setting the value of an AudioParam via the value setter, the value is updated exactly as if setValueAtTime(newValue, context.currentTime). This includes throwing errors that weren't previously thrown and changing the AudioParam timeline

Standards & signals

Docs: https://webaudio.github.io/web-audio-api/#attributes-5

View on chromestatus.com