New issue
Advanced search Search tips
Starred by 32 users

Issue metadata

Status: Verified
Owner:
Closed: Apr 2013
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment
link

Issue 171651: HTML5 audio sounds choppy and stuttering

Reported by lggem...@gmail.com, Jan 23 2013

Issue description

Chrome Version       : 26.0.1386.0 m
URLs (if applicable) : http://www.filmscoringlab.com/files/fslmusic/00/test.php
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5: OK
  Firefox 4.x: OK
       IE 7/8/9: OK

What steps will reproduce the problem?
1. Load the page at the URL above
2. Click play on any of the players
3. The audio is choppy and stuttering

What is the expected result?
The audio should play back normally.

What happens instead?
The audio is choppy and stuttering and one can hear a repetitive pattern of clicks, pops and crackles affecting the playback.


This issue affects ONLY HTML5 audio and video players and ONLY in Chrome.
Flash players in Chrome work fine (YouTube, for example).
HTML5 and flash players in any other browser work fine.

My computer runs Windows 8.
 
Showing comments 23 - 122 of 122 Older

Comment 23 by dalecur...@chromium.org, Feb 23 2013

Cc: -henrika@chromium.org
Owner: henrika@chromium.org
@ultragreg24: Continue here please. Thanks!

Comment 24 by ultragre...@gmail.com, Feb 23 2013

Previously with the new canary, I had just tested --audio-buffer-size=512, which did not work at all.
Here, I have tested --audio-buffer-size=2048 and I confirm no more glitches.

Comment 25 by ultragre...@gmail.com, Feb 23 2013

and don't work with 1024 for me.

Comment 26 by henrika@chromium.org, Feb 23 2013

Cc: dalecur...@chromium.org
Thanks for reporting @ultragreg24. Let's ensure that we sort these issues out once and for all and let's use Canary to do so. The effect of using --audio-buffer-size in Canary is not clear and it should only be used in combination with e.g. M26. So, let's forget about the command-line flag for a while.

This link: http://commondatastorage.googleapis.com/henrika-shared/chromium_audio_logging.zip 
contains a special build of latest Chromium that I would like you to run on your machine.

Just unzip the file and open up a command line prompt like so:

C:\<full path>\chromium_audio_logging>

Next, run the special Chrome:

C:\<full path>\chromium_audio_logging>chrome.exe --enable-logging --v=1

and go to the http://www.filmscoringlab.com/files/fslmusic/00/test.php link (or any other audio link that leads to choppy audio). You should now get logging information in the command line window. Please send that information back to me (henrika@chromium.org) or attach it as a text file to this issue.

Most likely, logs will only show up when the page is loaded and no logging should be visible during playing. If it is, please add that information as well.

PS - note that only the ogg file will be possible to play since this is not a full Chrome version.

Comment 27 by robert.k...@gmail.com, Feb 23 2013

I got no glitches this time with that lastest Audio_Logging version.

Comment 28 by henrika@chromium.org, Feb 23 2013

robert.krueger@: Are you saying that you get glitches with Canary but not with the special build? That would be very confusing since the audio backends are identical. In any case, please e-mail me (henrika@chromium.org) your debug output so I can keep track of as many different devices as possible. Thanks.

Comment 29 by robert.k...@gmail.com, Feb 23 2013

You're right. I'm not getting any glitch with Canary either. Not sure what I did there earlier then. I must've been using the stable release by mistake.

Comment 30 by henrika@chromium.org, Feb 23 2013

Thanks. Would still appreciate the debug log in an email if possible.

Comment 31 by ultragre...@gmail.com, Feb 23 2013

I can't launch the chrome.exe, MSCVP100.dll is missing on my computer.
Should I install the last Visual C++ Redistribuable version on my computer ?

Comment 32 by henrika@chromium.org, Feb 23 2013

ultragreg24@: yes, please do. Sorry for the trouble. I should have used a
different linking method.

Comment 33 by ultragre...@gmail.com, Feb 23 2013

