beautypg.com

Command syntax – Dialogic 6.2 User Manual

Page 171

background image

wave

November 2009

171

Pressing the following keys on the telephone keypad affect the speed

and volume at which the application plays back speech:

1 = increases the gain

2 = decreases the gain

3 = increases the speed

4 = decreases the speed

Bfv API debug mode is turned on. The btcall.cfg file is the user

configuration file. The wave program is found in the app.src

directory.

Command Syntax

wave [options]

Requires one -p or -r argument.

Note:

Using 8-bit 8 kHz and 8-bit 11 kHz Linear recording formats

for .wav files can produce poor quality with extra noise. If

recording in Linear format, use 16-bit 8 kHz for .wav files.

These rates produce better quality recording and are much

closer to the format used on the phone line.

Arguments (Options)

-c

Call given number, else wait for ring.

-f

Specify record coding format; use the number of

the format or one of the following names. If

there is no number specified, you must use the

name.
pcm_ulaw

pcm_ulaw64

pcm_ulaw88

pcm_alaw

pcm_alaw64

pcm_alaw88

linear

linear128

linear176

linear64

linear88

2


3


4

-l

Loop forever, sending or receiving.

-n

Specify recording time in seconds.

-p

Play.

-r

Record (default 10 seconds).

-u

Use specified channel.

Name of the file to play or record.