<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>226240</bug_id>
          
          <creation_ts>2021-05-25 13:41:00 -0700</creation_ts>
          <short_desc>Glitches in AudioWorklet playback</short_desc>
          <delta_ts>2023-02-06 03:22:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Audio</component>
          <version>Safari Technology Preview</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Salomonsen">pjsalomonsen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>pjsalomonsen</cc>
    
    <cc>tobias.hegemann</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1763667</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Salomonsen">pjsalomonsen</who>
    <bug_when>2021-05-25 13:41:00 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765737</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-06-01 13:41:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/78730612&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1931334</commentid>
    <comment_count>2</comment_count>
    <who name="Tobias Hegemann">tobias.hegemann</who>
    <bug_when>2023-02-06 03:22:08 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>