W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

Re: oscillators and the Web Audio API

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 9 Feb 2012 10:13:54 +1300
Message-ID: <CAOp6jLagF2LXnVXzHOBAh1WZ95-9O0kckeeYNyb6BUELkFc_Cg@mail.gmail.com>
To: Alistair MacDonald <al@signedon.com>
Cc: Joe Berkovitz <joe@noteflight.com>, public-audio@w3.org, philburk@mobileer.com
On Thu, Feb 9, 2012 at 8:33 AM, Alistair MacDonald <al@signedon.com> wrote:

> I think going back-and-forth between the Native Graph and the
> JavaScript Processing Nodes is going to be quite expensive,

I think it's better to try things out and measure than to make assumptions
about performance. The relative cost of those transitions will depend very
much on the implementation, and decisions about buffer sizing etc.

Also, devices have multiple CPU cores now. My ProcessedMediaStream
implementation spreads the processing for different streams across all
available cores. It's especially hard to predict performance in that kind
of configuration.

"If we claim to be without sin, we deceive ourselves and the truth is not
in us. If we confess our sins, he is faithful and just and will forgive us
our sins and purify us from all unrighteousness. If we claim we have not
sinned, we make him out to be a liar and his word is not in us." [1 John
Received on Wednesday, 8 February 2012 21:14:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:57 UTC