Good afternoon,
I have a PcTel HSP56 Mr Data/Fax/Voice/Speakerphone modem. I am
writing a program to answer the phone in my absence.
I am playing VOX files compressed in Rockwell ADPCM at 7200K 4bit. My
first question is: when I send the modem an At#Vtx command, I can
submit the Vox file in 2400-bite chunks and the modem starts playing
the data. It, however, never sends a message back asking for more
data, so I simply wait a tenth of a second and send the next block.
This sort of works, but the audio often varries in volume and music,
for some reason, increases drasticly in volume and sounds aweful.
Second: I cannot record audio from the modem. When I send an At#Vrx
command, the modem responds with Connect, then sends <Dle><Can>
indicating the audio transmition is finished, and returns to vCon
(online voice command mode.)
So my questions are thus:
1. How should I properly submit the VOX data to the modem?
and 2. How can I receive Vox data from it?
As a sideline, if you find a freeware command-line utility or DLL to
convert Vox to Wave and vise-versa, I will be delighted to pay an
extra ten dollars.
Thank you for your time and the excellent service you researchers
provide. I know it's going to be a pleasure working with you. - Craig. |
Request for Question Clarification by
aht-ga
on
29 Sep 2003 16:49 PDT
marvelsoft-ga:
For the second part of your question, regarding recording: have you
already confirmed that after the AT#VRX<CR>, no other characters are
being sent from the DTE to the modem? Also, have you explicitly set
S30 to a non-zero value?
There are supposed to be only two ways to cancel recording; one is
through the expiry of the S30 timer value, and the other is through
"any key press", ie. any character being transmitted from the DTE to
the modem.
Regards,
aht-ga
|