Bug 214964 - [GTK] Audio lag and timing issues with Tone.js
Summary: [GTK] Audio lag and timing issues with Tone.js
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-30 06:59 PDT by christopherliu
Modified: 2020-07-30 07:01 PDT (History)
1 user (show)

See Also:


Attachments
Testcase (1.88 KB, application/zip)
2020-07-30 06:59 PDT, christopherliu
no flags Details
main.py (1.20 KB, text/x-python-script)
2020-07-30 07:00 PDT, christopherliu
no flags Details
GTK template (1.01 KB, application/x-gtk-builder)
2020-07-30 07:01 PDT, christopherliu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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