New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 920019 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Tempo Shifting using <Audio> playrate introduces distortion

Reported by hil...@gmail.com, Jan 8

Issue description

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

Steps to reproduce the problem:
1. Load original file into an <Audio> object
2. Adjust tempo using JS .playbackRate parameter to 1.01
3. Play resulting audio

What is the expected behavior?
The audio is expected to play without distortion. Samples of output generated via Chrome, and the same output generated via firefox are included for reference.

What went wrong?
Distortion is introduced, when audio is played back with a playbackRate set to 1.01 (or any other). Each of the samples files are about 43 seconds in length, representing the same musical selection. The distortion can be detected at the following timings in the chrome example:
1) 0:08s
2) 0:20s
3) 0:23s
4) 0:31s
5) 0:36s
6) 0:41s 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 71.0.3578.98  Channel: stable
OS Version: Windows10
Flash Version: none

In addition to firefox  ver: 64.0 (64-bit) This was tested without exhibiting the distortion, on Safari Version 12.0.2 (14606.3.4) and Edgge (Windows 10)  44.17763.1.0

The problematic distortion can also be observed in Chrome for mac versions 71.0.3578.98  and (Chrome Canary) Version 73.0.3665.0
 
1_original_file_100percent_tempo.mp3
679 KB Download
2_chrome_audio_bug_101percent.mp3
1.0 MB Download
3_firefox_version_no_bug_101percent.mp3
1.0 MB Download
Labels: Needs-Triage-M71
Cc: dalecur...@chromium.org mlamouri@chromium.org
Components: -Blink>Media Internals>Media>Audio
I assume this is coming from the internals. +dalecurtis@ for triage
Cc: -dalecur...@chromium.org turajs@chromium.org
Labels: -OS-Windows -Pri-2 Pri-3
Owner: dalecur...@chromium.org
Status: Assigned (was: Unconfirmed)
Will take a look. Possibly just an artifact inherit in the WSOLA algorithm, but could be a bug too.

Sign in to add a comment