vgetty play problem.

Rob Clark (robert@cstr.ed.ac.uk)
Mon, 25 Oct 1999 15:25:30 +0100


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.

the vgetty log has the following for the second message:

10/25 15:01:10 yS0   shell(1): PLAY /tmp/vgetty_spt28632
10/25 15:01:10 yS0   vgetty(1): PLAYING
10/25 15:01:10 yS0  playing voice file /tmp/vgetty_spt28632
10/25 15:01:10 yS0   vgetty: raw modem data header found
10/25 15:01:10 yS0   vgetty: modem type US Robotics found
10/25 15:01:10 yS0   vgetty: compression method 0x0001, speed 8000, bits 1
10/25 15:01:10 yS0    vgetty: queued event RESET_WATCHDOG at position 0013
10/25 15:01:10 yS0    vgetty: unqueued event RESET_WATCHDOG at position
0013
10/25 15:01:10 yS0    vgetty: voice_handle_event got event RESET_WATCHDOG
with data <`>
10/25 15:01:10 yS0   voice command: 'AT' -> 'OK'
10/25 15:01:10 yS0    vgetty: AT
10/25 15:01:10 yS0    US Robotics: VCON
10/25 15:01:10 yS0    US Robotics: 
10/25 15:01:21 yS0  vgetty: timeout while reading character from voice
modem
10/25 15:01:21 yS0  vgetty: start_play_file command failed
10/25 15:01:21 yS0   vgetty(1): ERROR
10/25 15:01:21 yS0   vgetty(1): READY

Modem reports itself as a:

1.0USR9180\\Modem\PNPC107\U.S. Robotics 56K Voice EXT

mgetty is patched with mgetty-1.1.21-to-16091999.patch

I don't think I've changed any defaults.

I'm assuming the modem returning VCOM at "10/25 15:01:10" instead of OK is
the problem, but I don't know what this means or how to fix it.

Any help much appreciated.

Rob Clark.

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