BB FlashBack SDK: FBSounds

NormalizeVolume

Description

Normalization adjusts the volume of clips to give them the same "loudness" (the volume of the loudest sound in the clip). Normalization is particularly useful when a sound track is composed of a number of clips from different sources with varying volumes, to make the volume in the track more uniform.   

Syntax

[C#/C++]
public void NormalizeVolume (Long lIndex, long Start, long End, float volumeLevel);

[VB.NET]
Public Sub CompressVolume (ByVal lIndex As Integer, ByVal Start As Integer, ByVal End As Integer, ByVal volumeLevel 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

volumeLevel : [In] range of values -60 to 0. This is a dB adjustment applied to the loudness.