Re: [web-audio-api] (AudioBufferSourceNodePlaybackRate): AudioBufferSourceNode.playbackRate not strictly defined (#95)

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17378#7) by Joe Berkovitz / NF on W3C Bugzilla. Mon, 05 Aug 2013 17:51:36 GMT

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.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/95#issuecomment-24244249

Received on Wednesday, 11 September 2013 14:34:17 UTC