<?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>21545</bug_id>
          
          <creation_ts>2013-04-02 16:14:51 +0000</creation_ts>
          <short_desc>AudioParam - min/maxValue, intrinsic value, computedValue</short_desc>
          <delta_ts>2014-10-28 17:17:41 +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>https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#attributes-AudioParam</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="Olivier Thereaux">olivier.thereaux</reporter>
          <assigned_to name="Chris Rogers">crogers</assigned_to>
          <cc>ehsan</cc>
          
          <qa_contact>public-audio</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85418</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2013-04-02 16:14:51 +0000</bug_when>
    <thetext>Per discussion at Audio WG f2f 2013-03-26:

* min/maxValue do not need to be exposed as attributes
* &quot;intrinsic value&quot; is unclear. Move current text (4.5.1) higher in the spec and reword.
* remove computedValue attribute</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85764</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2013-04-09 01:05:15 +0000</bug_when>
    <thetext>Partially addressed in:
https://dvcs.w3.org/hg/audio/rev/666831bdd706

Still need to re-word &quot;intrinsic value&quot; part...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90795</commentid>
    <comment_count>2</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-07-16 15:02:33 +0000</bug_when>
    <thetext>Following up on this bug, the prose for the intrinsic value is currently saying that when read, AudioParam.value should return the current instrinsic value based on the current time.  This is similar to what the computedValue attribute used to return, and there are some concerns about this (see &lt;http://lists.w3.org/Archives/Public/public-audio/2012OctDec/0623.html&gt; for example.)

Chris, are you planning to make AudioParam.value a simple value which can be get/set like any other attribute?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90815</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2013-07-16 19:15:46 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Following up on this bug, the prose for the intrinsic value is currently
&gt; saying that when read, AudioParam.value should return the current instrinsic
&gt; value based on the current time.  This is similar to what the computedValue
&gt; attribute used to return, and there are some concerns about this (see
&gt; &lt;http://lists.w3.org/Archives/Public/public-audio/2012OctDec/0623.html&gt; for
&gt; example.)
&gt; 
&gt; Chris, are you planning to make AudioParam.value a simple value which can be
&gt; get/set like any other attribute?

The .computedValue attribute was removed awhile ago as a publicly available attribute in the spec.  There is still a section talking about &quot;computedValued&quot;, but only as an implementation detail to describe that this is the final internally computed value that will be used by the DSP algorithm.

I now see that I forgot to remove a couple of sentences relating to this - now fixed:
https://dvcs.w3.org/hg/audio/rev/4f8714b58ef1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90816</commentid>
    <comment_count>4</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-07-16 19:27:03 +0000</bug_when>
    <thetext>Thanks, I actually missed that part of the prose, but I agree that it should have been removed.  :-)

My question was about this part of the prose (about the intrinsic value): &quot;When read, the .value attribute always returns the intrinsic value for the current time.&quot;  This basically has the same problems as the old computedValue property, which is the problem I was talking about in comment 2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90820</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2013-07-16 21:02:27 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Thanks, I actually missed that part of the prose, but I agree that it should
&gt; have been removed.  :-)
&gt; 
&gt; My question was about this part of the prose (about the intrinsic value):
&gt; &quot;When read, the .value attribute always returns the intrinsic value for the
&gt; current time.&quot;  This basically has the same problems as the old
&gt; computedValue property, which is the problem I was talking about in comment
&gt; 2.

It&apos;s not quite the same as computedValue, since at a specific time, it&apos;s a very straightforward mapping and it&apos;s possible to get the exact value based on the &quot;scheduled&quot; events (from setValueAtTime(), linearRampToValueAtTime(), etc.).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90821</commentid>
    <comment_count>6</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-07-16 21:19:30 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; Thanks, I actually missed that part of the prose, but I agree that it should
&gt; &gt; have been removed.  :-)
&gt; &gt; 
&gt; &gt; My question was about this part of the prose (about the intrinsic value):
&gt; &gt; &quot;When read, the .value attribute always returns the intrinsic value for the
&gt; &gt; current time.&quot;  This basically has the same problems as the old
&gt; &gt; computedValue property, which is the problem I was talking about in comment
&gt; &gt; 2.
&gt; 
&gt; It&apos;s not quite the same as computedValue, since at a specific time, it&apos;s a
&gt; very straightforward mapping and it&apos;s possible to get the exact value based
&gt; on the &quot;scheduled&quot; events (from setValueAtTime(), linearRampToValueAtTime(),
&gt; etc.).

But then we will face the same problems discussed in this message: &lt;http://lists.w3.org/Archives/Public/public-audio/2012OctDec/0623.html&gt;...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113951</commentid>
    <comment_count>7</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:14:44 +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>114100</commentid>
    <comment_count>8</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:17:41 +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>