Effects.MPXEnable method |
|
Remarks
Enables/disables the application of the MPX (Multiplex) DSP effect on the playing sound. A sound must be already loaded inside the given player before applying this method.
Multiplex is a type of Karaoke software that has specially formatted left and right channels to make multiplex features available. To be formatted for multiplex use, a disc must have the vocals coded to the right channel and the music to the left channel. When you enable the use of the MPX DSP, the control will attenuate/remove the right channel (vocals) and split the left channel (music) to both sides. Attenuation removal of the vocal channel can be fine-tuned using the Effects.MPXSetVocalAttenuation method.
With some special MPX file there may be the need to invert channels management: this can be done using the Effects.MPXInvertChannels method.
See the How to apply special effects to a playing sound section for further details.
Syntax
[Visual Basic] control.Effects.MPXEnable ( nPlayer as Integer, bEnable as enumBoolean ) as enumErrorCodes |
[C++] short control.Effects.MPXEnable ( short nPlayer, short bEnable ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
nPlayer |
Number representing the zero-based index of the involved player |
|||||||||
bEnable |
Boolean value that specifies if the control must apply or not the MPX DSP. Supported values are the following:
|
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. |