Copyright © 2008-2019 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.

 

A successful call to this method will fire the SoundEditStarted event followed by a number of SoundEditPerc events and finally by the SoundEditDone event.

 

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.