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

Spatial Audio relatively high latency in QtQuick3D.Xr

XMLWordPrintable

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

      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.

       

       

        1. image-2024-08-21-16-16-11-753.png
          138 kB
          Felix van de Donk
        2. image-2024-08-21-17-17-01-899.png
          117 kB
          Felix van de Donk
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes