Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128256

Spatial Audio relatively high latency in QtQuick3D.Xr

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0 Beta3
    • Multimedia
    • Meta Quest 3
    • Android

    Description

      When using Spatial Audio in a QtQuick3D scene and observing a spatial sound source from POV via a Meta Quest 3. The latency of the playback matters quite a bit in selling the spatial audio effect. Right now it is not that useful with as much latency as the output has.

      Whilst rotating your head and observing a SpatialSound with a fixed location in a room you will notice as if the sound source is not coming from the physical location in the room during movement of your head. This is kind of a problem as it is disorienting for the user.  I suspect this due to how the Multimedia player is utilized under the hood by SpatialAudio.

      Could you help me find avanues for lowering the latency of the audio playback by SpatialAudio? For example I am perfectly fine with only being able to use WAV audio formats and find ways to reduce the latency like how SoundEffect does already.

       

      Some directions I'm looking into:

      Finding ways to reduce the buffersize of the audiosink in use:

      https://doc.qt.io/qt-6/qaudiosink.html#bufferSize

      Update: found a solution to lower the latency as described in the comments below.

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              felixvddonk Felix van de Donk
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes