Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I play a wave over a modem-connection.
Message
From
23/01/2002 07:07:48
 
 
To
23/01/2002 05:54:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00608840
Message ID:
00608865
Views:
19
>If I have a connection with a phone (I did an AT-answer command).
>How can I play wav.file ? The caller has to hear this sound.

One quick & dirty method would be to connect the output of your soundcard to the microphone input of the modem. This method would also need you to play around with other AT commands, to regain control of the modem & ensure it doesn't drop the line when there's no modem on the other end.

As a better method, if you have a voice capable modem, then using Windows Telephony API (TAPI) combined with the multimedia API maybe the way to go. This article may give some idea of how it works, but it is oriented towards C++.

http://www.microsoft.com/msj/defaulttop.asp?page=/msj/archive/s408.htm
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform