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] Public Function MPXEnable ( nPlayerIndex as Int16, bEnable as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes MPXEnable ( Int16 nPlayerIndex, bool bEnable ); |
[C++] public: enumErrorCodes MPXEnable ( Int16 nPlayerIndex, bool bEnable ); |
Parameter |
Description |
||||||
|
|
||||||
nPlayerIndex |
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.NOERROR (0) |
The method call was successful. |