DescriptionRemove Doppler effect from PannerNode
The W3C audio group has decided to remove the Doppler effect. In
addition, the current PannerNode will eventually be deprecated in
favor of new panner nodes (StereoPannerNode and future ones).
(See https://github.com/WebAudio/web-audio-api/issues/372)
The doppler effect was never done in a very general way and was only
applied to AudioBufferSourceNodes, not Oscillators, or MediaStreams.
(The effect was done by modifying the playback rate of the source
node.) Multiple panner nodes also had strange effects if the velocity
was different in each panner.
This is not a complete removal of the code, but only the part that
causes the source nodes to be modified with a new playback rate based
on the doppler frequency of the panner. The remaining doppler code
will be removed when the PannerNode is deprecated and finally removed. Bug 439644 tracks this.
BUG=433798, 439644
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186738
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|