Debian Codegraph @

opcodes/jitter2.xml

raw symbols SCIP
1
2 <refentry id="jitter2">
3 <indexterm id="IndexJitter2"><primary>jitter2</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>jitter2</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>jitter2</refname>
13 <refpurpose>
14 Generates a segmented line with user-controllable random segments.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Generates a segmented line with user-controllable random segments.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>kout <command>jitter2</command> ktotamp, kamp1, kcps1,
28 kamp2, kcps2, kamp3, kcps3[ , iopt]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialisation</title>
33 <para>
34 <emphasis>iopt</emphasis> -- Optional, controls time of onset of
35 effects. If zero (default) the output is zero until the end of
36 the shortest kcps value. If not zero the effect starts
37 immediately</para>
38 </refsect1>
39
40 <refsect1>
41 <title>Performance</title>
42 <para>
43 <emphasis>ktotamp</emphasis> -- Resulting amplitude of jitter2
44 </para>
45
46 <para>
47 <emphasis>kamp1</emphasis> -- Amplitude of the first jitter component
48 </para>
49
50 <para>
51 <emphasis>kcps1</emphasis> -- Speed of random variation of the
52 first jitter component (expressed in cps)
53 </para>
54
55 <para>
56 <emphasis>kamp2</emphasis> -- Amplitude of the second jitter component
57 </para>
58
59 <para>
60 <emphasis>kcps2</emphasis> -- Speed of random variation of the
61 second jitter component (expressed in cps)
62 </para>
63
64 <para>
65 <emphasis>kamp3</emphasis> -- Amplitude of the third jitter component
66 </para>
67
68 <para>
69 <emphasis>kcps3</emphasis> -- Speed of random variation of the
70 third jitter component (expressed in cps)
71 </para>
72
73 <para>
74 <emphasis>jitter2</emphasis> also generates a segmented line
75 such as <link
76 linkend="jitter"><citetitle>jitter</citetitle></link>, but in
77 this case the result is similar to the sum of three
78 <emphasis>randi</emphasis> opcodes, each one with a different
79 amplitude and frequency value (see <link
80 linkend="randi"><citetitle>randi</citetitle></link> for more
81 details), that can be varied at k-rate. Different effects can be
82 obtained by varying the input arguments.
83 </para>
84
85 <para>
86 <emphasis>jitter2</emphasis> can be used to make more natural
87 and <quote>analog-sounding</quote> some static, dull sound. For
88 best results, it is suggested to keep its amplitude moderate.
89 </para>
90 </refsect1>
91
92 <refsect1>
93 <title>Examples</title>
94 <para>
95 Here is an example of the jitter2 opcode. It uses the file
96 <ulink
97 url="examples/jitter2.csd"><citetitle>jitter2.csd</citetitle></ulink>.
98
99 <example>
100 <title>Example of the jitter2 opcode.</title>
101
102 <para>See the sections <link
103 linkend="UsingRealTime"><citetitle>Real-time
104 Audio</citetitle></link> and <link
105 linkend="CommandFlags"><citetitle>Command Line
106 Flags</citetitle></link> for more information on using command
107 line flags.</para>
108 <xi:include href="examples-xml/jitter2.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
109 </example>
110 </para>
111 </refsect1>
112
113 <refsect1>
114 <title>See also</title>
115 <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link>
116 </para>
117 </refsect1>
118
119 <refsect1>
120 <title>Credits</title>
121 <para>Author: &namegabriel;, &namejohn;</para>
122 <para>New in Version 4.15</para>
123 <para>iopt new in version 6.08</para>
124 </refsect1>
125 </refentry>