<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20681</bug_id>
          
          <creation_ts>2013-01-16 01:41:27 +0000</creation_ts>
          <short_desc>spatial coords should just be in metres</short_desc>
          <delta_ts>2014-10-28 17:16:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>AudioWG</product>
          <component>Web Audio API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>TBD</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ralph Giles">giles</reporter>
          <assigned_to name="Chris Rogers">crogers</assigned_to>
          <cc>mage</cc>
    
    <cc>olivier.thereaux</cc>
          
          <qa_contact>public-audio</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81462</commentid>
    <comment_count>0</comment_count>
    <who name="Ralph Giles">giles</who>
    <bug_when>2013-01-16 01:41:27 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Spatialization-background Says,

&quot;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.&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85750</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2013-04-08 21:59:35 +0000</bug_when>
    <thetext>This is based on OpenAL where the units are not defined.  I&apos;ve updated the spec to remove mention of meters/second.

Fixed:
https://dvcs.w3.org/hg/audio/rev/5c21ad646174</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86792</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2013-04-25 15:42:21 +0000</bug_when>
    <thetext>I have to say I&apos;m finding it really strange to have a parameter define a speed and yet have no mention of the unit, either in the value (fine) or anywhere specifying the unit used by the parameter. Granted, m/s is a fairly standard unit of speed, but then so is mph. 

Our usual process says &quot;no objection in &gt; 2 weeks, close&quot;, but I&apos;d like to invite more scrutiny and feedback here from the group.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86835</commentid>
    <comment_count>3</comment_count>
    <who name="Marcus Geelnard (Opera)">mage</who>
    <bug_when>2013-04-26 07:01:21 +0000</bug_when>
    <thetext>I think that what we&apos;re missing is a consistent use/definition of &quot;unit&quot;. For instance, the comment for speedOfSound could read:

&quot;in units / second (default 343.3)&quot;

But then we should define the term &quot;units&quot; somewhere in the spec.

In Open Dynamic Engine (ODE), for instance, the units are undefined: &quot;Technically, ODE doesn&apos;t use specific units. You can use anything you wish, as long as you stay consistent with yourself.&quot; (the manual also recommends that you use SI units since that typically implies that you&apos;re &quot;consistent with yourself&quot;). In the ODE manual, you can find language such as &quot;If a sphere of size 1 has to roll over a polygon a 1000 units long...&quot;.

Perhaps a good solution to the problem would be to introduce a short section in the spec about units, and then refer to things such as speed in terms of &quot;units&quot; (i.e. units / second).

Side note: Technically, &quot;seconds&quot; could also be &quot;units of time&quot;, but on the other hand we already use seconds in many places in the spec, so I think it&apos;s safe to always use/mandate seconds for time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86836</commentid>
    <comment_count>4</comment_count>
    <who name="Marcus Geelnard (Opera)">mage</who>
    <bug_when>2013-04-26 07:11:03 +0000</bug_when>
    <thetext>...also just found that the PannerNode and AudioListener specifies the velocity in meters / second, which would have to change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91539</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2013-08-02 08:52:37 +0000</bug_when>
    <thetext>Reopening per discussion at the Audio WG teleconference on 1st August 2013.
http://www.w3.org/2013/08/01-audio-minutes.html#item03</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113885</commentid>
    <comment_count>6</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:14:03 +0000</bug_when>
    <thetext>Web Audio API issues have been migrated to Github. 
See https://github.com/WebAudio/web-audio-api/issues</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114031</commentid>
    <comment_count>7</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:16:56 +0000</bug_when>
    <thetext>Closing. See https://github.com/WebAudio/web-audio-api/issues for up to date list of issues for the Web Audio API.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>