File: plugin.xml

package info (click to toggle)
swh-lv2 1.0.15%2B20111107.gitec6b85e-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 984 kB
  • sloc: xml: 11,701; ansic: 2,120; makefile: 103; sh: 19
file content (48 lines) | stat: -rw-r--r-- 1,571 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<!DOCTYPE ladspa SYSTEM "ladspa-swh.dtd">
<?xml-stylesheet href="ladspa.css" type="text/css"?>

<ladspa>
  <global>
    <meta name="maker" value="Steve Harris &lt;steve@plugin.org.uk&gt;"/>
    <meta name="copyright" value="GPL"/>
    <meta name="properties" value="HARD_RT_CAPABLE"/>
  </global>

  <plugin label="matrixMSSt" id="1421" class="ConverterPlugin">
    <name>Matrix: MS to Stereo</name>

    <callback event="run"><![CDATA[
      unsigned long pos;

      for (pos = 0; pos < sample_count; pos++) {
        left[pos] = mid[pos] + side[pos] * width;
        right[pos] = mid[pos] - side[pos] * width;
      }
    ]]></callback>

    <port label="width" dir="input" type="control" hint="default_1">
      <name>Width</name>
      <p>The width of the dematrixed stereo field. 1 will give you normal width, 0 will make it completely mono, &lt; 1 will make it narrower and &gt; 1 will make it wider.</p>
      <range min="0" max="2" />
    </port>

    <group label="in" type="MidSideGroup"/>

    <port label="mid" dir="input" type="audio" group="in" role="centerChannel">
      <name>Mid</name>
    </port>
    <port label="side" dir="input" type="audio" group="in" role="sideChannel">
      <name>Side</name>
    </port>

    <group label="out" type="StereoGroup" source="in"/>

    <port label="left" dir="output" type="audio" group="out" role="leftChannel">
      <name>Left</name>
    </port>
    <port label="right" dir="output" type="audio" group="out" role="rightChannel">
      <name>Right</name>
    </port>
  </plugin>
</ladspa>