Bug 214964

Summary: [GTK] Audio lag and timing issues with Tone.js
Product: WebKit Reporter: christopherliu
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Linux   
Attachments:
Description Flags
Testcase
none
main.py
none
GTK template none

Description christopherliu 2020-07-30 06:59:22 PDT
Created attachment 405564 [details]
Testcase

Overview: Audio produced by the WebAudio framework Tone.js lags, stutters, and sometimes does not play at all when using Webkit2GTK or on the GNOME Web browser.

Steps to reproduce:
– Run main.py in the testcase
– Press the play button

Actual results: Notes play unpredictably, with different timing each time.

Expected results: Each note should be played 0.5 sec after another consistently.

Build 2020-07-30 on VirtualBox Fedora 32 (bug also occurs outside of a VM)

Doesn't occur on other web browsers like Chrome.
Comment 1 christopherliu 2020-07-30 07:00:18 PDT
Created attachment 405565 [details]
main.py
Comment 2 christopherliu 2020-07-30 07:01:22 PDT
Created attachment 405566 [details]
GTK template