W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Audio-ISSUE-52 (NoteOnOffNaming): noteOn, noteGrainOn and noteOff naming [Web Audio API]

From: Audio Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Tue, 15 May 2012 15:22:06 +0000
Message-Id: <E1SUJZe-0002fG-Qd@tibor.w3.org>
To: public-audio@w3.org
Audio-ISSUE-52 (NoteOnOffNaming): noteOn, noteGrainOn and noteOff naming [Web Audio API]

http://www.w3.org/2011/audio/track/issues/52

Raised by: Philip J├Ągenstedt
On product: Web Audio API

The naming convention is unfortunate as the connection to a note is not clear. For a game sound effects or UI sound effects, this terminology is fairly obscure.

The noteGrainOn grainDuration parameter does not seem to serve any purpose given that noteOff also exists.

Suggested simplification:

    void play(optional double when, optional double offset, optional double duration);
    void stop(optional double when);

Note that the special meaning of 0 in note* is not needed if the arguments are optional.
Received on Tuesday, 15 May 2012 15:22:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 May 2012 15:22:14 GMT