Re: [Tutor] wav audio playback

2007-02-26 Thread Alan Gauld
"Isaac" <[EMAIL PROTECTED]> wrote > """ > RuntimeWarning: Python C API version mismatch for module _portaudio: > This > Python has API version 1013, module _portaudio has version 1012. > import _portaudio as pa """ > > It does play sound but how can I get rid of this error? You need an update

Re: [Tutor] wav audio playback

2007-02-25 Thread Adam Pridgen
You are getting these errors because the API for Python varies by release (e.g. 2.4 to 2.5) due to additions, bug fixes, etc.. The warning you are receiving is letting you know that it was compiled and meant to be run on Python 2.4, and also subtly warning that problems may arise when you run or

[Tutor] wav audio playback

2007-02-25 Thread Isaac
hello from a programming newbie. I am writing a metronome function. Currently, I am using a hack with the system bell: [code] def tick(rate): while true: #do until C-c print '\a' #system bell inside terminal time.sleep(rate) #pause at desired rate [/code] I would like to use an