Bug 226240 - Glitches in AudioWorklet playback
Summary: Glitches in AudioWorklet playback
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: Safari Technology Preview
Hardware: iPhone / iPad iOS 14
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-25 13:41 PDT by Peter Salomonsen
Modified: 2023-02-06 03:22 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Salomonsen 2021-05-25 13:41:00 PDT
After the update with AudioWorklet support there are glitches in the audio in all of the links below when playing on my Iphone XR:

https://petersalomonsen.com/nftmusic/2
https://petersalomonsen.com/nftmusic/3

The two links above has a polyfill and plays nicely if AudioWorklet is turned off.

The link below has no polyfill, relies only on AudioWorklet but has glitches even on my Macbook Air M1:

https://psalomo.near.page/nftparts1/index.html

Plays without problems in Chrome/Firefox on the same Macbooc Air M1.
Comment 1 Radar WebKit Bug Importer 2021-06-01 13:41:23 PDT
<rdar://problem/78730612>
Comment 2 Tobias Hegemann 2023-02-06 03:22:08 PST
This might be an duplicate of https://bugs.webkit.org/show_bug.cgi?id=251091

However, I created a simple and minified test for this issue as well:
https://delude88.github.io/ios-audioworklet-sample-rate/

Each time any AudioWorklet is used on iOS it creates glitches, that still remain and affects the whole audio context - until the it is recreated.