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/24244442@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17411#5) by Marcus Geelnard (Opera) on W3C Bugzilla. Wed, 05 Dec 2012 08:29:31 GMT

(In reply to [comment #5](#issuecomment-24244436))
> I'm just taking this interpretation from the OpenAL specification.  But
> you're right, we could just say that .speedOfSound is the speed in arbitrary
> units which are also used by the velocity vectors.  These units are
> independent of the units used for position and orientation vectors.
> How does that sound?

That sounds like the better choice, yes. I'm sure there are some reasons why OpenAL uses m/s, but unless we know why and it's a strong enough reason, I don't think that it's enough for us to just duplicate that part.

PS. One guess as to why OpenAL want to use m/s it so that the default speed of sound = 343.3 makes sense. On the other hand, this is kind of similar to the gravity property in the Bullet physics library, which defaults to a unit-less 10 (all things are unit-less in Bullet).

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

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