Hi everyone. Thanks for your responses! So I did manage to get Snack installed. It turned out to be a very simple process (arg...). As Russell points out, the binaries stopped at python 2.3. However, as suggested by Michael, I was able to copy the snacklib into the Tcl folder. I then copied the tkSnack.py into the Lib folder.
Problem is, as Russell points out, Snack is out of date. I was trying to use it to do audio event analysis. I wanted to use sound to detect when heaters in a building would turn on. With the help of Snack (the Wavesurfer extension of snack), I have identified the frequencies produced when the heaters turn on. However, there seems to be no way of getting the actual values of frequencies (at least, none that I could figure out)! What I need still is a way to tell the computer: Listen (as computers can do this non-stop) until you hear the heaters turn on. At this moment, record the time and date. I will take a look at pygame. Thanks again for everyone's responses! -Al Russell E. Owen-4 wrote: > > In article <4b17df49.4030...@codebykevin.com>, > Kevin Walzer <k...@codebykevin.com> wrote: > >> On 12/3/09 10:40 AM, Michael Lange wrote: >> > >> > I don't know what's going wrong here, but I think it should be fine to >> > simply copy the tkSnack module into Python's site-packages folder. >> > >> >> Will distutils/setuptools actually build the binary Snack library? It's >> a Tcl/Tk library, not a Python library. tkSnack.py is just a wrapper. >> The OP is probably better off downloading the Windows binary, installing >> it in the appropriate directory (wherever the other Tcl/Tk libs are on >> his system), and then trying to install tkSnack.py. > > I agree. I am pretty sure distutils will not build the snack library. > > I used to install it on Windows by downloading the binary release for > windows with python (but it only goes up to Python 2.3). Then follow the > instructions on the web site: "Installation (with Python)". > > But...I recommend not using snack at all. It appears to have been > abandoned. > > I used to use it, but switched to pygame. I chose pygame because (like > snack, except snack is no longer maintained): > - It is fully cross-platform (Mac, unix and windows) > - It plays sounds asynchronously > - It is released and well maintained > - It is easy to use and easy to install > > Note that pygame does much more than play sounds. But you can ignore the > extra capabilities if you don't need them. > > There are a number of sound packages, but I found none that were > cross-platform, fully released (version 1.0 or later) and still actively > maintained. > > -- Russell > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss > > -- View this message in context: http://old.nabble.com/Python-with-Snack-tp26620448p26635787.html Sent from the Python - tkinter-discuss mailing list archive at Nabble.com. _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss