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.


Reply to this email directly or view it on GitHub:
Received on Wednesday, 11 September 2013 14:30:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:24 UTC