← Back to release summary

WebAudio: Support chaining on AudioNode.connect() and AudioParam automation methods

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

Summary

This is to support ‘method chaining’ on AudioNode.connect() and the automation methods of AudioParam object. The current implementation does not return anything when these methods get executed. It improves the control flow and the readability of Web Audio JS code.

Standards & signals

Docs: http://webaudio.github.io/web-audio-api/#the-audionode-interface http://webaudio.github.io/web-audio-api/#AudioParam https://github.com/WebAudio/web-audio-api/issues/650 https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect(AudioNode) https://developer.mozilla.org/en-US/docs/Web/API/AudioParam

Samples: https://googlechrome.github.io/samples/webaudio-method-chaining/index.html

View on chromestatus.com