Copyright © 2011-2019 MultiMedia Soft

Effects.NormalizationSimpleApply method

Previous pageReturn to chapter overviewNext page

Remarks

 

Normalizes the sound under editing to 100% (0 dB) respect to the level of its highest peak. If you need to normalize a sound respect to a specific target level, use the Effects.NormalizationAdvancedApply method.

 

During the execution of the editing session the CallbackEditPerc delegate is invoked in order to notify about the percentage of advancement.

 

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

For further details about methods related to the use of special effects refer to the EffectsMan class.

 

 

Syntax

 

[Visual Basic]

Public Function NormalizationSimpleApply (

nStartPosition as Int32,

nEndPosition as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes NormalizationSimpleApply (

Int32 nStartPosition,

Int32 nEndPosition

);


 

[C++]

public: enumErrorCodes NormalizationSimpleApply (

Int32 nStartPosition,

Int32 nEndPosition

);


 

 

Parameter

Description

 

 

nStartPosition

Start position, expressed in milliseconds, of the affected sound range.

nEndPosition

End position, expressed in milliseconds, of the affected sound range.. If set to -1 the end position will be set to the end of the sound.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.