Debian Codegraph @

opcodes/k35_hpf.xml

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