File: split_1406.xml

package info (click to toggle)
swh-plugins 0.4.15%2B1-6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 9,060 kB
  • sloc: ansic: 72,074; xml: 12,247; sh: 11,689; perl: 769; makefile: 211; sed: 16
file content (41 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download | duplicates (6)
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
<?xml version="1.0" ?>
<!DOCTYPE ladspa SYSTEM "ladspa-swh.dtd">
<?xml-stylesheet href="ladspa.css" type="text/css" ?>
<ladspa>
	<global>
		<meta name="maker" value="Frank Neumann &lt;franky@users.sourceforge.net&gt;"/>
		<meta name="copyright" value="GPL"/>
		<meta name="properties" value="HARD_RT_CAPABLE"/>
	</global>

	<plugin label="split" id="1406" class="UtilityPlugin">
		<name>Mono to Stereo splitter</name>
		<p>Takes a mono input signal, and outputs it to both left and right channel, thus "stereophizing" it.</p>

		<callback event="run">
			unsigned long pos;

			for (pos = 0; pos &lt; sample_count; pos++) {
				const LADSPA_Data in = input[pos];

				buffer_write(out1[pos], in);
				buffer_write(out2[pos], in);
			}
		</callback>

		<port label="input" dir="input" type="audio">
			<name>Input</name>
			<range min="-1" max="+1"/>
		</port>

		<port label="out2" dir="output" type="audio">
			<name>Output 1</name>
			<range min="-1" max="+1"/>
		</port>

		<port label="out1" dir="output" type="audio">
			<name>Output 2</name>
			<range min="-1" max="+1"/>
		</port>
	</plugin>
</ladspa>