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

[web-audio-api] spatial coords should just be in metres (#129)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:28:31 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/129@github.com>
> Originally reported on W3C Bugzilla [ISSUE-20681](https://www.w3.org/Bugs/Public/show_bug.cgi?id=20681) Wed, 16 Jan 2013 01:41:27 GMT
> Reported by Ralph Giles
> Assigned to 

https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Spatialization-background Says,

"The units used in the coordinate system are not defined, and do not need to be because the effects calculated with these coordinates are independent/invariant of any particular units such as meters or feet."

This is true as far as the subsequent example goes, but is in conflict with the doppler algorithm, which compares velocities against AudioListener.speedOfSound, which is explicitly in metres per second.

I suggest the quoted sentence about unit independence just be removed, and that the spacial fields be clarified to always use metres for length.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/129
Received on Wednesday, 11 September 2013 14:30:35 UTC

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