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

Enhanced spacial audio support #624

Open
BenCheung0422 opened this issue Feb 11, 2024 · 4 comments
Open

Enhanced spacial audio support #624

BenCheung0422 opened this issue Feb 11, 2024 · 4 comments
Labels
Audio Improvement Something that we can improve. UX/QoL Issue related to user experience or quality of life.

Comments

@BenCheung0422
Copy link
Member

BenCheung0422 commented Feb 11, 2024

Is your feature request related to a problem? Please describe.
Our sound system can be enhanced and made more flexible and efficient. In addition, different kind of audio quality features can be added, in terms of Quality-of-Life.

Describe the solution you'd like
For the library, we may use OpenAL in place of native Java AudioSystem, then we can have more in-depth compatibility supports and advanced audio behaviors.
For the in-world behavior, the audio effects can be played reflecting the distance and even the direction (with respect to the top-down south-north player's view), by the volume and direction, dynamically.
Furthermore, we may even try to have 2/4/5/7 channel support as for the positional audio support, or even 2.1/4.1/5.1/7.1 sound source supports.

@BenCheung0422 BenCheung0422 added Improvement Something that we can improve. Visual/Audio labels Feb 11, 2024
@Makkkkus
Copy link
Member

I advice against; speaking from experience, positional sounds in a 2D game sound very uneasy. Also the player changes direction instantly, which would also be uncomfortable for the listener. So I advice as much as I can against using positional audio.

@BenCheung0422
Copy link
Member Author

BenCheung0422 commented Feb 12, 2024

So in this aspect, I have suggetested 2 methods, one is related to the direction of the player, the another one is related to the relative position regardless the direction of the player pointing to.

@Litorom
Copy link
Member

Litorom commented Feb 12, 2024

Okay, honestly please stop trying to fix things that aren't broken. We will be adding background music and ogg support eventually.

@Litorom Litorom closed this as completed Mar 15, 2024
@BenCheung0422
Copy link
Member Author

I rewrote the description for the topic.

@BenCheung0422 BenCheung0422 reopened this Mar 16, 2024
@BenCheung0422 BenCheung0422 changed the title Enhanced audio support Enhanced spacial audio support Aug 27, 2024
@BenCheung0422 BenCheung0422 added UX/QoL Issue related to user experience or quality of life. Audio and removed Visual/Audio labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Audio Improvement Something that we can improve. UX/QoL Issue related to user experience or quality of life.
Projects
Status: Todo
Development

No branches or pull requests

3 participants