Re: [web-audio-api] (AudioPannerNodeUnits): AudioPannerNode units are underspecified (#135)

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17411#2) by Chris Rogers on W3C Bugzilla. Mon, 03 Dec 2012 23:23:18 GMT

(In reply to [comment #2](#issuecomment-24244417))
> One more thing: Section 4.15. The AudioListener Interface reads "// in
> meters / second (default 343.3)" for the speedOfSound attribute, which is
> obviously wrong, then.

Sorry Marcus, I wasn't clear about that part.  The doppler effect uses the .speedOfSound attribute in conjunction with the velocity vectors for both the AudioPannerNode and the AudioListener.  These velocity vectors are in meters/second and are independent of the units used for position and orientation.  This is taken directly from the OpenAL specification.

Added more specific text for the setVelocity() methods and also added the doppler shift algorithm which uses these values.

Fixed:
https://dvcs.w3.org/hg/audio/rev/f4bef40f3efe

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

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