[Zope] Audio visualisation problem
sjoerd siebinga
ssiebinga@fa.knaw.nl
Wed, 03 Apr 2002 07:45:35 +0000
Hi all.
I am a newbie at python and zope. And this is what I want to do. I want
to create an web-based audio transciber that displays wave-forms and
spectograms using the snack toolkit ( http://www.speech.kth.se/snack ).
At this moment I have most things working on my desktop using tkinter.
A short sample script is included below.
Is there any way to port such a script to zope?
thanks in advance.
sjoerd
=======
#! /usr/bin/env python
from Tkinter import *
from tkSnack import *
root = Tkinter.Tk()
initializeSnack(root)
s = Sound(load='ex1.wav')
c = SnackCanvas(height=100, width=400)
c.pack()
c.create_waveform(0, 0, sound=s, width=400)
Button(root, text='Exit', command=root.quit).pack()
root.mainloop()
===========