thanx for the example!
somehow on juanty gui comes up but no sound ..
anyway i shortened the script this way and could aplay it
import wave
AMPLITUDE = 2 ** 15
w = wave.open( "out.wav", "w" )
w.setnchannels( 2 )
w.setsampwidth( 2 ) #BYTES
w.setframerate( 22000 )
from array import array
import m
'2+ wrote in news:mailman.1017.1243932401.8015.python-l...@python.org in
comp.lang.python:
> would like to take advantage of the wave module
> found a good example here:
> http://www.python-forum.org/pythonforum/viewtopic.php?f=2&t=10644
>
> hmm .. i don't get how to write a stereo .. i mean i c