Some CopiaFacts systems cannot use .WAV files directly, and you have to convert them to and from telephony format files with a utility program not supplied with CopiaFacts. Users have reported good results with software packages such as Voxtudio and Adobe Audition (formerly known as CoolEdit 2000).

Most Dialogic voice boards support .WAV files directly, as do the Brooktrout TR1034 range and Dialogic Diva Server. The use of .WAV files in these environments is the subject of these notes. Note that Dialogic boards support at most the subset of WAV file formats described below. Consult the Dialogic documentation for full information about the formats supported by each board.

If you wish to have higher-quality messages and your CopiaFacts system supports .WAV files, we strongly recommend that you use them. Conversion between sound formats and especially between sample rates is impossible without adding some noise or distortion each time the file is converted. There are a very large number of utilities available which can process and edit .WAV files, and the base quality standard of 11,025 samples per second, 8-bits per sample, monaural, provides noticeably better quality than the telephony formats. The downside is increased file size, but most fax-on-demand and IVR applications have no more than a few megabytes of sound files anyway.

Supported WAV File Types

The following file formats and sample frequencies are supported:

WAVADPCM6 Dialogic ADPCM (4-bit) recorded at 6000 samples per second.
WAVADPCM8 Dialogic ADPCM (4-bit) recorded at 8000 samples per second.
WAVMULAW6 Mu-Law PCM (8-bit) recorded at 6000 samples per second.
WAVMULAW8 Mu-Law PCM (8-bit) recorded at 8000 samples per second.
WAVMULAW11 Mu-Law PCM (8-bit) recorded at 11,025 samples per second.
WAVALAW6 A-Law PCM (8-bit) recorded at 6000 samples per second.
WAVALAW8 A-Law PCM (8-bit) recorded at 8000 samples per second.
WAVALAW11 A-Law PCM (8-bit) recorded at 11,025 samples per second.
WAVPCM6 Linear PCM (8-bit) recorded at 6000 samples per second.
WAVPCM8 Linear PCM (8-bit) recorded at 8000 samples per second.
WAVPCM11 Linear PCM (8-bit) recorded at 11,025 samples per second.

Only monaural (1-channel) files are supported: stereophonic (2-channel) files cannot be used. All WAV files used by CopiaFacts must have the file extension .WAV, except that special rules apply (and are described below) to multiple-segment files such as the digits playback file. If the .WAV file is present and supported, it will be used in preference to a .VOX or .MSG file. CopiaFacts systems which do not support .WAV files will ignore them if they are present.

Playing .WAV files

No special action or command settings are required to play .WAV files. For example if you record a special greeting message (Standard Voice Prompt 1) into a file named SVP1.WAV, then it will be used in preference to any SVP1.VOX file (new naming convention) or FAXMSG.1 file (old naming convention) which may also be present in the directory or directories defined for standard voice prompt message files. The format of a .WAV file is determined automatically from the header information and any specifications provided on the $voice_format configuration command are ignored when playing a .WAV file.

An error message will be displayed if you attempt to play an unsupported .WAV file format and the file will not be played, even if an alternate telephony file is available.

Creating (recording) .WAV files

The default recording format remains Dialogic ADPCM recorded at 6000 samples per second into a .VOX file (containing raw data without headers). To record into .WAV files you must use a $voice_format configuration command with one of the WAV... constants listed above as its second parameter. This changes the default recording format and sets the file extension for all recorded files to .WAV. Use your system's default VOX file format as the first parameter on this command.

Multiple-Segment files

The files FAXFACTS.DIG (digit playback file), FAXFACTS.AMT (amounts playback file), FAXFACTS.ABC (alphanumeric playback file) and FAXFACTS.RST (recording studio messages file) may be created from segments which are .WAV files. Any custom multiple-segment files created with the FFAMOUNT program may also be created from .WAV files. If any segment in a multiple-segment file is a .WAV file, all segments must be .WAV files, and all segments must have identical format and sample rate. The FFAMOUNT program enforces this rule when it builds the multiple-segment file.

Even if the file is composed of .WAV file segments, the file extension of the multiple-segment file does not become .WAV. CopiaFacts automatically recognizes the .WAV segments if these are supported. CopiaFacts systems which do not support .WAV files cannot recognize or process multiple-segment files built from .WAV component files.

Mixed Systems

If you have a mixed networked system in which some machines support .WAV files and some do not, you can handle system messages, menus, and other document descriptions by having .WAV files which will only be used if they are supported, together with a complete set of files for use by the systems which do not support .WAV files. The only problem in this case will be the multiple-segment files: if you build them from .WAV files they cannot be used with systems

which do not support .WAV files, and the filenames are common to both formats. In this case we suggest using the original telephony (.VOX) format for the components of these files.

Converting to use .WAV files

If you have a system which only has telephony format files, you can start to benefit from the higher quality of 11Khz .WAV files by simply recording some of your system messages and menus as .WAV files and installing them in the same directories as your original files.

To record caller messages as .WAV files, and to use the CopiaFacts Recording Studio to create .WAV files, you must add a $voice_format configuration command as described above.

Playing .WAV files without the Dialogic board

The CopiaFacts Console Voice/Fax Simulator PHONESIM requires all voice files in WAV format. It supports any WAV format that works with your sound board, although it would make sense to use only formats which also work with your Dialogic board. To play .WAV files on a system equipped with a SoundBlaster(R) or equivalent sound board, you can also either use the utilities supplied with Windows or use FFPLAY. FFPLAY can also (convert temporarily and) play any of the telephony file formats supported by CopiaFacts.