Records voice files. Refer to Recording for more information.
vcerec [options] filename [additional filenames]
where options are
|
Option |
Use this option to... |
|---|---|
|
-b board |
Specify the board number. Default = 0. |
|
-e encoding |
Specify the encoding of the file. This option is needed only for flat files. Entering -e? displays the following valid values: 1 NMS-16 2 NMS-24 3 NMS-32 4 NMS-64 10 MULAW 11 ALAW 13 PCM8M16 14 OKI-24 15 OKI-32 16 PCM11M8 17 PCM11M16 20 G726 22 IMA-24 23 IMA-32 24 GSM 26 G723-5.3 27 G723-6.4 28 G729A |
|
-f filetype |
Specify the file type. File types are VOX, WAV, and VCE. By default, the file type is inferred from the file name. A file with an extension other than .vox or .wav is considered VCE (flat). If no file type is specified and the file name does not have an extension, .vox is assumed. |
|
-i voxindices |
Specify the number of index entries in a newly created VOX file (48 to 6500). The default number of index entries in a VOX file is 250. |
|
-m start:end |
Specify the message or messages to record. If only start is specified, only that message is recorded. If end is also specified, all messages from start to end, inclusive, are recorded. |
|
-p protocol |
Wait for and connect to an incoming call. -p specifies the call control protocol. Default is LPS0. To use vcerec with a phone directly connected to a DID port on an AG 2000/C board, specify the NOCC protocol. For example: vcerec -pnocc filename |
|
-r seconds |
Specify the maximum seconds per message. If not specified, there is no limit. |
|
-s [stream:]slot |
Specify the port (DSP) address. Default = 0:0. You need to specify only the slot. |
|
-x |
Overwrite the existing destination file. The default is to merge into an existing file, if any. |
|
-? |
Display an on-screen list of program options. |
Keyboard and touch tone control
You can enter the following single-digit commands with either a keystroke or a touch tone:
|
Command |
Description |
|
1 |
Restart message |
|
2 |
Next message |
|
5 |
Pause or resume (toggle) |
|
# or ESC |
Exit |
vceClose, vceCreateFile, vceEraseMessage, vceGetContextInfo, vceGetHighMessageNumber, vceGetMessageSize, vceGetOpenInfo, vceOpenFile, vceRecord, vceRecordMessage vceSetCurrentMessage, vceSetPlayGain, vceSetPlaySpeed, vceSetPosition, vceStop
vcerec test.wav
Re-records one message to test.wav.
vcerec -pnocc -m0:9 digits
Records 10 messages to digits.vox. Does not wait for an incoming call.
vcerec -14 -fVCE oki24.vox
Records to a flat file named oki24.vox using OKI-24 encoding.
vcerec -e?
Displays the encoding values and their names.