Active Call Center includes a COM component that can be used to boost wave file volume from a macro. This feature is particularly useful for amplifying audio that was recorded from a previous call, or for implementing volume control features on message playback.
The COM component is created by calling CreateObject("ACCTools.AudioBooster") and its use is shown below:
' Define a variable for the Booster
Dim Booster
' Create the AudioBooster
Set Booster = _
CreateObject("ACCTools.AudioBooster")
' Amplify the wave file and save it as a new file.
Booster.Amplify _
"C\InputFile.wav", _
2.5, _
"C:\OutputFile.wav"
Note that the object has only one method, Amplify. Parameters for the Amplify method are input file, amplification level, and output file (respectively). The amplification is a positive numeric value with 0.5 being half as loud, 1 being no amplification, 2 being twice as loud, etc. The example above shows 2.5x audio amplification.