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

Issue 732959 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug
Proj-XR



Sign in to add a comment

VR audio test site - guitar and drums lose sync

Project Member Reported by dbbrooks@chromium.org, Jun 13 2017

Issue description

Chrome Version: 61.0.3129.0
OS: Android N
Device: Pixel
VRCore: 1.6.156467194
Daydream: 1.6.170509033

* also happens on Chrome stable 59.0.3071.92

Does it happen in Magic Window mode? Yes
Does it happen with Cardboard and Daydream? Yes

What steps will reproduce the problem?
(1) Open https://webvr.info/samples/06-vr-audio.html and press start sound
(2) Listen for a few minutes
(3) Optionally - enter presentation mode and listen to audio for a few minutes

What is the expected result? guitar and drums stay synced on the same beat

What happens instead? After a minute or so it becomes obvious that the guitar and drums are becoming out of sync. They don't play on the same beat.
 
Cc: klausw@chromium.org bajones@chromium.org
bajones: Any idea why this is?
Status: Available (was: Untriaged)
Marking Available as this is reproducible and non-critical.
Cc: offenwanger@chromium.org bshe@chromium.org
Cc: -bajones@chromium.org
Labels: -Pri-3 Pri-2
Owner: bajones@chromium.org
Status: Assigned (was: Available)
Brandon, assigning to you becasue, IIRC, you actually started looking into this, and explained to me why the problem is happening.  I don't remember if it was a page issue or not, but, do you remember what you found (even if it's not a fix)?

Following that, feel free to return to Available status.
The reason for this is that the individual audio samples are very slightly different lengths, which after multiple loops causes them to be out of sync. There's a couple of options for addressing it:

1) Produce new, carefully crafted audio samples that are EXACTLY the same length. I am told this is more challenging than you would think.
2) Pause each audio sample after it's completed and wait for the others to complete as well, then start them all again at the same time. With the audio samples we have for this particular demo that it leads to an audible pause.
3) Change the audio so that they samples don't rely on being synced. Something like music from a radio, a "tumbling" noise from the washer/dryer, and video game blips and bleeps from the TV?
Components: Blink>WebXR
Removing Blink>WebVR component and assigning to Blink>WebXR 
Components: -Blink>WebVR

Sign in to add a comment