beautypg.com

Wave, Command syntax – Dialogic 6.2 User Manual

Page 170

background image

wave

November 2009

170

Command Syntax

voiceraw [options]

Not all coding formats and rate combinations are available on all

products.

Requires one -p or -r argument.

wave

The wave program uses the speech-wave-file recording and playing

routines to record and play speech. Recording begins when you start

speaking. Recording continues for a maximum of ten seconds or the

time specified in the -n option.

Pressing # on the telephone keypad immediately terminates

playback or recording.

Arguments

-c

Call given number, else wait for ring.

-f

Specify 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.

adpcm

adpcm32

adpcm24

pcm_ulaw

pcm_ulaw64

pcm_ulaw48

pcm_ulaw88

pcm_alaw

pcm_alaw64

pcm_alaw48

pcm_alaw88

1


2


3

-l

Loop forever, sending or receiving.

-n

Specify recording time in seconds.

-p

Play.

-r

Record (default 10 seconds).

Name of the file to play or record.

-u

Use specified channel.