Debian Codegraph @

opcodes/comb.xml

raw symbols SCIP
1
2 <refentry id="comb">
3 <indexterm id="IndexComb"><primary>comb</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Reverberation</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>comb</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>comb</refname>
13 <refpurpose>
14 Reverberates an input signal with a <quote>colored</quote> frequency response.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Reverberates an input signal with a <quote>colored</quote> frequency response.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>comb</command> asig, krvt, ilpt [, iskip] [, insmps]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>ilpt</emphasis> -- loop time in seconds, which
34 determines the <quote>echo density</quote> of the
35 reverberation. This in turn characterizes the
36 <quote>color</quote> of the <emphasis>comb</emphasis> filter
37 whose frequency response curve will contain
38 <emphasis>ilpt</emphasis> * <emphasis>sr</emphasis>/2 peaks
39 spaced evenly between 0 and <emphasis>sr</emphasis>/2 (the
40 Nyquist frequency). Loop time can be as large as available
41 memory will permit. The space required for an
42 <emphasis>n</emphasis> second loop is
43 <emphasis>n</emphasis>*<emphasis>sr</emphasis> floating or
44 double numbers (usually 4 or 8 bytes). Delay space is allocated
45 and returned as in <link
46 linkend="delay"><citetitle>delay</citetitle></link>.
47 </para>
48
49 <para>
50 <emphasis>iskip</emphasis> (optional, default=0) -- initial disposition of delay-loop data space (cf. <link linkend="reson"><citetitle>reson</citetitle></link>). The default value is 0.
51 </para>
52
53 <para>
54 <emphasis>insmps</emphasis> (optional, default=0) -- delay amount, as a number of samples.
55 </para>
56 </refsect1>
57
58 <refsect1>
59 <title>Performance</title>
60 <para>
61 <emphasis>krvt</emphasis> -- the reverberation time (defined as the time in seconds for a signal to decay to 1/1000, or 60dB down from its original amplitude).
62 </para>
63
64 <para>
65 This filter reiterates input with an echo density determined by loop time <emphasis>ilpt</emphasis>. The attenuation rate is independent and is determined by <emphasis>krvt</emphasis>, the reverberation time (defined as the time in seconds for a signal to decay to 1/1000, or 60dB down from its original amplitude). Output from a comb filter will appear only after <emphasis>ilpt</emphasis> seconds.
66 </para>
67 </refsect1>
68
69 <refsect1>
70 <title>Examples</title>
71 <para>
72 Here is an example of the comb opcode. It uses the file <ulink url="examples/comb.csd"><citetitle>comb.csd</citetitle></ulink>.
73
74 <example>
75 <title>Example of the comb opcode.</title>
76
77
78
79 <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>
80 <xi:include href="examples-xml/comb.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
81 </example>
82 </para>
83 </refsect1>
84
85 <refsect1>
86 <title>See also</title>
87 <para><link linkend="SigmodReverbtn"><citetitle>Reverberation</citetitle></link></para>
88 </refsect1>
89
90 <refsect1>
91 <title>Credits</title>
92 <para>
93 <simplelist>
94 <member>&namebarry;</member>
95 </simplelist>
96 </para>
97 </refsect1>
98 </refentry>