W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2011

Info on WebAudioAPI demos and glitches / stutter.

From: Jane's Conference <janesconference@gmail.com>
Date: Tue, 15 Nov 2011 22:57:36 +0100
Message-ID: <CAJqXXpAxg5qVZ9QC7mvNdLo616of-wGgTTecGjqHQ6w_mN1d4w@mail.gmail.com>
To: "public-audio@w3.org" <public-audio@w3.org>
Cc: crogers@google.com
Hi public-audio list, hi Chris,

I don't know if it's the right place to write, but I found these addresses
on the Web Audio Examples page (
http://chromium.googlecode.com/svn/trunk/samples/audio/index.html) for any
feedback about the demos.

I'm currently debugging my HTML5 synth demo, which by the way I hope I can
submit to you to be included in the examples page when it's finished (you
can find a 0.1beta version here:
http://dl.dropbox.com/u/6767816/develop/MorningStar_0.1_beta/index.html along
with the source code here: https://github.com/janesconference/MorningStar).

The demo fully supports Web Audio API and, to a certain extent, Firefox's
mozAudio. When I run it on Chrome browsers (15.0.874.120 at the time of
writing), I experience stutters and glitches on the sound. Raising the
bufferSize of my JavaScriptAudioNode doesn't help at all.

I tought it was my fault, but exploring the demo programs in the Web Audio
Examples pages led me to discover that every demo in the page (from the
most cpu-intensive, say the DrumMachine, to the least ones) behaves in the
same way: stuttering and glitching, on the three PCs I can lay my hands on
(an old Ubuntu Centrino notebook, a Vista Core2 Duo PC and an Ubuntu
quad-core workstation I use at my workplace). Opening the examples in an
incognito window, to exclude Chrome extensions, doesn't help.

I hypotized that having the Developer Tools windows open would cause - or
be a con-cause to - the problem, but closing DT's window doesn't help
either (btw, I don't know the internals: is there a way to deactivate it at
all? Safari asks if debug should be activated once or forever for a given
page, Chrome doesn't).

Since this might be an useful feedback on the Web Audio examples /
demos for you, and an important source of info on what the heck is going on
for me, I decided to write here and see if someone could help me on this
issue, or maybe point me to someone who could.

Thanks and best regards, keep up the wonderful work,

Cristiano.
Received on Wednesday, 16 November 2011 08:36:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 November 2011 08:36:43 GMT