代码拉取完成,页面将自动刷新
<?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 <steve@plugin.org.uk>"/>
<meta name="copyright" value="GPL"/>
<meta name="properties" value="HARD_RT_CAPABLE"/>
</global>
<plugin label="alias" id="1407" class="DistortionPlugin">
<name>Aliasing</name>
<p>Simulates aliasing using nyquist frequency modulation. Produces wacky results if the blocks aren't even numbers of samples long.</p>
<callback event="run"><![CDATA[
unsigned long pos;
float coef = 1.0f - 2.0f * level;
if (output != input) {
for (pos = 0; pos < sample_count; pos+=2) {
buffer_write(output[pos], input[pos]);
}
}
for (pos = 1; pos < sample_count; pos+=2) {
buffer_write(output[pos], input[pos] * coef);
}
]]></callback>
<port label="level" dir="input" type="control" hint="default_0">
<name>Aliasing level</name>
<p>Controls the amount of simulated aliasing in the output.</p>
<range min="0" max="1"/>
</port>
<port label="input" dir="input" type="audio">
<name>Input</name>
</port>
<port label="output" dir="output" type="audio">
<name>Output</name>
</port>
</plugin>
</ladspa>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。