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

> [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:
https://github.com/WebAudio/web-audio-api/issues/135#issuecomment-24244442

Received on Wednesday, 11 September 2013 14:35:45 UTC