Debian Codegraph @

opcodes/gtf.xml

raw symbols SCIP
1
2 <!--Change refentry id and indexterm id-->
3 <refentry id="gtf">
4 <indexterm id="IndexgGtf"><primary>gtf</primary></indexterm>
5 <!--Make sure the category below is a valid one! See categories.py-->
6 <refentryinfo><title>Signal Modifiers:Specialized Filters</title></refentryinfo>
7 <refmeta>
8 <refentrytitle>gtf</refentrytitle>
9 </refmeta>
10
11 <refnamediv>
12 <refname>gtf</refname>
13 <refpurpose>
14 Apply a gammatone filter to an audio signal.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Apply a gammatone filter of various orders to an audio signal.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>aout <command>gtf</command> ain, kfreq, idecay[, iorder, iphase]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>idecay</emphasis> -- rate of decay
34 </para>
35 <para>
36 <emphasis>iorder</emphasis> -- (optional) Order of filter in
37 rangs 1 to 10 defaulting to 4.
38 </para>
39 <para>
40 <emphasis>iphase</emphasis> -- (optional) Phase output,
41 defaulting to zero.
42 </para>
43 </refsect1>
44
45 <refsect1>
46 <title>Performance</title>
47 <para>
48 <emphasis>asig</emphasis> -- audio signal to be filtered.
49 </para>
50 <para>
51 <emphasis>kfreq</emphasis> -- central frequency of filter in Hertz.
52 </para>
53
54 <para>
55 The gammatone filter is commonly used in models of the auditory system.
56 The algorithm is based on Martin Cooke's Ph.D work (Cooke, 1993) using
57 the base-band impulse invariant transformation. See <ulink
58 url="http://staffwww.dcs.shef.ac.uk/people/N.Ma/resources/gammatone/">http://staffwww.dcs.shef.ac.uk/people/N.Ma/resources/gammatone/</ulink>
59 </para>
60
61 <!-- <para>Use for internal manual links: <link linkend="delayr"><citetitle>delayr</citetitle></link> and this for external hyperlinks: <ulink url="examples/gtf.csd"><citetitle>gtf.csd</citetitle></ulink> or for the internet: <ulink url="http://www.csounds.com"><citetitle>Csounds.com page</citetitle></ulink>. -->
62 <!-- </para> -->
63
64 <!-- <para> -->
65 <!-- You can also emphasize <emphasis>words</emphasis>. -->
66 <!-- </para> -->
67
68 <!-- <note> -->
69 <!-- <title>Title of the note (optional)</title> -->
70 <!-- <para> -->
71 <!-- An important note. You can also use "tip" or "warning" instead of note. -->
72 <!-- </para> -->
73 <!-- </note> -->
74
75 <!-- <para> -->
76 <!-- You can also do lists. -->
77 <!-- <itemizedlist> -->
78 <!-- <listitem><para>First item</para></listitem> -->
79 <!-- <listitem><para>Second item</para></listitem> -->
80 <!-- </itemizedlist> -->
81 <!-- </para> -->
82
83 <!-- <para> -->
84 <!-- You can also do numbered lists. -->
85 <!-- <orderedlist> -->
86 <!-- <listitem><para>First item</para></listitem> -->
87 <!-- <listitem><para>Second item</para></listitem> -->
88 <!-- </orderedlist> -->
89 <!-- </para> -->
90
91 <!-- <para> -->
92 <!-- Put inline program lines like this: -->
93 <!-- <programlisting>aout oscil 10000, 440, 1</programlisting> -->
94 <!-- And Csound output like this: -->
95 <!-- <literallayout>Output text</literallayout> -->
96 <!-- </para> -->
97
98 <!-- <para> -->
99 <!-- You can put images like this: -->
100 <!-- <mediaobject> -->
101 <!-- <imageobject> -->
102 <!-- <imagedata fileref="images/grain3_2.png" format="PNG"/> -->
103 <!-- </imageobject> -->
104
105 <!-- <textobject> -->
106 <!-- <phrase>[A diagram showing grains with a start time less than zero in red.]</phrase> -->
107 <!-- </textobject> -->
108
109 <!-- <caption> -->
110 <!-- <para>A diagram showing grains with a start time less than zero in red.</para> -->
111 <!-- </caption> -->
112 <!-- </mediaobject> -->
113 <!-- </para> -->
114
115 </refsect1>
116
117
118 <refsect1>
119 <title>Examples</title>
120 <para>
121 Here is an example of the gtf opcode. It uses the file <ulink url="examples/gtf.csd"><citetitle>gtf.csd</citetitle></ulink>.
122
123 <example>
124 <title>Example of the gtf opcode.</title>
125
126
127
128 <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>
129 <xi:include href="examples-xml/gtf.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
130 </example>
131 </para>
132 </refsect1>
133
134
135 <refsect1>
136 <!--To add examples, create the csd file in the examples directory, then run:-->
137 <!--python csd2docbook.py -f gtf.csd-->
138 <!--to generate the xml highlighted version used below-->
139 <!-- <title>Examples</title> -->
140 <!-- <para> -->
141 <!-- Here is an example of the delay opcode. It uses the file <ulink url="examples/gtf.csd"><citetitle>gtf.csd</citetitle></ulink>. -->
142 <!-- <example> -->
143 <!-- <title>Example of the gtf opcode.</title> -->
144 <!-- <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> -->
145 <!-- <xi:include href="examples-xml/gtf.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -->
146 <!-- </example> -->
147 <!-- </para> -->
148 <!-- </refsect1> -->
149
150 <!-- <refsect1> -->
151 <!-- <title>See Also</title> -->
152 <!-- <!-\- it's always good to include a good See Also list -\-> -->
153 <!-- <para> -->
154 <!-- <link linkend="deltap"><citetitle>deltap</citetitle></link> -->
155 <!-- </para> -->
156 </refsect1>
157
158 <refsect1>
159 <title>See also</title>
160 <para><link linkend="SigmodSpeciali"><citetitle>Specialized Filters: Other filters</citetitle></link></para>
161 </refsect1>
162
163 <refsect1>
164 <!-- And put your name and other relevant information here-->
165 <title>Credits</title>
166 <para>By: &namejohn; 2019</para>
167 </refsect1>
168
169 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
170 <!--Add the entity to manual.xml-->
171 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
172 <!--And you're set! Maybe delete the comments as well...-->
173
174 </refentry>