Re: [Tkinter-discuss] Drawing waveform on a Canvas

2006-01-19 Thread Michael Lange
Frederik, Mohammad, Stewart, thanks to all of you. On Thu, 19 Jan 2006 00:04:32 -0800 (PST) Mohammad Tayseer <[EMAIL PROTECTED]> wrote: > 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

Re: [Tkinter-discuss] Drawing waveform on a Canvas

2006-01-19 Thread Fredrik Lundh
Michael Lange wrote: > The problem is that I have a real large number of coords > here, so my 30-minute test file at a resolution of 100 pixels > / second takes more than 20 seconds to draw and then it > sucks up more than 20% of my computer's memory (says > top). I haven't tried zooming yet... t

Re: [Tkinter-discuss] Drawing waveform on a Canvas

2006-01-19 Thread Mohammad Tayseer
> 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;

Re: [Tkinter-discuss] Drawing waveform on a Canvas

2006-01-19 Thread Mohammad Tayseer
> 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;

Re: [Tkinter-discuss] Drawing waveform on a Canvas

2006-01-18 Thread Michael Lange
On Wed, 18 Jan 2006 11:41:26 -0800 (PST) Mohammad Tayseer <[EMAIL PROTECTED]> wrote: > You have two problems > 1. Reading a sound file > 2. drawing the waveform > > I solved the 2nd problem only. This is a code that draws a random waveform. Thanks Mohammad, you are right, the line item looks v

Re: [Tkinter-discuss] Drawing waveform on a Canvas

2006-01-18 Thread Mohammad Tayseer
Michael Lange <[EMAIL PROTECTED]> wrote:> Hello list,>> I am trying to draw a graphical representation of a soundfile > (a.k.a. waveform) onto a Canvas,You have two problems1. Reading a sound file2. drawing the waveformI solved the 2nd problem only. This is a code that draws a random waveform.-

Re: [Tkinter-discuss] Drawing waveform on a Canvas

2006-01-18 Thread Stewart Midwinter
On 1/18/06, Michael Lange <[EMAIL PROTECTED]> wrote: > I have used the SnackCanvas before (http://www.speech.kth.se/snack) and it is > pretty cool, I don't have any answers for you, but thanks for the pointer to SnackCanvas - that is an interesting toolkit for sure! s ___

[Tkinter-discuss] Drawing waveform on a Canvas

2006-01-18 Thread Michael Lange
Hello list, I am trying to draw a graphical representation of a soundfile (a.k.a. waveform) onto a Canvas, however I am not sure where to start. I have used the SnackCanvas before (http://www.speech.kth.se/snack) and it is pretty cool, however for several reasons I don't want to use the Snack pa