-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Audio spatializer testing umbrella bug #424
Comments
Finally starting to dig into this. This is a great summary of the current state of things and where they should improve. The Break branch is already a really good test case. As mentioned in #425 I was able to fix the start/lose sounds to not have effects applied, I think this was just an issue with API usage. One thing I noticed was really weird: If I uncomment the third I'm going to initially focus on #404 so reverberating phonon sources don't need to be padded because that's just brutal UX |
If I create the blips with |
Oculus Audio now works in my testing (slightly updated both PR and test). In mesh mode it sounds bad because we can't set the material so it just picks a "perfectly reflective" material which isn't physically accurate. I think I managed to trigger a bug with what happens if you run out of slots, I think instead of correctly killing old sounds it starts playing weird distortion. |
Do you know if it's when you run out of Oculus slots or Source slots? I did test the Source recycling stuff, |
It would be oculus slots. It was when the sounds were done playing but their tails were still running |
Premise of this bug:
My proposal for (1) is that I'll port the spatializer test from my game project/fork to run on vanilla Lovr with ogg-file sources.
Re: (2), here are the outstanding known "sounds bad" bugs:
Steam spatializer applies reverb even to non-spatialized sources Steam spatializer applies reverb even to non-spatialized sources #425Outstanding "functionality"/non-sound-related spatializer bugs:
The current best test we have
Check out the branch break-phonon-test-2 of my lovr-docs repo and run Showcase/Break. This version of break has some tweaks to support testing, it calls setGeometry, it enables all effects on the ball bounce sounds (but no effects on the "you lose" / "game starting" sounds), and the sounds have all been edited to have long periods of silence afterward (to work around #404).
You can select your spatializer/driver by uncommenting lines in conf.lua, and these lines at the top of main.lua let you quickly change the test:
There is a line you can edit later down to make the space a pentagon instead of a box.
Current test status
Testing with 0a4a62f from #422
Steam audio selected in conf.lua:
Oculus audio selected in conf.lua:
The text was updated successfully, but these errors were encountered: