Copyright © 2008-2019 MultiMedia Soft

Effects.PlayerSettingsApply method

Previous pageReturn to chapter overviewNext page

Remarks

 

Applies, in one single shot, to the sound under editing all of the following audio settings previously applied to a specific audio player instanced by the Active DJ Studio component:

 

Volume level
Balance
Preamplifier
Equalization
DMO (DirectX Media Object) effects
Chorus, Compressor, Distortion, Echo, Phaser, Reverb, Auto Wah and Dynamic amplifier effects
Internal and External Custom DSP effects
Commercial and freeware VST effects
Audio channels remapping
Tempo change
Playback rate change
Pitch change
IIR and FIR filters
Vocal removal filter
Bass boost

 

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.PlayerSettingsApply (

nStartPosition as Long,

nEndPosition as Long,

nPlayerHandle as Long

) as enumErrorCodes


 

[C++]

short control.Effects.PlayerSettingsApply (

long nStartPosition,

long nEndPosition,

long nPlayerHandle

);


 

 

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.

nPlayerHandle

Handle of the audio player, containing needed settings to apply, returned by the GetPlayerHandle method of the Active DJ Studio component.

 

 

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.