Python/Tkinter Audio Player

Posted by Nicholas Quirk on Stack Overflow See other posts from Stack Overflow or by Nicholas Quirk
Published on 2010-05-30T15:30:15Z Indexed on 2010/05/30 15:32 UTC
Read the original article Hit count: 284

Filed under:
|
|
|
|

Hey everyone reading this,

I've recently got into doing GUI development with Python. Tkinter seems like the easiest and most logical choice starting out. I did a little with wxPython but it was more sophisticated than what I needed.

Anyway, I'm developing a media player. Right now it's a simple window with a button to load .wav files. The problem is I would like to implement a pause button now. But, when playing a audio file the GUI isn't accessible again (no buttons can be pushed) till the file is done playing. How can I make the GUI dynamic while an audio file is playing?

I was thinking this maybe be because I'm using PyAudio, and their implementation doesn't allow this. Anyway, thanks for any advice before hand.

© Stack Overflow or respective owner

Related posts about python

Related posts about media