@ShortDescription

@ParamDescription(msen)
/* Main Enable */
When engaged, enables all the processing of the module.

@ParamDescription(minv)
/* Main Mid Invert */
When enabled, inverts the 1st input channel before processing.

@ParamDescription(sinv)
/* Main Side Invert */
When enabled, inverts the 2nd input channel before processing.

@ParamDescription(mode)
/* Main Mode */
Selects the processing mode. 
<dl>
<dt>Decode (Constant Amplitude)</dt>
<dd>
Makes input 1 be the Mid Channel and input 2 the Side Channel. In this
mode, the processor decodes the M/S input to Left and Right outputs, keeping 
the total amplitude constant. The center point is output compensated to not clip.
</dd>
<dt>Decode (Constant Power)</dt>
<dd>
Makes input 1 be the Mid Channel and input 2 the Side Channel. In this
mode, the processor decodes the M/S input to Left and Right outputs, keeping 
the total power constant (the amplitude increases, and may go over 1). It is possible to clip audio using this setting.
</dd>
<dt>Encode (Constant Amplitude)</dt>
<dd> 
Makes input 1 be the Left Channel and input 2 the Right Channel. In this
mode, the processor encodes the Left and Right inputs to M/S outputs, keeping 
the total amplitude constant. The center point is output compensated to not clip.
</dd>
<dt>Encode (Constant Power)</dt>
<dd> 
Makes input 1 be the Left Channel and input 2 the Right Channel. In this
mode, the processor encodes the Left and Right inputs to M/S outputs, keeping 
the total power constant (the amplitude increases, and may go over 1). It is possible to clip audio using this setting.
</dd>
<dt>LR->MS->LR</dt>
<dd> 
Makes input 1 be the Left Channel and input 2 the Right Channel. In this
mode, the processor encodes the Left and Right inputs to an internal M/S 
representation,applies the width and rotation transformations in the M/S 
representation and then decodes the transformed M/S channels back to Left and 
Right outputs.
</dd>
</dl>

@ParamDescription(wdth)
/* Main Width */
Adjusts the width of the transformed field. When this parameter is 0, the ouput will be
mono. When this is 1, the full stereo width is represented.

@ParamDescription(rota)
/* Main Rotation */
Rotates the stereo field by the specified angle. 

@ParamDescription(mbyp)
/* Main Master Bypass */
Bypasses all of the processing.

@Description
#name is a flexible Mid/Side channel processor. It can be used to decode material that 
was previously encoded as Mid/Side. It can also be used to encode a left/right stereo field
into a mid/side signal. In addition to being used to encode or decode existing signals, it you 
also use two instances of #name to build a transcoding signal chain in the +DSP graph. 

Since
you have access to the individual Mid and Side signals after encoding, you can insert additional
processing blocks between the encoder and the decoder, including EQ, delay, compression and 
limiting. This allows you to build signal chains that alter the overall size, nature and depth of 
the stereo field. 

