Skip to content

Inconsistent audio with AudioStreamPlayer3D #58837

Closed
@stryker313

Description

@stryker313

Godot version

Godot 4 Alpha 2

System information

Windows 10 Intel 4690k GTX 1060

Issue description

Audio in an audiostreamplayer3d does not play effectively when used directly behind a camera, or an audiolistener 3d.

Use the example project, for example. Play each scene by itself.

If a camera is faced at, or at an angle to a sound, the audio players realistically as expected.

If an audio is directly behind a camera, the audio drops off awkwardly.

This effect becomes pronounced in a game where, say a character is talking to you, and you face your back towards them; the audio immediately drops off, creating an unrealistic effect

This happens regardless of...

  1. Unit db
  2. Attenuation model
  3. unit size
  4. max db
  5. max distance
  6. using audio buses to increase the db further

Keep in mind that the audio can be heard from behind the camera, however, the drop off is VERY STRONG in relation to your distance, which creates this unrealistic effect. There currently is no way to affect this dropoff.

Steps to reproduce

Create an audio stream player 3d
place a camera, with its back facing the audio stream player ( move the camera slightly in front of the audiostreamplayer)
load the scene, with the sound playing. It will be very inaudible/not audible at all.

Minimal reproduction project

SoundBug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions