Skip to content

Fix spatial listener axes and normalize quantized orientation - #3

Open
Vlad-BloodMoon wants to merge 1 commit into
intelligentwolf:mainfrom
Vlad-BloodMoon:upstream/fix-spatial-listener-axes
Open

Vlad-BloodMoon wants to merge 1 commit into
intelligentwolf:mainfrom
Vlad-BloodMoon:upstream/fix-spatial-listener-axes

Conversation

@Vlad-BloodMoon

Copy link
Copy Markdown

The mixer treated listener-local +X as right, but Firestorm and OpenSim use +X forward, +Y left and +Z up.

This fix uses -Y for right, normalizes quantized listener quaternions and includes elevation in the direction length. Distance attenuation and call handling are unchanged.

Includes geometry and moving-speaker regression tests. All CI checks pass. The corrected build was successfully tested in-world on BloodMoon.

See docs/SPATIAL_AUDIO_FIX.md for source references, formulas, before/after examples and validation limits. This branch contains no downstream release or installer changes.

Use -Y for right in the Firestorm/OpenSim listener basis, retain constant-power panning, and cover orientation, elevation and moving-speaker regressions. Document coordinate sources and scope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant