Hi *,
following up to myself here:
> If it really doesn't exist - Steve, don't you think this could be a nice
> little 5-minute hack for you? ;-)
I didn't expect it is that simple - it just took _me_ 5 minutes, which
means a lot :-). Pleae see the attached split_1999.xml for swh-plugins,
which of course doesn't yet have an official plugin number from Richard,
and has to be converted with Steve's "makestub.pl split_1999.xml
>split_1999.c". Steve, if it makes sense, feel free to adopt into into swh-plugins.
Wow, my first plugin ;^),
Frank
<?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
<[EMAIL PROTECTED]>"/>
<meta name="copyright" value="GPL"/>
<meta name="properties" value="HARD_RT_CAPABLE"/>
</global>
<plugin label="split" id="1999">
<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 < sample_count; pos++) {
LADSPA_Data in = *(input++);
buffer_write(*(outright++), in);
buffer_write(*(outleft++), in);
}
</callback>
<port label="input" dir="input" type="audio">
<name>Input</name>
<range min="-1" max="+1"/>
</port>
<port label="outleft" dir="output" type="audio">
<name>Output left</name>
<range min="-1" max="+1"/>
</port>
<port label="outright" dir="output" type="audio">
<name>Output right</name>
<range min="-1" max="+1"/>
</port>
</plugin>
</ladspa>