Debian Codegraph @

opcodes/fofilter.xml

raw symbols SCIP
1
2 <refentry id="fofilter">
3 <indexterm id="IndexFofilter"><primary>fofilter</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Specialized Filters</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>fofilter</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>fofilter</refname>
11 <refpurpose>
12 Formant filter.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Fofilter generates a stream of overlapping sinewave grains, when fed with
20 a pulse train. Each grain is the impulse response of a combination of
21 two BP filters. The grains are defined by their attack time (determining
22 the skirtwidth of the formant region at -60dB) and decay time
23 (-6dB bandwidth). Overlapping will occur when 1/freq &lt; decay, but,
24 unlike FOF, there is no upper limit on the number of overlaps.
25 The original idea for this opcode came from J McCartney's formlet class
26 in SuperCollider, but this is possibly implemented differently(?).
27 </para>
28 </refsect1>
29
30 <refsect1>
31 <title>Syntax</title>
32 <synopsis>asig <command>fofilter</command> ain, xcf, xris, xdec[, istor]</synopsis>
33 </refsect1>
34
35 <refsect1>
36 <title>Initialization</title>
37 <para>
38 <emphasis>istor</emphasis> --initial disposition of internal data space. Since
39 filtering incorporates a feedback loop of previous output,
40 the initial status of the storage space used is significant.
41 A zero value will clear the space; a non-zero value will allow
42 previous information to remain. The default value is 0.
43 </para>
44 </refsect1>
45
46 <refsect1>
47 <title>Performance</title>
48 <para>
49 <emphasis>asig</emphasis> -- input signal.
50 </para>
51 <para>
52 <emphasis>xcf</emphasis> -- filter centre frequency
53 </para>
54
55 <para>
56 <emphasis>xris</emphasis> -- impulse response attack time (secs).
57 </para>
58 <para>
59 <emphasis>xdec</emphasis> -- impulse response decay time (secs).
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>Examples</title>
65 <para>
66 Here is an example of the fofilter opcode. It uses the file <ulink url="examples/fofilter.csd"><citetitle>fofilter.csd</citetitle></ulink>.
67
68 <example>
69 <title>Example of the fofilter opcode.</title>
70
71
72
73 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
74 <xi:include href="examples-xml/fofilter.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
75 </example>
76 </para>
77 </refsect1>
78
79 <refsect1>
80 <title>See also</title>
81 <para><link linkend="SigmodSpeciali"><citetitle>Specialized Filters: Other filters</citetitle></link></para>
82 </refsect1>
83
84 <refsect1>
85 <title>Credits</title>
86 <para>
87 <simplelist>
88 <member>Author: &namevictor;</member>
89 <member>January 2005</member>
90 </simplelist>
91 </para>
92 <para>New plugin in version 5</para>
93 <para>Audio rate parameters introduced in version 6.02</para>
94 <para>November 2013.</para>
95 </refsect1>
96 </refentry>