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

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17378#0) by Ehsan Akhgari [:ehsan] on W3C Bugzilla. Thu, 01 Aug 2013 17:24:34 GMT

I think it probably makes sense to specify a 0 playbackRate to produce silence, and for negative values to play the buffer backwards, that is, from duration to offset (or from loopEnd to loopStart).

Also, note that there is another way that this node can perform resampling, that is, when there is a doppler shift applied to it in the face of a PannerNode.  I think it makes sense to specify what needs to happen based on the multiplication of these two ratios.

Another point which was brought up on today's call was handling of values larger than one, but I think that is probably non-controversial by specifying that the final computed sampling rate ratio should be multiplied by the sampling rate of the buffer for the AudioBufferSourceNode in order to determine the target sampling rate that the resampler should use.

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

Received on Wednesday, 11 September 2013 14:30:00 UTC