still saying MSVCP100.dll is missing after install Microsoft Visual C++ 2010 SP1 Redistributable Package (x64).
The dll is present in C:\windows\system32

Comment 34 by henrika@chromium.org, Feb 23 2013

Try copying the DLL to the same folder as the chromium.exe.

Comment 35 by ultragre...@gmail.com, Feb 23 2013

Done, now : The application fails to start correctly (0xc000007b)

Comment 36 by robert.k...@gmail.com, Feb 23 2013

I've emailed my debug.

Comment 37 by henrika@chromium.org, Feb 23 2013

ultragreg24@: I will rebuild and get back.

Comment 38 by liskni...@gmail.com, Feb 23 2013

This issue is reproducible with 26.0.1410.12-r183726 on Debian 32-bit as well. --audio-buffer-size=2048 does fix the issue here, though.

Comment 39 by Deleted ...@, Feb 24 2013

I'm on Win7 with Version 25.0.1364.97 m I have an x-fi card.

--audio-buffer-size=1024 fixed the issue for me.

Comment 40 by henrika@chromium.org, Feb 24 2013

asperous2@: could you please try Canary as well without command line flag. Thanks.

Comment 41 by henrika@chromium.org, Feb 24 2013

lggemini@: you initiated this thread and I still have two outstanding questions.

1) Could you try Canary and use different (larger) DSP buffer size on your card if you hear glitches. The RME manual states "Crackle during record or playback?" => 
• Increase the number and size of buffers in the ‘Settings’ dialog or in the application.

2) Please use the special version I have sent and report back the debug output for a setting that sounds bad (use e-mail).

I need this input to understand better if the issue is on the Chrome side or in the actual audio drivers. As I've stated before, Chrome is not comparable to Pro Tools in terms of how it uses the Core Audio drivers. And Chrome does not support ASIO.

Comment 42 by lggem...@gmail.com, Feb 24 2013

Hey Henrik,
I have just sent you the log from Chromium.

As for your first point, I will give Canary a try. Anyway, I cannot increase the buffer size in the Setting dialog of the driver as this would effect also my audio production software. And of course, working with MIDI in Nuendo with a sample buffer longer than 512 is (almost) impossible, especially with fast-paced music.
So the only option left is to use the audio buffer flag, which is perfectly fine to me, as long as I have a flawless audio experience in Chrome.

I will try Canary and report here what I get.

Thank you so much for your interest.

Comment 43 by robert.k...@gmail.com, Feb 24 2013

The fact that I was having the issue before with Canary, and then not, made me go back and revisit this issues. I reinstalled Canary and I'm getting the audio glitches still.

I tried to run the audiologging version again, and now it's telling me "This App cannot be run on your PC". So I have no clue what I did before or what's happening now, other than I'm getting audio glitches still with Canary.

Comment 45 by robert.k...@gmail.com, Feb 24 2013

Okay, at first, this works fine. It's after a couple of minutes is when it starts to get glitchy.
audioerrors.txt
4.7 KB View Download

Comment 46 by ultragre...@gmail.com, Feb 25 2013

mail send with logs

Comment 47 by henrika@chromium.org, Feb 25 2013

Thanks for all input. I will analyze and try to come back with a new version that you all can try out. I am trying to find the best possible balance between a low latency and no glitches here and it can be a bit tricky to find the perfect solution.

Comment 48 by dalecur...@chromium.org, Feb 25 2013

Those of you with missing DLL issues can try installing the DLLs from Microsoft:

http://www.microsoft.com/download/en/confirmation.aspx?id=5555

Comment 49 by devuran...@gmx.net, Feb 25 2013

I guess that sounds stupid and would be too simple, but can't you detect the skips using feedback from the audio drivers, and adjust the buffers dynamically?

Comment 50 by harmony....@gmail.com, Feb 26 2013

The problem is continuing on both Windows Vista and Windows 7, even after adding the --audio-buffer-size=512 parameter to the startup properties of both computers, like this:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --audio-buffer-size=512

