<?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>17326</bug_id>
          
          <creation_ts>2012-06-05 11:18:29 +0000</creation_ts>
          <short_desc>(CircularRouting): Undefined behavior for circular graphs</short_desc>
          <delta_ts>2014-10-28 17:17: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="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="Chris Rogers">crogers</assigned_to>
          <cc>matthew.paradis</cc>
    
    <cc>olivier.thereaux</cc>
    
    <cc>padenot</cc>
    
    <cc>public-audio</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68635</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-06-05 11:18:29 +0000</bug_when>
    <thetext>Audio-ISSUE-24 (CircularRouting): Undefined behavior for circular graphs [Web Audio API]

http://www.w3.org/2011/audio/track/issues/24

Raised by: Philip Jägenstedt
On product: Web Audio API

The spec does not define whether or not circular connections are allowed. Whichever is the case, the behavior needs to be defined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68844</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-06-07 16:07:25 +0000</bug_when>
    <thetext>Proposed changeset, 25 May 2012
https://dvcs.w3.org/hg/audio/rev/74bd0f9f2fb6

Resolution per http://www.w3.org/2012/05/30-audio-minutes.html#item02
«it is OK to have a circular graph so long as there is a delay. The minimum delay should be 128 samples»

Discussion thread on the list:
http://lists.w3.org/Archives/Public/public-audio/2012AprJun/thread.html#msg461</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69735</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-07-09 13:31:03 +0000</bug_when>
    <thetext>The discussion continues on the mailing-list:
http://lists.w3.org/Archives/Public/public-audio/2012JulSep/thread.html#msg1

And Robert raised a related issue about the lookahead in the DynamicsCompressorNode:
http://lists.w3.org/Archives/Public/public-audio/2012JulSep/0019.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73753</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-09-13 09:48:49 +0000</bug_when>
    <thetext>This was discussed at the 12th Sept 2012 teleconference.

Suggested resolution: circular connections are allowed if there is a delay node present. If the delay is too small, the implementation should clamp it to a minimum, on a per-node basis.

There were two suggested resolutions for the minimum delay:
* one to specify the minimum as a block of 128 samples (which would make things sound differently on platforms with different sample sizes, but that was deemed acceptable in the same way as graphics look different on platforms with different frame rates and power). 
* The other was to not specify it and let implementations choose (and, I assume, expose?) their minimum delay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74023</commentid>
    <comment_count>4</comment_count>
    <who name="Matthew Paradis">matthew.paradis</who>
    <bug_when>2012-09-18 11:07:38 +0000</bug_when>
    <thetext>If circular connections (without delay) are allowed it may be worth considering raising an exception when they are detected.  Software such as Pure Data and Max/Msp do this as well as zeroing the output. 
Without the exception it may make the debugging process longer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93098</commentid>
    <comment_count>5</comment_count>
    <who name="paul@paul.cx">padenot</who>
    <bug_when>2013-09-06 14:36:25 +0000</bug_when>
    <thetext>Duping against the most recent bug with the latest developments.

*** This bug has been marked as a duplicate of bug 23037 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113967</commentid>
    <comment_count>6</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:14:56 +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>114117</commentid>
    <comment_count>7</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:17: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>