Re: Web Audio API sequencer capabilities

On Oct 8, 2012, at 3:33 PM, Chris Rogers <crogers@google.com> wrote:

> If we extend the API in this direction in the future, rather than restore gain to ABSN, I would rather see a new type of node with an AudioParam driving its constant value. Such a node's only function is to emit a parameter-driven value.  In essence it's no more than a Node wrapping an AudioParam -- in fact, it could be named AudioParamSourceNode, by analogy with AudioBufferSourceNode.  Such a node can serve as both a unity source, a non-unity source, an envelope, or whatever.
> 
> 
> But this is so easy to create already.  I understand that it might save two or three lines of JS code, but that doesn't seem worth the effort to specify a whole new node.

It's OK, this is not something I care about much at all; happy to write the extra few lines of code.  Hence my conditional statement "If we extend the API in this direction in the future…" 

…j

Received on Tuesday, 9 October 2012 16:57:15 UTC