On Windows 7, I'm running Chrome version 25.0.1364.97 m, and confirmed that the CPU was not overloaded when the problem occurs.  It seems happen more sparsely on Windows 7 than before, sometimes not happening for several songs, but then occurs briefly....randomly with brief static sounds and glitchiness, then normal for the rest of the song.  But is still very consistent on Windows Vista.  This is all using Jplayer for audio playback.  Works fine in IE and Firefox as reported previously.  This is with a Creative XB X-Fi soundcard.  I'll try the debug version and report back.  Thanks...

Comment 51 by henrika@chromium.org, Feb 26 2013

Installed a Creative X-Fi HD sound card today but was not able to reproduce audio glitches using Canary on Win7. Any particular link I could use as repro case where bad audio happens every time on Canary?

Comment 52 by harmony....@gmail.com, Feb 26 2013

Somebody mentioned that there was a test debug build available here somewhere, presumably of Chrome (not Chromium).  If so, can somebody please point me to it? I will be happy to install it and test with it to help expedite a resolution to this problem.

Comment 53 by henrika@chromium.org, Feb 26 2013

This link: http://commondatastorage.googleapis.com/henrika-shared/chromium_audio_logging2.zip 
contains a special build of latest Chromium that I would like you to run on your machine.

Just unzip the file and open up a command line prompt like so:

C:\<full path>\chromium_audio_logging>

Next, run the special Chrome:

C:\<full path>\chromium_audio_logging>chrome.exe --enable-logging --v=1

and go to the http://www.filmscoringlab.com/files/fslmusic/00/test.php link (or any other audio link that leads to choppy audio). You should now get logging information in the command line window. Please send that information back to me (henrika@chromium.org) or attach it as a text file to this issue.

Most likely, logs will only show up when the page is loaded and no logging should be visible during playing. If it is, please add that information as well.

PS - note that only the ogg file will be possible to play since this is not a full Chrome version.

Comment 54 by chronic8...@gmail.com, Feb 26 2013

I have (or had) this issue on the latest chrome and chrome canary and I do have an X-Fi card but I can confirm using --audio-buffer-size=2048 worked and no more audio lag!!! Finally fixed!

Comment 55 by henrika@chromium.org, Feb 26 2013

chronic8000@: could you please try Chrome Canary as well without any command line flag since it contains the latest code (and should solve the issue without a flag).

https://www.google.com/intl/en/chrome/browser/canary.html

Comment 56 by chronic8...@gmail.com, Feb 26 2013

Been there done that same problem

Comment 57 by henrika@chromium.org, Feb 26 2013

A new test version has now been uploaded.

http://commondatastorage.googleapis.com/henrika-shared/chromium_test_1.zip 
contains a special build of latest Chromium with some new fixes for audio output buffer handling on Windows.

Just unzip the file and open up a command line prompt like so:

C:\<full path>\chromium_test_1>

Next, run the special Chrome (no flags this time):

C:\<full path>\chromium_test_1>chrome.exe

It would be great if you all could try out the new version and see if solves your problem. Thanks.

Comment 58 by ultragre...@gmail.com, Feb 26 2013

Sorry but I always have glitches with the chronium test 1...
Always 2 glitches with 10s interval.
I use this sample
http://blog.gingertech.net/wp-content/uploads/2011/01/LCA_MM_AVProc2011/#slide3

With http://www.filmscoringlab.com/files/fslmusic/00/test.php sometimes I don't have glitches, but I think, this is because the track is too short.

Comment 59 by chronic8...@gmail.com, Feb 26 2013

Right that version of Chromium on post #57 seems have fixed the audio issues with http://twit.tv but HTML5 on YouTube still stutters. I don't have 2 glitches with 10s interval though the noise is more like the fuzz you would get from an old record on a record player all scratchy and jumpy throughout the whole video. It does say on the HTML5 youtube opt in though the test browser doesn't support H.264 though the video does play ok still with scratchy sound though. I could make a video of it and stick it on YouTube if it would make it easier to show you what the problem is with audio if you want wouldn't take 5 minutes.

Comment 60 by henrika@chromium.org, Feb 27 2013

