[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-unassigned
Subject:    [Webkit-unassigned] [Bug 190644] onaudioprocess Occasionally Has Buffers With Zeroes as Data
From:       bugzilla-daemon () webkit ! org
Date:       2018-10-31 20:38:11
Message-ID: bug-190644-2851-7p0Hu25qbl () https ! bugs ! webkit ! org/
[Download RAW message or body]

--Boundary_(ID_m9reIRhQRNzQ0wb0LPqGSQ)
Date: Wed, 31 Oct 2018 13:38:15 -0700
Auto-submitted: auto-generated
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Bugzilla-URL: https://bugs.webkit.org/

https://bugs.webkit.org/show_bug.cgi?id=190644

--- Comment #7 from Jer Noble <jer.noble@apple.com> ---
(In reply to stoldney.mcstoldneyson from comment #6)
> Thanks for the feedback, I will give these suggestions a shot. 
> 
> As you can tell, I'm not overly familiar with the web audio API. Are there
> any resources you would recommend to learn more and get better?

I don't have experience directly with this book, but O'Reilly's tech books have a \
good reputation: <http://shop.oreilly.com/product/0636920025948.do> "Web Audio API - \
Advanced Sound for Games and Interactive Apps".

That said, this is a pretty advanced (though common) pain point; garbage collection \
on the main thread can cause audible hiccups in Web Audio graphs containing \
scriptProcessorNodes(). There's work being done in the Web Audio spec to allow js \
processing to move to a Worker, but you'll still have GC problems there. Luckily for \
your particular use case, it appears you can move all your SPN code into \
requestAnimationFrame() with minimal changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--Boundary_(ID_m9reIRhQRNzQ0wb0LPqGSQ)
Date: Wed, 31 Oct 2018 13:38:15 -0700
Auto-submitted: auto-generated
MIME-version: 1.0
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Bugzilla-URL: https://bugs.webkit.org/

<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - onaudioprocess Occasionally Has Buffers With Zeroes as Data"
   href="https://bugs.webkit.org/show_bug.cgi?id=190644#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - onaudioprocess Occasionally Has Buffers With Zeroes as Data"
   href="https://bugs.webkit.org/show_bug.cgi?id=190644">bug 190644</a>
              from <span class="vcard"><a class="email" \
href="mailto:jer.noble&#64;apple.com" title="Jer Noble \
&lt;jer.noble&#64;apple.com&gt;"> <span class="fn">Jer Noble</span></a> </span></b>
        <pre>(In reply to stoldney.mcstoldneyson from <a \
href="show_bug.cgi?id=190644#c6">comment #6</a>) <span class="quote">&gt; Thanks for \
the feedback, I will give these suggestions a shot.  &gt; 
&gt; As you can tell, I'm not overly familiar with the web audio API. Are there
&gt; any resources you would recommend to learn more and get better?</span >

I don't have experience directly with this book, but O'Reilly's tech books have a \
good reputation: &lt;<a \
href="http://shop.oreilly.com/product/0636920025948.do">http://shop.oreilly.com/product/0636920025948.do</a>&gt; \
&quot;Web Audio API - Advanced Sound for Games and Interactive Apps&quot;.

That said, this is a pretty advanced (though common) pain point; garbage collection \
on the main thread can cause audible hiccups in Web Audio graphs containing \
scriptProcessorNodes(). There's work being done in the Web Audio spec to allow js \
processing to move to a Worker, but you'll still have GC problems there. Luckily for \
your particular use case, it appears you can move all your SPN code into \
requestAnimationFrame() with minimal changes.</pre>  </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>

--Boundary_(ID_m9reIRhQRNzQ0wb0LPqGSQ)--



_______________________________________________
webkit-unassigned mailing list
webkit-unassigned@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-unassigned


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic