Debian Codegraph @

opcodes/zdf_2pole_mode.xml

raw symbols SCIP
1
2 <refentry id="zdf_2pole_mode">
3 <indexterm id="IndexZdf_2pole_mode"><primary>zdf_2pole_mode</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Standard Filters</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>zdf_2pole_mode</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>zdf_2pole_mode</refname>
11 <refpurpose>
12 Zero-delay feedback implementation of 2 pole filter with multimode output.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Zero-delay feedback implementation of a 2 pole (12 dB/oct) filter. Offers low-pass,
20 band-pass, and high-pass output.
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis>alp, abp, ahp <command>zdf_2pole_mode</command> ain, xcf, Q [, istor]</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 <emphasis>istor</emphasis> --initial disposition of internal data space.
33 Since filtering incorporates a feedback loop of previous output, the
34 initial status of the storage space used is significant. A zero value
35 will clear the space; a non-zero value will allow previous information to
36 remain. The default value is 0.
37 </para>
38
39 </refsect1>
40
41 <refsect1>
42 <title>Performance</title>
43 <para>
44 <emphasis>alp</emphasis> -- low-pass output signal.
45 </para>
46 <para>
47 <emphasis>abp</emphasis> -- band-pass output signal.
48 </para>
49 <para>
50 <emphasis>ahp</emphasis> -- high-pass output signal.
51 </para>
52 <para>
53 <emphasis>ain</emphasis> -- input signal.
54 </para>
55 <para>
56 <emphasis>xcf</emphasis> -- filter cutoff frequency (i-, k-, or a-rate).
57 </para>
58 <para>
59 <emphasis>Q</emphasis> -- filter Q value (i-, k-, or a-rate). Range 0.5-25.0.
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>Examples</title>
65 <para>
66 Here is an example of the zdf_2pole_mode opcode. It uses the file <ulink url="examples/zdf_2pole_mode.csd"><citetitle>zdf_2pole_mode.csd</citetitle></ulink>.
67 <example>
68 <title>Example of the zdf_2pole_mode opcode.</title>
69 <xi:include href="examples-xml/zdf_2pole_mode.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
70 </example>
71 </para>
72 </refsect1>
73
74 <refsect1>
75 <title>References</title>
76 <para> This filter is based on the work of Will Pirkle that employs Vadim
77 Zavalishin's work with bilinear tranforms to create topology-preserving
78 transform (TPT) implementations of analog filters.</para>
79
80 <para>
81 <orderedlist>
82 <listitem>
83 <para>
84 Pirkle, Will. Designing Software Synthesizer Plug-ins in C++: For
85 RackAFX, VST3, and Audio Units. CRC Press, 2014.
86 </para>
87 </listitem>
88 <listitem>
89 <para>
90 Pirkle, Will. AN-4: Virtual Analog (VA) Filter Implementation. 2013.
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 Zavalishin, Vadim. "The Art of VA filter design." Native Instruments, 2012.
96 </para>
97 </listitem>
98 </orderedlist>
99 </para>
100 </refsect1>
101
102 <refsect1>
103 <title>See also</title>
104 <para><link linkend="SigmodStandard"><citetitle>Standard filters: Zero-delay Feedback Filters (Virtual Analog)</citetitle></link></para>
105 </refsect1>
106
107 <refsect1>
108 <title>Credits</title>
109 <para>
110 <simplelist>
111 <member>Author: &namesteven;</member>
112 <member>April 2017</member>
113 </simplelist>
114 </para>
115 <para>New in Csound 6.09.0</para>
116 </refsect1>
117 </refentry>