I think I need some sort of recordings to understand what you are actually
experiencing here. Perhaps we could use
http://blog.gingertech.net/wp-content/uploads/2011/01/LCA_MM_AVProc2011/#slide3
as
a reference since the file is long enough.

It seems like the latest version does improve stuff but I am still not sure
what can cause the "2 glitches with 10s interval" issue. I have tried all
day to reproduce but failed to do so.

Comment 61 by phajdan.jr@chromium.org, Feb 27 2013

Cc: phajdan.jr@chromium.org
Please also see possibly related  issue 178626  (on Linux). Note how comment #38 mentions --audio-buffer-size=2048 fixes the issue on Debian Linux, which is consistent with the report I mentioned above.

Comment 62 by dalecur...@chromium.org, Feb 27 2013

@phajdan.jr: This issue is Windows specific and is not related to that issue.

@henrika: Worst case we can just put the shared memory block back in for WASAPI too.

Comment 63 by ultragre...@gmail.com, Feb 27 2013

Here an exemple.
Glitches @3'56 and @4'07
HTML5 Audio and Video 1.mp3
4.2 MB Download

Comment 64 by henrika@chromium.org, Feb 28 2013

chronic8000@: Thanks for the log. I could hear some minor glitches but is it correct that the latest version works better than Canary?

Could you also (after a session where you heard glitches) please go to chrome://histograms/ and search for Media.AudioRendererMissedDeadline and check if average is 0.

Comment 65 by henrika@chromium.org, Feb 28 2013

chronic8000@: Please also try http://commondatastorage.googleapis.com/henrika-shared/chromium_test_2.zip. I would be very surprised if you can still hear glitches with that version.

Comment 66 by robert.k...@gmail.com, Feb 28 2013

I still get glitches after a couple of minutes..

Comment 67 by dalecur...@chromium.org, Feb 28 2013

Can you guys using the debug build also report the values from this page:

chrome://histograms/Media.AudioRendererMissedDeadline

Comment 68 by chronic8...@gmail.com, Mar 1 2013

OK, latest test 2 version and twit.tv works still which was one that didn't previously but YouTube HTML5 trial still has audio issues. Here is the Histogram but it does say the average is 0?

Stats as of last page load;reload to get stats as of this page load.

Histogram: Media.AudioRendererMissedDeadline recorded 2 samples, average = 0.0 (flags = 0x1)
0  ------------------------------------------------------------------------O (2 = 100.0%)
1  ...

Comment 69 by chronic8...@gmail.com, Mar 1 2013

Further testing youtube seems better, it is not scratching right now so finger crossed though it was earlier. Here is another histogram and the average is not 0 this time...


Stats as of last page load;reload to get stats as of this page load.

Histogram: Media.AudioRendererMissedDeadline recorded 3 samples, average = 1.3 (flags = 0x1)
0  ------------------------------------------------------------------------O (2 = 66.7%)
1  ... 
4  ------------------------------------O                                     (1 = 33.3%) {66.7%}
5  ...

Comment 70 by chronic8...@gmail.com, Mar 1 2013

Stats as of last page load;reload to get stats as of this page load.

Histogram: Media.AudioRendererMissedDeadline recorded 6 samples, average = 4.2 (flags = 0x1)
0   ------------------------------------------------------------------------O (2 = 33.3%)
1   ... 
4   ------------------------------------------------------------------------O (2 = 33.3%) {33.3%}
5   ------------------------------------O                                     (1 = 16.7%) {66.7%}
6   ... 
12  ------------------------------------O                                     (1 = 16.7%) {83.3%}
13  ...

Comment 71 by bugdroid1@chromium.org, Mar 2 2013

Project Member
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=185650

------------------------------------------------------------------------
r185650 | dalecurtis@google.com | 2013-03-02T01:38:35.401921Z

Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/media/audio/audio_output_controller.cc?r1=185650&r2=185649&pathrev=185650

Wait for the renderer even on WASAPI.

