[Webkit-unassigned] [Bug 190644] onaudioprocess Occasionally Has Buffers With Zeroes as Data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 31 13:38:11 PDT 2018


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

--- Comment #7 from Jer Noble <jer.noble at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181031/564e74b6/attachment-0001.html>


More information about the webkit-unassigned mailing list