ISSUE-48: (Bugzilla 17341) AudioBuffer simplification

AudioBufferSimpl

(Bugzilla 17341) AudioBuffer simplification

State:
CLOSED
Product:
Web Audio API
Raised by:
Philip Jägenstedt
Opened on:
2012-05-15
Description:
The duration attribute fills no purpose, as it can be calculated trivially from sampleRate and length.

In fact, the interface can be reduced to:

interface AudioBuffer {
readonly attribute float sampleRate;
Float32Array[] data;
}

The number of channels is data.length and the number of samples is data[0].length.

The name data was picked for consistency with the ImageData interface from the 2D canvas context.
Related Actions Items:
No related actions
Related emails:
  1. [web-audio-api] (AudioBufferSimpl): AudioBuffer simplification (#80) (from notifications@github.com on 2013-09-11)
  2. Re: Summary of issues (from crogers@google.com on 2012-05-22)
  3. Summary of issues (from mage@opera.com on 2012-05-22)
  4. Re: Missing information in the Web Audio spec (from philipj@opera.com on 2012-05-16)
  5. Audio-ISSUE-48 (AudioBufferSimpl): AudioBuffer simplification [Web Audio API] (from sysbot+tracker@w3.org on 2012-05-15)

Related notes:

[MikeSmith]: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17341

5 Jun 2012, 13:53:36

Display change log ATOM feed


Matthew Paradis <matthew.paradis@bbc.co.uk>, Raymond Toy <rtoy@google.com>, Chairs, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 48.html,v 1.1 2019/11/12 13:32:26 carcone Exp $