New issue
Advanced search Search tips

Issue 748157 link

Starred by 4 users

Issue metadata

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



Sign in to add a comment

Bad audio from WebAudio when connected to bluetooth speakers

Project Member Reported by rtoy@chromium.org, Jul 24 2017

Issue description

Chrome Version: 
OS: Android

What steps will reproduce the problem?
(1) Navigate to http://webaudiodemos.appspot.com/MIDIDrums/index.html
(2) Connect to bluetooth speakers.
(3) Listen

What is the expected result?

Audio should sound the same when played through internal speakers and through external bluetooth speakers.

What happens instead?

Audio stutters.  Disconnect from the bluetooth speakers and a audio sounds fine.

See https://bugs.chromium.org/p/chromium/issues/detail?id=635686#c15 for related comments. (This bug report forked from there.)

 
This issue is reproducible on my Alcatel A30 with Android 7.0

Comment 2 by rtoy@chromium.org, Sep 13 2017

Status: Available (was: Untriaged)
Hmm.  Tried this again with a Nexus 9 running Android 6.0 Chrome 60.  Even with internal speakers, the demo sounds awful with constant glitching.

Chrome canary (63.0.3214.0) sounds much better with internal speakers.  The bluetooth speakers are still terrible.

Comment 3 Deleted

Almost the same problem here. I'm working on a webapp (cordova 7.1.0) playing sounds on mobile device via the web audio api. Everything works fine on every OS and devices type until I connect my Bluetooth headphones. Once BT is connected, sounds played via the Web Audio API are chopped/jerky/stuttering... This cause the entire webapp is laggy. This problem only occurs on some Android devices. No problem on iOS devices. Any ideas about how to fix this? I'm new on this chromium bugs list. How does it works? Does the status "available" means this is going to be fixed one day? Thanks.
FYI, there is a related issue (#773014) with much more info:
https://bugs.chromium.org/p/chromium/issues/detail?id=773014

Comment 6 by rtoy@chromium.org, Jun 8 2018

I can reproduce this running Chrome 67 Android 8.1.0 on a Pixel 2 with and without bluetooth speakers.

It starts out fine, but after about 15 sec, the sound gets all glitchy and the animation starts to slow down as if it can't keep up anymore.


Not sure if it's exactly the same demo, but http://googlechromelabs.github.io/web-audio-samples/samples/audio/shiny-drum-machine.html works fine with or without bluetooth speakers.
This demo is using 48khz wavs: http://webaudiodemos.appspot.com/MIDIDrums/index.html

This one is using 44khz wavs: http://googlechromelabs.github.io/web-audio-samples/samples/audio/shiny-drum-machine.html

#635686 seems to be a similar Bluetooth + 44khz vs 48khz issue.

According to Reddit, Oreo on Pixel 2 should let you choose the codec and bitrate for Bluetooth devices so anyone who can should give that a try.

Sign in to add a comment