-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add sound effects #251
Add sound effects #251
Conversation
Epic 😎 Can you add an option to turn the sound effects on or off in the menu or preferences? Another slight problem I noticed is that when I have the sound effects on, the UI gets stuck for ~0.5 seconds to play the sound effect. Can you please fix that? |
Added the sound effects in preferences. On my computer the lag only happens the first time any sound is played, not sure what to do about that. |
The lag happens every time for me unfortunately. |
Does anyone have any ideas on how to fix this? I can't replicate it on my machine |
After the recent commit, I am not able to open preferences. I get the following error:
|
I can't replicate it on my machine
I don't get this error but I have (hopefully) a fix |
In Qt, you can add files to a resource file, and then they will be loaded at start time. This might prevent the lagging when playing the sound for the first time (but at a potential cost of increasing the start-up time). |
Perhaps we should just merge this as this is an easter egg feature, disabled by default. Thoughts? |
I am for this: I can't replicate the lag on my machine and I also don't know what could fix the lag. It is disabled by default already |
The testing suite gives the error
Should a new library be included in the requirements.txt? |
LGTM! ✌️ |
The boolean settings is actually broken: if you click the checkmark and press "Apply" in the settings dialog, and then open it again, the checkmark is again empty. But it seems that regardless the sound effects are on. |
Sound effects are activated with the shortcut Ctrl+B.