Copyright © 2011-2016 MultiMedia Soft

Effects.BassBoostApply method

Previous pageReturn to chapter overviewNext page

Remarks

 

Applies a DSP effect for boosting bass levels on the given portion of sound under editing.

 

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 BassBoostApply (

nStartPosition as Int32,

nEndPosition as Int32,

nFrequencyInHz as Int32,

fBoostLevelIndB as Single

) as enumErrorCodes


 

[C#]

public enumErrorCodes BassBoostApply (

Int32 nStartPosition,

Int32 nEndPosition,

Int32 nFrequencyInHz,

float fBoostLevelIndB

);


 

[C++]

public: enumErrorCodes BassBoostApply (

Int32 nStartPosition,

Int32 nEndPosition,

Int32 nFrequencyInHz,

float fBoostLevelIndB

);


 

 

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.

nFrequencyInHz

Numeric value representing the frequency expressed in Hz. Accepted values range from 0 to 1000.

fBoostLevelIndB

Numeric value representing the Boost level expressed in dB. Accepted values range from 0 to 36.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.