Skip to content

Constant offsets causing loud pops #300

@Schroedingers-Cat

Description

@Schroedingers-Cat

System Information

  • Steam Audio version: 4.1.4 - 4.5.1
    (I didn't test any versions below 4.1.4 but I used v2.0.20 in another project where this never happened)
  • Unity version: 2022.3.17f1
  • Operating System and version: Windows 10, Linux (Kernel 6.6/Manjaro/Gnome 45.3/Wayland)
  • CPU architecture: x86-64
  • RME HDSPe MADI configured as 5.1 output on Windows, configured as 5.1 PA sink on Linux
  • CPU: AMD Ryzen 9 3950X, GPU: AMD Radeon RX 6900 XT

Issue Description
Using Steam Audio, it's possible to produce sudden constant offsets and pops. No DSP should ever do that as it can damage peoples hearing and their gear (and their trust).

Steps To Reproduce
Steps to reproduce the behavior:

  1. Download the repro case and extract it into a new directory
  2. Open it with Unity 2022.3.17f1
  3. Load the included scene Scenes/Bug-SteamAudioOffsetPops/SteamAudio-OffsetPops
  4. Unplug all audio speakers or turn down the volume! Just monitor what is happening using audio engineering monitoring tools or use SteamAudio's internal debugging options. There is no point in listening to pops caused by offsets.
  5. Enter Play Mode
  6. Keep scene and game view tab open so you can understand what is going on
  7. Use WASD to walk 3 steps on the grid in front of you (so the GridBasedFPSController lands on the red marked area, perfectly lined up to the Audio Source Audio Water Drips)
  8. Use the arrow keys to turn the camera towards the Audio Source Audio Water Drips (so that you're looking at the GameObject Audio Water Drops)
  9. Note the constant offset on the left channel (causing a loud pop on your speakers)

grafik

Further notes:

  • doesn't happen when enabling Direct Binaural on the Audio Sources
  • this is just one specific pop issue that I have been able to isolate
    • in a slightly more complex project, the constant offsets happen in various situations
    • with a lot more output channels affected than just the left speaker
    • with more platforms affected (macOS Ventura/ARM64 using the MacBook's built-in stereo speakers)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions