Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAL listener elevation not the same as camera's #16240

Open
Hiradur opened this Issue Feb 24, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@Hiradur
Copy link

Hiradur commented Feb 24, 2019

Issue Summary

As far as I can tell the OpenAL listener elevation is not the same as that of the camera/view.

The easiest way to hear this probably is to wear headphones and enable HRTF and drag the camera quickly left and right or up and down when sounds are being played (e.g. units attacking the ground).
What you should hear is that sounds rather suddenly jump from left to right or up to down and vice versa rather than panning between these directions smoothly.
This behaviour does not change when zooming in or out. This is why I believe the OpenAL listener elevation is not the same as that of the camera.
I'm not sure if the camera has an elevation at all since it's a 2D game, but maybe the elevation can be approximated by comparing unit size in pixels to the size of their real life counterparts and combine this with the zoom level.

System Information

  • Operating System: Debian 9
  • OpenRA Version: release-20181215 Linux Flatpak
  • Mod: Red Alert

Additional Information:

  • Steps to reproduce
    1. Turn on ingame sounds
    2. Make units attack the ground
    3. Quickly move the camera left and right or up and down
    4. Pay attention to how the sounds pan in these directions

Note: It's probably easier to hear with headphones and HRTF enabled. To see if HRTF is enabled one can use the ALSOFT_LOGLEVEL=3 environment variable and start the game from the console and check the output of OpenAL Soft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.