I am making a game in Python using the tkinter library. I want to add background music to the program, and for another sound to work when the button is pressed. What libraries are there for this? And how can this be implemented?
Asked
Active
Viewed 42 times
1
-
1Use `pygame` could be easy. – jizhihaoSAMA Apr 25 '20 at 12:35
-
2There are plenty of resources. Please do not use the forum as replacement for a search engine. Here is an example: https://stackoverflow.com/questions/28795859/how-can-i-play-a-sound-when-a-tkinter-button-is-pushed – tstoev Apr 25 '20 at 13:58
-
You may also look here: https://stackoverflow.com/questions/28795859/how-can-i-play-a-sound-when-a-tkinter-button-is-pushed/61444109#61444109 – Demian Wolf Apr 26 '20 at 16:21