After weeks of investigation, Henrik has been unable find a WASAPI
buffer size that works for all users.  Many users are still reporting
glitches.  Thus its time to put the WaitTillDataReady() back. :(

BUG= 171651 
TEST=none

Review URL: https://codereview.chromium.org/12380074
------------------------------------------------------------------------

Comment 72 by dalecur...@chromium.org, Mar 2 2013

Please try tomorrows Canary and see if that fixes your problem.

Comment 73 by ultragre...@gmail.com, Mar 3 2013

I confirm no more glitches with the new canary.

Comment 74 by dalecur...@chromium.org, Mar 5 2013

Labels: Merge-Requested Mstone-26
tpms: This will fix audio glitching for some windows clients.

Comment 75 by tanyarad@google.com, Mar 5 2013

Labels: -Merge-Requested Merge-Approved
Status: Assigned

Comment 76 by bugdroid1@chromium.org, Mar 5 2013

Project Member
Labels: -Merge-Approved merge-merged-1410
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=186204

------------------------------------------------------------------------
r186204 | dalecurtis@google.com | 2013-03-05T18:17:53.352012Z

Changed paths:
   M http://src.chromium.org/viewvc/chrome/branches/1410/src/media/audio/audio_output_controller.cc?r1=186204&r2=186203&pathrev=186204

Merge 185650
> Wait for the renderer even on WASAPI.
> 
> After weeks of investigation, Henrik has been unable find a WASAPI
> buffer size that works for all users.  Many users are still reporting
> glitches.  Thus its time to put the WaitTillDataReady() back. :(
> 
> BUG= 171651 
> TEST=none
> 
> Review URL: https://codereview.chromium.org/12380074

TBR=dalecurtis@google.com
Review URL: https://codereview.chromium.org/12458004
------------------------------------------------------------------------

Comment 77 by harmony....@gmail.com, Mar 8 2013

Version 27.0.1432.0 canary solved the Jplayer stuttering/glitchy audio for us on both Windows Vista and Windows 7.  LOVE the new audio waveform indicator on the browser tab icon, that is HOT!

Comment 78 Deleted

Comment 79 by henrika@chromium.org, Mar 9 2013

deusfaux@: the latest fixes that seems to solve your problems (and does not
require a flag) have been merged to M26 corresponding to Chrome Beta (
https://www.google.com/intl/en/chrome/browser/beta.html). If you are on
Stable (M25) and have audio issues, I would say that the command-line flag
is the only solution for now. All new versions will come with the complete
set of fixes and shall work without requiring any extra steps from the user.

Comment 80 by bugdroid1@chromium.org, Mar 10 2013

Project Member
Labels: -Area-WebKit -Feature-Media-Audio -Mstone-26 Cr-Content Cr-Internals-Media-Audio M-26

Comment 81 by dalecur...@chromium.org, Mar 11 2013

Labels: -M-26 M-25 Merge-Requested
Henrik, I think the issue is frustrating enough and the patch small enough (since it doesn't require your WASAPI changes) to land in M25.

tpms: this is essentially a partial revert of functionality removed in M24 which will resolve audio glitching issues for many users.

Comment 82 by Deleted ...@, Mar 14 2013

I listen to music from pandora and slacker and my sounds work fine.  When i listen to music through this site: https://www.focusatwill.com/beta/  i get a sine wave-like distortion. 

I edited my chrome shortcut to include the audio buffer of 2048 and the problem is fixed.

Comment 83 by darrylwr...@gmail.com, Mar 20 2013

I am also experiencing this on an HP Pavilion Chromebook. Using Google Music when I am playing audio using the HTML5 option, the audio is choppy, tinny and actually sounds like it's pitched up. When i switch to non-HTML5 audio in the Google Music settings, it's fine.

Comment 84 by henrika@chromium.org, Mar 20 2013

Cc: dgreid@chromium.org

Comment 85 by wilbert....@gmail.com, Mar 28 2013

They finally fixed the stuttering/crackling HTML5 audio issue for me in Chrome in Version 26.0.1410.43 m! I decided to try to update Chrome since I was having a lag issue when switching tabs and a new version of Chrome was released to the public. Thank goodness!

Try to update Chrome to see if it fixes your problem.

Comment 86 by wilbert....@gmail.com, Mar 28 2013

They finally fixed the stuttering/crackling HTML5 audio issue for me in Chrome in Version 26.0.1410.43 m! I decided to try to update Chrome since I was having a lag issue when switching tabs and a new version of Chrome was released to the public. Thank goodness!

Try to update Chrome to see if it fixes your problem.

Comment 87 by wilbert....@gmail.com, Mar 28 2013

They finally fixed the stuttering/crackling HTML5 audio issue for me in Chrome in Version 26.0.1410.43 m! I decided to try to update Chrome since I was having a lag issue when switching tabs and a new version of Chrome was released to the public. Thank goodness!

Try to update Chrome to see if it fixes your problem.

Comment 88 by chronic8...@gmail.com, Mar 28 2013

Yes version 26 finally fixed it for me! Update Chrome and you will have no more problems. Thread closed!

Comment 89 by Deleted ...@, Mar 31 2013

I never had this problem before. But after updating my Chrome to v.26 I've get it! And --audio-buffer-size=2048 was resolve this problem...

Comment 90 by dalecur...@chromium.org, Apr 1 2013

Status: Fixed
Linux problems are under  issue 178626 .

Comment 91 by bugdroid1@chromium.org, Apr 5 2013

Project Member
Labels: -Cr-Content Cr-Blink

Comment 92 by manoranj...@chromium.org, Apr 15 2013

Labels: TE-Verified-26.0.1410.65
Tested this issue with Chrome#26.0.1410.65 on Win7 - Working as intended.

Thank you.

Comment 93 by pucchakayala@chromium.org, Apr 24 2013

Verified this on Win8 as well and it is working fine in both desktop and metro modes - 26.0.1410.65 (Official Build 193261)

Comment 94 by pucchakayala@chromium.org, Apr 24 2013

Status: Verified

Comment 95 by laforge@google.com, Jun 12 2013

Labels: -Merge-Requested

Comment 96 by Deleted ...@, Jul 15 2013

Got exactly the same problem as the original poster in Chrome Version 28.0.1500.72 m
running on Windows 8. The problem started after upgrading from the previous Stable build to this stable build. At a Windows 7 PC with the exact same Chrome version the problem is not present.

Is choppy for me on the original posters provided link and on every youtube video loaded with HTML5 support. Flash works fine. Also no addons (incognito) doens't solve this. IE10 works fine.

Comment 97 by henrika@chromium.org, Jul 16 2013

daniel.broetchen@: could you please do the steps suggested by dalecurtis in #67.

Comment 98 by Deleted ...@, Jul 16 2013

henrika@: I'll provide you with the data of the stats from #67 tomorrow, when i again have access to the PC.

I also tried to reinstall Chrome which had no effect. Side note: I'm not running Chrome in Metro mode if this should have any effect and I didn't try if it worked in Metro, should i consider trying this also?

Comment 99 by henrika@chromium.org, Jul 16 2013

Please do just in case. And try alternative audio devices as well if
possible.

Comment 100 by Deleted ...@, Jul 17 2013

So with everything as the day before the histogram is as follows:

Histogram: Media.AudioRendererMissedDeadline recorded 4 samples, average = 0.0 (flags = 0x1)
0  ------------------------------------------------------------------------O (4 = 100.0%)
1  ... 

as you can see i played 4 html5 loaded files.

After changing from my Creative Audigy 2 ZS to Sennheiser USB Audio back and forth i figured out that, when i start a youtube video with Audigy 2 ZS as standard output device the sound is choppy, when i switch it while playing to the Sennheiser, it works as before the update to chrome 28.

Histogram now looks like this:
Histogram: Media.AudioRendererMissedDeadline recorded 20 samples, average = 0.0 (flags = 0x1)
0  ------------------------------------------------------------------------O (20 = 100.0%)
1  ... 

Tried this in the metro mode of chrome, same effect. I also can confirm that if i play the youtube video with Sennheiser USB as standard output device and switch to the Audigy while playing, the sound stays like it was on the sennheiser usb. I need to close the youtube tab and open a new tab with a video to get the choppy sound again.

When i play the video with Audigy and choppy sound it changes to non choppy sound as soon as i switch to the sennheiser usb.

Hope this is as much info as you wanted of this and i hope you can track this down.

If you need further data from me, feel free to contact me here, as i have starred this to get mail notifications.

Kind regards.

Comment 101 by henrika@chromium.org, Jul 18 2013

Can you please also try Chrome Canary (https://www.google.com/intl/en/chrome/browser/canary.html) and compare. Thanks.

Comment 102 by Deleted ...@, Jul 18 2013

I installed canary, and left out all the addons (no account sync) and still got the same choppy sound. One change so far, the histogram looks different:

Histogram: Media.AudioRendererMissedDeadline recorded 5 samples, average = 30.0 (flags = 0x1)
0   ------------------------------------------------------------------------O (2 = 40.0%)
1   ... 
43  ------------------------------------O                                     (1 = 20.0%) {40.0%}
44  ... 
47  ------------------------------------O                                     (1 = 20.0%) {60.0%}
48  ... 
60  ------------------------------------O                                     (1 = 20.0%) {80.0%}
61  ... 

That's from a few youtube html5 plays and the test URL provided in the original post (http://www.filmscoringlab.com/files/fslmusic/00/test.php)

When i switch to my Sennheiser USB, sound works fine again and when i switch back it's choppy again. Need me to test any further?

Comment 103 by henrika@chromium.org, Jul 18 2013

On the problematic audio card; could you please try some different sample
rates just in case to see if the performance differs.
If possible, could you also record the "bad audio" since it is not clear to
me what the exact cause can be here.

Comment 104 by Deleted ...@, Jul 18 2013

So i recorded this with my phone:
http://www.cs.hs-rm.de/~droth001/record/record.wav

That is roughly 18 seconds of the first sound sample found here: http://www.filmscoringlab.com/files/fslmusic/00/test.php

I tried changing the sound card settings to use different KHz to play audio with no effect.

Comment 105 by henrika@chromium.org, Jul 18 2013

Must say that this type of effect is new to me. Thanks for all your work so
far; we have to do some thinking on what to do next. I hope you are OK with
an alternative USB device in the mean time.

Just one more idea: could you try this demo
http://webaudiodemos.appspot.com/input/index.html and see if you can hear
your own (filtered) voice in loopback. You have to approve microphone usage
to run the demo.

Comment 106 by Deleted ...@, Jul 18 2013

The input sample seems to not work at all with me. Can't hear anything at all. Approved Microphone usage and chose my correct microphone in the settings. Also tested with "Default", no changes.

If you need any further testing, let me know.

Comment 107 by henrika@chromium.org, Jul 19 2013

Back to the original problem. Is it possible to check what the differences are between Win 7 (which works) and Win 8 regarding the audio settings. Are you using audio enhancements for one and not the other? Differences in channel settings, sample rates etc.?

You input seems to indicate that the issue is not related to the audio source and its format. Correct?

Comment 108 by Deleted ...@, Jul 19 2013

I meant, that i'm using the same chrome version on another machine with windows 7 which works fine.

I think this is probably a problem with just the audigy 2 zs? there are no windows 8 drivers for this pretty old sound card, so i'm using win7 drivers which worked fine until chrome 28.

Comment 109 by Deleted ...@, Jul 19 2013

I'm also about to switch my windows install to an SSD, so i'm doing a fresh install of the machine. I could wait for you to figure out the problem first or we both hope the problem is gone on the fresh install and it was just a side effect?

What would you prefer?

Comment 110 by henrika@chromium.org, Jul 19 2013

It is rather difficult to figure this one out and I would prefer the fresh
install actually.

Comment 111 by Deleted ...@, Jul 19 2013

Okay, then figure this as solved. If it won't work on the fresh install i will report back.

Thanks! You're making great work, i appriciate that.

Comment 112 by henrika@chromium.org, Jul 19 2013

Thanks for your feedback.

Comment 113 by anandc@chromium.org, Jan 7 2014

Labels: Media-Compatibility

Comment 114 by Deleted ...@, Aug 1 2014

Fixing No Sound Problem on Youtube HTML5 Videos:

http://www.hirensbootcd.org/fixing-no-sound-problem-on-youtube-html5-videos/

Comment 115 by stha...@gmail.com, Aug 2 2015

Problem seems to be back in Windows 10 on Chrome 44 and 45 Beta.

Comment 116 by stha...@gmail.com, Aug 2 2015

Also tested on Chrome Canary 46 with the same issue. IE and Firefox both play fine.

I am using a SoundMAX 1988 card. Issue persists on OEM and Microsoft drivers. Have tested every single Windows audio option (e.g. channels, sampling, enhancements).

The "--audio-buffer-size" switch makes no difference this time. The only way around the problem is by using the switch "--force-wave-audio". Both Flash and HTML5 audio play smoothly in Google Play Music and Youtube now. However, I hope there can be a more proper solution to this in the future.

Comment 117 by dalecur...@chromium.org, Aug 3 2015

Please follow  issue 516196  for Windows 10 audio issues. I'm investigating.

Comment 118 by antih...@gmail.com, Aug 25 2015

This seems to be back again on 44.

Specifically Version 44.0.2403.157 m (which is the most up to date.)

The error, like for everyone else, does not occur in internet explorer or firefox.

Comment 119 by dalecur...@chromium.org, Aug 25 2015

Which OS and sound card? We recently fixed a Windows 10 issue that may adverse effects here. Can you also include the output of chrome://media-internals for "Audio Output Controllers" and "Audio Output Streams" when you have a tab which has crackling audio?

Comment 120 by dalecur...@chromium.org, Aug 25 2015

Also, please file that information as a new bug at http://crbug.com/new

Comment 121 by zde...@datacrunch.net, Sep 5 2015

ok my problem is also happening since recent update, windows 7, the problem is that when i run with audio buffer 1024, clicking still continues albeit less pronounced, and with 2048 audio completely disappears. No audio is emitted at that point whatsoever.

until recently i have had relatively clean audio output (i.e. if clicks and pops happened, they were so rare, that i didn't notice or they actually weren't ever happening, i can't tell for sure)... but now, it appears that the clicks happen on scale of perhaps 8-10 times a second.

So i have recorded the output. It seems to me like timestretch is incorrect because while i am not missing a single video frame, and audio is synchronized with the clicks, there are definite gap delays in the output, see attached file. It almost seems that while playback is at 44.1k and upsampled on the card to 48,000 samples per second (which is why you see the jitter around the flat line start and end)... there seems to be at minimum about 0.7% of flatline of this kind which would suggest that i am only getting 43.8k samples for the 44.1k required every second.
clicks.png
5.1 KB View Download

Comment 122 by mattia.b...@gmail.com, Jul 20 2016

I've encountered similar problem several months ago. Sometimes when Chrome is running I get loud static noise for short period of time. After several seconds sound driver restarts and everything is working again. Biggest problem is that this noise is so lout, it wakes up neighbours two districts away (probably 100% volume when I usually run at about 5-50%).
I've come here from  issue 161307  which had no comments since 2013.
Basically, it happened first time about one year ago on Windows 7 SP1 with Creative X-Fi Music Gold. Since then I've switched to Windows 10 and changed sound card to Auzentech X-Fi Prelude but problem still exists. Just recently I've switched to IE for awhile and found out that problem was with Chrome, not my HW or any other SW. 
I can't get much informations because driver restarts after several seconds. I run Chrome with flags --disable-audio-output-resampler --try-supported-channel-layouts --force-wave-audio as I want to use expanding sound to 5.1. I've also tried different --audio-buffer-size with no effect.
After reading this I've switched sound card to work at 44,1 KHz and will see if it helps. I've always used 48KHz. 

Are there any investigations going on or someone experiencing such issues with current Chrome versions?
Showing comments 23 - 122 of 122 Older

Sign in to add a comment