- From: Joseph Berkovitz <joe@noteflight.com>
- Date: Mon, 25 Aug 2014 17:16:31 -0400
- To: Chris Wilson <cwilso@google.com>
- Cc: "public-audio@w3.org" <public-audio@w3.org>
Received on Monday, 25 August 2014 21:16:49 UTC
Chris, One further piece of feedback, breaking out into a separate thread here. To keep the parameter namespace clean, I think the dynamic AudioParams should be bound to properties of a separate “params” object hanging off of AudioProcessingEvent, rather than properties of the event itself. 1. This prevents any possible collision between parameter names and other event properties, of which there are many (and perhaps more in the future). 2. It also makes it much easier for application code to enumerate the AudioParams associated with a given event instance; no need to skip over the “builtin” properties of an Event as one iterates. So: interface AudioProcessingEvent : Event { readonly attribute double playbackTime; readonly attribute AudioBuffer inputBuffer; readonly attribute AudioBuffer outputBuffer; readonly attribute object params; // dynamic parameters hang off this object }; Thoughts? …Joe
Received on Monday, 25 August 2014 21:16:49 UTC