You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
2.0 KiB
43 lines
2.0 KiB
8 years ago
|
<script type="text/x-red" data-help-name="AudioEffectMidSide">
|
||
|
<h3>Summary</h3>
|
||
|
<div class=tooltipinfo>
|
||
|
<p>Convert stereo signals to/from Mid-Side format.
|
||
|
Mid-Side encoding can be used to increase stereo width, make the lower
|
||
|
frequencies mono (to please your sub), or as the basis of audio compression.</p>
|
||
|
</div>
|
||
|
<h3>Audio Connections</h3>
|
||
|
<table class=doc align=center cellpadding=3>
|
||
|
<tr class=top><th>Port</th><th>While<br>Encoding</th><th>While<br>Decoding</th></tr>
|
||
|
<tr class=odd><td align=center>In 0</td><td>Left Input</td><td>Mid Output</td></tr>
|
||
|
<tr class=odd><td align=center>In 1</td><td>Right Input</td><td>Side Output</td></tr>
|
||
|
<tr class=odd><td align=center>Out 0</td><td>Mid Input</td><td>Left Output</td></tr>
|
||
|
<tr class=odd><td align=center>Out 1</td><td>Side Input</td><td>Right Output</td></tr>
|
||
|
</table>
|
||
|
<h3>Functions</h3>
|
||
|
<p class=func><span class=keyword>encode</span>();</p>
|
||
|
<p class=desc>Configure this object to encode from stereo to Mid-Side format.</p>
|
||
|
<p class=func><span class=keyword>decode</span>();</p>
|
||
|
<p class=desc>Configure this object to decode from Mid-Side format back to stereo signals.</p>
|
||
|
|
||
|
<h3>Examples</h3>
|
||
|
<p class=exam>File > Examples > Audio > Effects > Mid_Side</p>
|
||
|
<h3>Notes</h3>
|
||
|
<p>Many interesting stereo effects can be achieved by manipulating Mid-Side signals.</p>
|
||
|
<p>Normally a pair of these objects are used, one to encode, then additional
|
||
|
gain/attenuation or effects applied to the Mid-Side signals, and finally
|
||
|
decoding back to stereo signals</p>
|
||
|
<p>To prevent saturation, halving is done in the encoding, that is:</p>
|
||
|
<p>Mid = (left+right)/2</p>
|
||
|
<p>Side = (left-right)/2</p>
|
||
|
<p>And to decode:</p>
|
||
|
<p>Left = Mid+Side</p>
|
||
|
<p>Right = Mid-Side</p>
|
||
|
</script>
|
||
|
<script type="text/x-red" data-template-name="AudioEffectMidSide">
|
||
|
<div class="form-row">
|
||
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||
|
<input type="text" id="node-input-name" placeholder="Name">
|
||
|
</div>
|
||
|
</script>
|
||
|
|