K
K
Konstantin2020-08-15 09:40:42
Python
Konstantin, 2020-08-15 09:40:42

Playing audio in tkinter python?

I am making my player in python using tkinter and many more libraries.
But here's the problem:
How do I play sound so that the tkinter window doesn't freeze?
Tried playsound, pyglet but didn't work.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Deleting Account, 2020-08-15
@FireFall

Try PyGame, I didn't have any problems using PyQT + PyGame, I don't think tkinter will either.

M
MechanicZelenyy, 2020-08-15
@MechanicZelenyy

Do not block the thread in which the window is running, for this other tasks must be run in other threads.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question