Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!src.honeywell.com!msi.umn.edu!cs.umn.edu!lindner From: lindner@cs.umn.edu (Paul Lindner) Newsgroups: comp.sys.next Subject: Buffering Sound across a network? Message-ID: <1991Apr16.235049.22029@cs.umn.edu> Date: 16 Apr 91 23:50:49 GMT Organization: University of Minnesota, Minneapolis, CSci dept. Lines: 21 I've whipped up a little program that tries to record buffers from a remote machine and plays them on the local machine, using SNDSetHost etal. However the output is really choppy. I'm recording and playing at the same time, and I still get irritating pauses between the retrieved samples. Question 1: Has anyone already done this? Question 2: Or, alternatively, has anyone written an equivilent of the Sun "play" and "record" combo that will write sound files to stdout and read them from stdin? Question 3: What would be the best way to fix the irritating gaps? Right now the program is single threaded, would going to a recording thread and a playing thread be worth the trouble? Or would more buffers help? Thanks! -- |Paul Lindner |lindner@boombox.micro.umn.edu |"Because Love is all good |University of |U of M ACM President | people need, and Music sets |Minnesota MWNC |I.T. Sun/HP Sysadmin | the sick ones free." -- MLB