W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

[Bug 17378] (AudioBufferSourceNodePlaybackRate): AudioBufferSourceNode.playbackRate not strictly defined

From: <bugzilla@jessica.w3.org>
Date: Mon, 05 Aug 2013 17:51:36 +0000
To: public-audio@w3.org
Message-ID: <bug-17378-5429-FQaj5saoB6@http.www.w3.org/Bugs/Public/>

--- Comment #8 from Joe Berkovitz / NF <joe@noteflight.com> ---
Just to amplify Chris's comment: apart from my attempt to tease out a more
detailed spec of playbackRate, the main behavioral difference in my proposal
from Ehsan's is that a negative playbackRate does not cause playback to start
at a different point than it would have otherwise. playbackRate determines the
time derivative of a "playback path" through the buffer, but not the origin of
that path, which remains the buffer offset as specified in the start() call
(which defaults to 0).

If we want the ability to start playing a buffer from the end, I think there's
a clearer and more explicit way to do that: attach that interpretation to a
negative "offset" parameter passed to AudioBufferSourceNode.start(). I don't
feel strongly that we need that feature but I do think we should avoid
overloading the meaning of playbackRate w/r/t start offsets.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 5 August 2013 17:51:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:10 UTC