New issue
Advanced search Search tips

Issue 637043 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Yesterday
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

When changing volume rapidly I hear popping sounds

Reported by abr...@pandora.com, Aug 11 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36

Example URL:
https://www.youtube.com/watch?v=3gxNW2Ulpwk

Steps to reproduce the problem:
1. Visit https://www.youtube.com/watch?v=3gxNW2Ulpwk.
2. Begin playing the audio.
3. Start rapidly scrubbing the volume and observe a clipping sound in the audio stream*.

What is the expected behavior?
I expect to be able to rapidly scrub the volume with no audio artifacts.

What went wrong?
Scrubbing the volume for HTML5 audio and video elements causes popping sounds.

Did this work before? N/A 

Is it a problem with Flash or HTML5? Both

Does this work in other browsers? Yes 

Chrome version: 52.0.2743.82  Channel: n/a
OS Version: OS X 10.10.5
Flash Version: Shockwave Flash 22.0 r0
 
audioclip.gif
431 KB View Download
Probably this is because volume updates are instantaneous in Chrome and thus the volume is immediately applied to the next sample sent to the audio card; this causes a discrete jump between the previous signal and the next (thus popping).

Do you have a suggestion on how you'd like to see this work? We could require delays or apply some smoothing to volume adjustments possibly.

Comment 2 by abr...@pandora.com, Aug 12 2016

That makes sense. Honestly I'm a bit naive on the implementation details, but applying smoothing to volume adjustments seems to make sense to me, since there's probably advantages to having volume adjustments be instantaneous, and in my case I'd like to implement some audio fading that sets discrete volume values during a short interval and have the audio output appear smooth.
Generally we'd recommend WebAudio for such work. I don't think we'll make any changes here any time soon. I can look next week to see if there's any bugs in the implementation though.
Labels: -Pri-2 Pri-3
Owner: dalecur...@chromium.org
Status: Assigned (was: Unconfirmed)
dalecurtis: Based on this discussion, it seems like you plan on taking a perusal through the code, but otherwise there's nothing to do? Feel free to close at your leisure.
Cc: tguilbert@chromium.org dalecur...@chromium.org
Labels: -OS-Mac OS-All
Owner: ----
Status: Available (was: Assigned)
Project Member

Comment 6 by sheriffbot@chromium.org, Oct 2 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
Labels: -Hotlist-Recharge-Cold
Project Member

Comment 9 by sheriffbot@chromium.org, Oct 3

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 10 by dbbrooks@chromium.org, Yesterday (33 hours ago)

Status: WontFix (was: Untriaged)
Given the age of this issue, closing as Wont Fix. Please open a new issue if needed. Thanks.

Sign in to add a comment