BB FlashBack SDK: FBSounds

CompressVolume

Description

Compression reduces the variation in volume in sound. You can use it to make loud sounds quieter relative to the rest of the selected sound.  

Syntax

[C#/C++]
public void CompressVolume (Long lIndex, long Start, long End, float EqBoost, float Threshold, float Ratio);

[VB.NET]
Public Sub CompressVolume (ByVal lIndex As Integer, ByVal Start As Integer, ByVal End As Integer, ByVal EqBoost As Single, ByVal Threshold As Single, ByVal Ratio As Single)

Parameters

lIndex : [In] Index of the track in the collection

Start : [In] frame at which to start the operation

End : [In] frame at which to end the operation

EqBoost : [In] range of values 0 to 60. This is a dB adjustment applied to the sound to compensate for the reduction in volume due to compression.

Threshold : [In] range of values -60 to 0. This indicates the volume above which compression will be applied.

Ratio : [In] range of values from 1 to 7. The strength of the compression applied to loud sounds.