[Webkit-unassigned] [Bug 248534] New: Creating and destroying lots of IIRFilterNodes corrupts AudioContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 07:37:18 PST 2022


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

            Bug ID: 248534
           Summary: Creating and destroying lots of IIRFilterNodes
                    corrupts AudioContext
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ae at seven.systems
                CC: cdumez at apple.com

I have an audio application where the user is able to interactively adjust the parameters of a custom EQ created using createIIRFilter. While the user moves the frequency, gain and Q sliders, the old IIRFilterNode needs to be disconnected and a new one created and connected, as it is apparently not possible to update the coefficients on an existing node (really?).

Very quickly, the audio context will start "lagging behind" (context.currentTime updates much slower than the wall clock), and for example, DynamicsCompressor.reduction will still update in 'realtime'.

I have found no workaround. Even limiting the updates to like 10 per second still makes the problem appear.

-- 
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/20221130/fcffe6e1/attachment-0001.htm>


More information about the webkit-unassigned mailing list