-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Sound doesn't play, yet no error.. #49
Comments
Thanks for your issue. 🤝 |
Thanks for your comment 🙏🙏
>>> from playsound import playsound
>>> playsound('/path/to/a/sound/file/you/want/to/play.mp3')
Best Regards |
Thank you, After running the playsound command, it failed, telling me there was an AppKit error. Running Now running nafas also plays the sounds :) I guess the question that remains is: In the code I see this only happens when debug is set:
|
Thanks for your efforts 🥇
Good news, now we have a solution 👍
Yes, we did this to ensure that this program works on all systems (at least without sound)
Yeah, it's a bit weird! Best Regards |
@sadrasabouri Would you please handle this issue? |
Sure, ASAP. |
* add : `silence.wav` added. * add : `sound_check` function added. * change : `sound_check` moved to `run` function. * log : changes logged. (#49) * fix : tests fixed. * change : `SOUND_WARNING_MESSAGE` changed.
Description
For some reason the sound (wav's) doesn't play while nafas also doesn't report an error..
Steps/Code to Reproduce
pip3 install nafas
python3 -m nafas
Expected Behavior
Sound should play when I start a breathing program
Actual Behavior
The program starts and counters start, however no sound is played.
I double checked if my audio is on, but for some reason it just won't play
I even went and ran the command while being inside the install location (because it has the sounds subfolder), still nothing:
/usr/local/lib/python3.9/site-packages/nafas
Operating System
MacOS 11.3.1 on a MacBook Pro 13" Intel
Using the iTerm app
Python Version
Python 3.9.5
Nafas Version (Use :
nafas.__version__
)0.4
Thank you for making this app! really appreciate the work!
The text was updated successfully, but these errors were encountered: