From: Brian Candler Date: 2003-07-02T22:53:48+09:00 Subject: Re: Question about streaming on Ruby On Wed, Jul 02, 2003 at 07:03:57PM +0900, Rob wrote: > press a button called "record my voice" and that as soon as the server > finishes recording the > > user's voice, the server will play the response file. > > > > My question is: how to start doing this with Ruby? > > Can Ruby do this? Sure, at worst something like: system("wavrec -r 5 myfile.wav") Or I guess you could even open /dev/audio or /dev/dsp and read/write from them directly. Cheers, Brian.