Re: Audio Workers - please review

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).

-Kumar

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