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

Re: TAG feedback on Web Audio

From: Joseph Berkovitz <joe@noteflight.com>
Date: Thu, 8 Aug 2013 09:59:38 -0400
Cc: Noah Mendelsohn <nrm@arcanedomain.com>, robert@ocallahan.org, Jer Noble <jer.noble@apple.com>, "K. Gadd" <kg@luminance.org>, Srikumar Karaikudi Subramanian <srikumarks@gmail.com>, Chris Wilson <cwilso@google.com>, Alex Russell <slightlyoff@google.com>, Anne van Kesteren <annevk@annevk.nl>, Olivier Thereaux <Olivier.Thereaux@bbc.co.uk>, "public-audio@w3.org" <public-audio@w3.org>, "www-tag@w3.org List" <www-tag@w3.org>
Message-Id: <834DE0AC-AADD-4AC9-9AB3-6DB498785C19@noteflight.com>
To: Marcus Geelnard <mage@opera.com>

On Aug 8, 2013, at 6:16 AM, Marcus Geelnard <mage@opera.com> wrote:
> I strongly believe that the most critical part of the current API that could potentially block such future directions is the requirement that the audio data buffers must be shared between the audio engine and the JS engine. It might seem to be an optimal solution (performance wise) right now, but it literally kills many attempts to move audio processing off-CPU (e.g. try to imagine the limitations imposed on a hardware accelerated 3D graphics processor if it had to be able to observe data mutations made by the CPU in shared RAM).

To be accurate, I don't think the proponents of retaining the current API approach have asked that sharing memory be a requirement -- only that it should be permitted, and is desirable under "safe" timing scenarios, but not to be relied upon in "risky" ones. It would, I think, be possible to implement something like ROC's proposal minus the neutering and still conform to the current API, while getting rid of potential shared-memory side effects.

This is not an argument per se for retaining the current API approach, just an attempt to better characterize the "leave it as is" position. I personally favor legislating away the shared-memory effects via some variant of the alternative proposals on the table and moving on to other matters.

.            .       .    .  . ...Joe

Joe Berkovitz
President

Noteflight LLC
Boston, Mass.
phone: +1 978 314 6271
www.noteflight.com
"Your music, everywhere"
Received on Thursday, 8 August 2013 14:00:09 UTC

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