- Contents
Interaction Designer Help
Compress Audio File
This Telephony tool uses EICAudioCompressor COM to create a compressed audio file from a specified source file.
Inputs
Source File Name
The name of the file to be compressed.
Destination File Name
The file you want to save the newly compressed file under.
Compression Format
An integer value indicating the type of compression to be applied to the file. Valid values are:
0 TrueSpeech
1 GSM
2 MS ADPCMGSM - This format is unsupported so the tool will fail and an error will be logged.
3 G.711
4 G.726 - This format is unsupported so the tool will fail and an error will be logged.
5 IMA ADPCM - This format is unsupported so the tool will fail and an error will be logged.
See the Voice Mail Compression Options white paper for a more detailed explanation of audio file compression and compression formats.
Normalize
Set this Boolean to True to normalize the audio file. When a recording is normalized, it is analyzed to determine what the maximum volume level of the audio file is. A value 5% below the maximum value is then used to set the gain value that will bring the maximum volume level up or down to a standard level. This ensures that at a given station, all recordings will play back at the same relative volume. Using a value 5% below the maximum volume to calculate the gain prevents a short burst of static or similar anomalous noise from throwing off this volume adjustment.
Delete Source
The source file will be deleted once the new file is successfully saved if this box is checked. This box is not checked by default.
Overwrite Destination
The new file will automatically overwrite a pre-existing file with the same name as the destination filename if this box is checked. This box is checked by default.
Timeout
The number of seconds the tool should wait for the file to be compressed. If no value is returned in the specified time, this tool will take the Failure exit path.
Exit Paths
Success
This path is taken if the new audio file is successfully processed.
Failure
This path is taken if the operation fails.