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

Keysounds during gameplay keep dropping or cutting out on macOS #838

Open
Hezzle opened this issue Nov 30, 2024 · 1 comment
Open

Keysounds during gameplay keep dropping or cutting out on macOS #838

Hezzle opened this issue Nov 30, 2024 · 1 comment

Comments

@Hezzle
Copy link

Hezzle commented Nov 30, 2024

This is a problem that occurs when playing every BMS.
Some key sounds don't play, or sound weird (seems to be cut off)
But it's not that there is no sound, I can still hear some of them, and there seems to be no pattern to "what sounds can and can't be played" in a BMS.

This problem only occurs with .ogg BMS, .wav BMS can be played normally.
I tried OpenAL and portaudio and they both would have the same problem.

When you finish playing a BMS with sound problems, the terminal will suddenly spam a lot of errors like this:

Warning: Exception in distribution parsing: null
November 28, 2024 1:08:39 PM bms.player.beatoraja.song.SongInformation setDistribution

Like every MacOS user, my beatoraja-config.command has been modified and it looks like this (otherwise, the launcher won't start):

#!/bin/bash
export _JAVA_OPTIONS='-Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
cd "$(dirname "$0")"
export PATH_TO_FX='/Library/Java/JavaVirtualMachines/javafx-sdk-22.0.1'
export JAVA_HOME=`/usr/Libexec/java_home -v 21.0.2`
exec java -Xms4g -Xmx4g -Dfile.encoding="UTF-8" --module-path $PATH_TO_FX --add-modules=javafx.controls,javafx.fxml -cp beatoraja.jar:ir/* bms.player.beatoraja.MainLoader
@Hezzle
Copy link
Author

Hezzle commented Nov 30, 2024

from #824
mine isn't ARM

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

1 participant