I am trying to manipulate sound using the Snack Sound Toolkit, however when I try to run their demo code I get an error. I followed the installation instructions like it said in the readme file.
CODE:
#! /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()
ERROR:
Traceback (most recent call last):
File "G:\workspace\voice test\MinWave.py", line 8, in <module>
initializeSnack(root)
File "C:\Program Files\Python\lib\tkSnack.py", line 21, in initializeSnack
Tkroot.tk.call('eval', 'package require snack')
_tkinter.TclError: couldn't load library "C:/Program Files/Python/tcl/snacklib/libsnack.dll": invalid argument
I am running windows 7 x64 with python 2.7.6
Thanks, Logan