W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

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

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:51 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/135/24244425@github.com>
> [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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:11 UTC