|
||||
|
I'm trying to demonstrate Fourier transforms by building a WAVE player/spectrum analyzer in Python with PyGTK 2. The problem: I really don't understand how the event loop needs to work. I think it wants to do something like: 1. Grab a frame. 2. Dump the frame to a sound module. 3. Every so often, compute a DFT and refresh the graph. 4. Repeat. Is there a good way to do this? |
||||
|
|
