vgetty play problem.

Rob Clark (robert@cstr.ed.ac.uk)
Thu, 28 Oct 1999 17:51:07 +0100


On Mon, 25 Oct 1999, Rob Clark wrote:

> Hi, I'm trying to get a simple vgetty script working.
> 
> I'm basically synthesising speech using festival and sending it to the
> modem. My problem seems to be that if the speech file is longish, an error
> occurs.
> 
> My minimal script that fails is (with events enables):
> 
> synth_and_play_text "$short_message"
> synth_and_play_text "$longer_message"
> 
> where long_lessage is about 10 words in length.
> and the synth_and_play_text function synthesises to .wav converts to .rmd
> issues 'send "PLAY $FILE"' and waits for  PLAYING and READY responces.
> 
> The fist message plays ok, but the second message doesn't
> 
> The script gets the `PLAYING' responce but not the `READY' responce for
> the second message.

With further investigation I have found that a hardflow_cmnd command, just
'AT' in this case, is returning VCON and not OK. Allowing this as an
acceptable responce seems to fix the problem. Is this too much of a hack
to include as a patch. Is there a case where you wouldn't want this to be
the responce?

The problematic modem is a US Robotics 56K voice faxmodem model number
5663, UK edition, which I think they have just stopped making.

Regards
Rob Clark.

-- 
 /------------------------------------------------------------\
|   __  __ ___  __    | Rob Clark <robert@cstr.ed.ac.uk>       |
|  /_/ /_/  /  /      | Centre for Speech Technology Research, |
| / \./ /._/. /__lark | University of Edinburgh.               |
 \------------------------------------------------------------/
                                             Eschew obfuscation!