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

The sound played by the solar2d audio and this module for the same file sounds different in volume. #7

Open
zero-meta opened this issue Jun 2, 2023 · 1 comment

Comments

@zero-meta
Copy link

Hi, I got a weird bug when playing sound with this module compare to the solar2d audio api.
Here is the test example:
test_soloud_audio.zip
I tested it on MacOS-simulator-3690.

@siudesu
Copy link
Owner

siudesu commented Jun 3, 2023

Hi! Thanks for the sample code, that helps a lot!

Did some testing and confirmed there’s a slight difference in volume between Solar2D’s current audio lib and SoLoud in macOS.

The best answer that I can provide at the moment is that this is technically not a bug, it’s just a difference in backend.

Although, this is something not related to this module, there is one thing that can be done to leverage it; you can do M.setVolume(1.5) to effectively set SoLoud’s “global volume” higher. This is more or less like a master volume, though separate from individual audio channels, it affects them altogether.

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

No branches or pull requests

2 participants