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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17378

Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ehsan@mozilla.com

--- Comment #1 from Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 1 August 2013 17:24:35 UTC