I'm writing a program that generates sound samples at (theoretically) 44100 Hz and writes them to a .wav file, which I then play with xmms. How can I hear the sound as the program generates it? Can the same code work on both DFly and Linux? Pierre -- The Black Garden on the Mountain is not on the Black Mountain.