ModemDev

Description:              Obtains the identifier for a modem sub-device. (In order to use the audio capabilities of a voice modem, the device identifier for the wave output device is required.)

Returns:                    See description

Usage:                       Script

Format:                      ModemDev(ModemStream, DeviceName )

Parameters:             ModemStream   { numeric }  { required }  { no default }

                                      The connected modem stream (returned from a ModemStream or ModemDial function call).

                                    DeviceName   { text }  { required }  { no default }

                                      A text value describing the device whose identifier is required. This should be "wave/out" to obtain the identifier of the audio output device.

Comments:               When called with a DeviceName of "wave/out", this function returns a value suitable for use with the SpeechSelect and Sound functions.

                             Modem audio devices typically require 8-bit mono audio at 8000 samples/sec. If the audio to be played does not conform to this format, then the sound will not be played. Speech engines usually have special voices available for telephony applications – see the SpeechEnum function.

                            

See Also:

ModemMedia | Sound | SpeechEnum | SpeechSelect