Contact emails
rt...@chromium.org, hong...@chromium.org
Spec
https://webaudio.github.io/web-audio-api/
Summary
Adds a new ConstantSourceNode that produces a constant output. However, it also has an AudioParam to allow automation of the output value, and can therefore serve as a "constructible AudioParam".
Motivation
Developers want a "constructible" AudioParam node that can be used to attach automations to and which can then be fed as the input to other nodes or be connected to other AudioParams.
This can be done today using an AudioBufferSourceNode, but the usage is rather awkward. Instead, a ConstantSourceNode will be provided whose nominal output is constant but has an AudioParam attribute that can control the node output. A constant output node is valuable in its own right.
One minor current issue: Should we also add a createConstantSource factory method? For consistency with the existing v1 nodes, the factory method is included, but this isn't really necessary.
Interoperability and Compatibility Risk
Minimal risk. We fully expect other browsers to implement this. The node is quite useful in itself.
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/5647701588836352
Requesting approval to ship?
Yes
This might be useful: https://rawgit.com/rtoy/web-audio-api/6907f985b6318da6f82f3e7fd71c73d39ace495c/index.html#ConstantSourceNodeOn Wed, Sep 14, 2016 at 10:33 AM, Raymond Toy <rt...@google.com> wrote:I think the only thing blocking is a "real" lgtm and a decision on whether we want the factory method.If everyone wants to wait for the merge, that's fine with me. I can ping this when it's merged.
Makes sense, LGTM2!
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.