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 Effects COM object.

 

 

Syntax

 

[Visual Basic]

control.Effects.BassBoostApply (

nStartPosition as Long,

nEndPosition as Long,

nFrequencyInHz as Long,

fBoostLevelIndB as Single

) as enumErrorCodes


 

[C++]

short control.Effects.BassBoostApply (

long nStartPosition,

long nEndPosition,

long 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.ERR_NOERROR (0)

The call was successful.