Thanks; yes I use matplotlib for a lot of other things. But in this case I am not sure it is the best way to go. I have a huge pytables repository of relatively small and already calculated spectrograms (say 128x30 pixels) that I need to display, page after page. One screen can contain hundreds of them, so they need to be loaded relatively fast.

The thing is that I am new to pygtk (and gnome) and after reading various posts and articles, I am a bit confused about what the most straightforward way is to display many relatively small bitmaps on a canvas.

All best, Gabriel



Quoting Gian Mario Tagliaretti <[EMAIL PROTECTED]>:

2006/12/19, Gabriel <[EMAIL PROTECTED]>:

I have series of spectrograms (image representations of sound)
available as 2-D numpy arrays. I want to show them on a canvas. What
would be the most efficient way of doing this? An example would be
greatly appreciated.

have you considered to use matplotlib[1] which works smootly with pygtk
as well?

it has got a spectrogram example[2] and a screenshot[3] as well
(search for eeg.py)

[1] http://matplotlib.sourceforge.net
[2] http://matplotlib.sourceforge.net/screenshots/eeg.py
[3] http://matplotlib.sourceforge.net/screenshots.html

cheers
--
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to