From: Robert Klemme Date: 2003-07-02T20:37:49+09:00 Subject: Re: Question about streaming on Ruby "Rob" schrieb im Newsbeitrag news:064801c34081$3c812000$a8c70b85@CPQ22906761423... > I have a problem which I even don't know where to start. > My professor asked me to build a system in Ruby which uses streaming in > order to play voice. > It is a system where the server will give responses to what the user says. > So, basically if the user says "hello", the system will reply saying "Fine, > and you?". > At the moment I don't have to care about the voice recognition, I just have > to > build something that can save a sound file in the server and something where > the user can > 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? > > I asked my friends at my lab, and one friend said I should better forget > Ruby and use active-X. > But my professor said I should try to develop it using Ruby. Apart from the sound recognition stuff this sounds like an ordinary web application. You can have a look at eruby and I think there's an Apache mod_ruby. The difficult part - independent of programming language used - will be the sound recording of the user's voice. robert