Debian Codegraph @

opcodes/rspline.xml

raw symbols SCIP
1
2 <refentry id="rspline">
3 <indexterm id="IndexRspline"><primary>rspline</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>rspline</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>rspline</refname>
11 <refpurpose>
12 Generate random spline curves.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Generate random spline curves.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>rspline</command> xrangeMin, xrangeMax, kcpsMin, kcpsMax</synopsis>
26
27 <synopsis>kres <command>rspline</command> krangeMin, krangeMax, kcpsMin, kcpsMax</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Performance</title>
32 <para>
33 <emphasis>kres, ares</emphasis> -- Output signal
34 </para>
35
36 <para>
37 <emphasis>xrangeMin, xrangeMax</emphasis> -- Range of values of random-generated points
38 </para>
39
40 <para>
41 <emphasis>kcpsMin, kcpsMax</emphasis> -- Range of point-generation rate. Min and max limits are expressed in cps.
42 </para>
43 <!--
44 <para>
45 <emphasis>xamp</emphasis> - Amplitude factor
46 </para>-->
47
48 <para>
49 <emphasis>rspline</emphasis> (random-spline-curve generator) is similar to <link linkend="jspline"><citetitle>jspline</citetitle></link> but output range is defined by means of two limit values. Also in this case, real output range could be a bit greater of range values, because of interpolating curves beetween each pair of random-points.
50 </para>
51
52 <para>
53 At present time generated curves are quite smooth when <emphasis>cpsMin</emphasis> is not too different from <emphasis>cpsMax</emphasis>. When <emphasis>cpsMin-cpsMax</emphasis> interval is big, some little discontinuity could occurr, but it should not be a problem, in most cases. Maybe the algorithm will be improved in next versions.
54 </para>
55
56 <para>
57 These opcodes are often better than <link linkend="jitter"><citetitle>jitter</citetitle></link> when user wants to <quote>naturalize</quote> or <quote>analogize</quote> digital sounds. They could be used also in algorithmic composition, to generate smooth random melodic lines when used together with <link linkend="samphold"><citetitle>samphold</citetitle></link> opcode.
58 </para>
59
60 <para>
61 Note that the result is quite different from the one obtained by filtering white noise, and they allow the user to obtain a much more precise control.
62 </para>
63 </refsect1>
64
65 <refsect1>
66 <title>Examples</title>
67 <para>
68 Here is an example of the rspline opcode. It uses the file <ulink url="examples/rspline.csd"><citetitle>rspline.csd</citetitle></ulink>.
69 <example>
70 <title>Example of the rspline opcode.</title>
71 <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>
72 <xi:include href="examples-xml/rspline.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
73 </example>
74 </para>
75 </refsect1>
76
77 <refsect1>
78 <title>See also</title>
79 <para><link linkend="SiggenLineexp"><citetitle>Linear and Exponential Generators</citetitle></link></para>
80 </refsect1>
81
82 <refsect1>
83 <title>Credits</title>
84 <para>Author: &namegabriel;</para>
85 <para>New in version 4.15</para>
86 </refsect1>
87 </refentry>