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

Re: can we change the block size?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 1 Jan 2013 11:00:25 +1300
Message-ID: <CAOp6jLaTgY_W=6xgf-eK0Exju5nRtZ94NHvxNEkwTYDB-encfA@mail.gmail.com>
To: public-audio@w3.org
On Tue, Jan 1, 2013 at 12:11 AM, Robert O'Callahan <robert@ocallahan.org>wrote:

> The spec requires block processing with 128 sample-frames per block. This
> can be a bit inconvenient when interfacing with other code. For example,
> the code at http://www.webrtc.org/ wants to capture, send and receive
> audio in chunks of exactly 10ms. So when using Web Audio with that WebRTC
> code, it would be nice to have 10ms be a whole number of Web Audio blocks.
> Unfortunately that means choosing a sample rate which is a multiple of
> 128*100, which common sample rates aren't.

Actually we can deal with this in other ways, so it's not that important.
But I'm still curious what the requirements are around the block size.

Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]
Received on Monday, 31 December 2012 22:00:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:15 UTC