> Michael Lange <[EMAIL PROTECTED]> wrote:
> On Wed, 18 Jan 2006 11:41:26 -0800 (PST)
> Mohammad Tayseer <[EMAIL PROTECTED] style="font-style: italic;"> wrote:
<[EMAIL PROTECTED] style="font-style: italic;">>
<[EMAIL PROTECTED] style="font-style: italic;">>
<[EMAIL PROTECTED] style="font-style: italic;">>> You have two problems
<[EMAIL PROTECTED] style="font-style: italic;">>>1. Reading a sound file
<[EMAIL PROTECTED] style="font-style: italic;">>> 2. drawing the waveform
<[EMAIL PROTECTED] style="font-style: italic;">>>
<[EMAIL PROTECTED] style="font-style: italic;">>> I solved the 2nd problem only. This is a code that draws a random waveform.
<[EMAIL PROTECTED] style="font-style: italic;">>
<[EMAIL PROTECTED] style="font-style: italic;">>Thanks Mohammad,
<[EMAIL PROTECTED] style="font-style: italic;">>
<[EMAIL PROTECTED] style="font-style: italic;">> you are right, the line item looks very good.
<[EMAIL PROTECTED] style="font-style: italic;">> The problem is that I have a real large number of coords here, so my 30-minute > test file
<[EMAIL PROTECTED] style="font-style: italic;">> at a resolution of 100 pixels / second takes more than 20 seconds to draw and > then it sucks up more
<[EMAIL PROTECTED] style="font-style: italic;">> than 20% of my computer's memory (says top).
<[EMAIL PROTECTED] style="font-style: italic;">> I haven't tried zooming yet...
<[EMAIL PROTECTED] style="font-style: italic;">>
<[EMAIL PROTECTED] style="font-style: italic;">> I think using an image may be a better chance, so I tried to use the canvas to > create a postscript
<[EMAIL PROTECTED] style="font-style: italic;">> that I could then convert into a gif, however the canvas wrote a 10 MB ps
> file that made convert crash
<[EMAIL PROTECTED] style="font-style: italic;">> when trying to open it.
> <[EMAIL PROTECTED] style="font-style: italic;">
<[EMAIL PROTECTED] style="font-style: italic;">> Any ideas?
<[EMAIL PROTECTED] style="font-style: italic;">>
<[EMAIL PROTECTED] style="font-style: italic;">> Michael
<[EMAIL PROTECTED] style="font-style: italic;"><[EMAIL PROTECTED]>
What is the relationship you want to draw? frequency vs. time or what?
frequency/time requires only 1 chart, but other relationships requires more than one, which may suggest using another widget.


Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to