W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2014

Re: Audio Workers - please review

From: Srikumar K. S. <srikumarks@gmail.com>
Date: Thu, 11 Sep 2014 06:11:01 +0530
Message-Id: <4E51930B-5C84-4DD3-89B5-9ED598D8D016@gmail.com>
Cc: Chris Wilson <cwilso@google.com>, "public-audio@w3.org" <public-audio@w3.org>
To: Ehsan Akhgari <ehsan@mozilla.com>
Rgd AudioParams, addParameter and removeParameter, AudioParams thus far have served as a bridge between the script world and the processing world by providing a value automation interface to scripts and computed value buffers to nodes. The add/remove design preserves this function without adding on the complication of mapping an arbitrary time to a value buffer. It also bypasses transfer questions, since workers cannot create AudioParam objects by calling a constructor (directly or indirectly). They can do it only via postMessage to main thread.

So, as a dev, I find the proposed design for script node params is simpler to understand and sufficient in terms of function. In fact I've been using a wrapper to the scriptprocessornode that does a limited version of this (params cannot be added dynamically).

Received on Thursday, 11 September 2014 00:41:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:14 UTC