Debian Codegraph @

opcodes/waveset.xml

raw symbols SCIP
1
2 <refentry id="waveset">
3 <indexterm id="IndexWaveset"><primary>waveset</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Sample Playback</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>waveset</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>waveset</refname>
11 <refpurpose>
12 A simple time stretch by repeating cycles.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18
19 <para>
20 A simple time stretch by repeating cycles.
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis>ares <command>waveset</command> ain, krep [, ilen]</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 <emphasis>ilen</emphasis> (optional, default=0) -- the length (in samples) of the audio signal. If <emphasis>ilen</emphasis> is set to 0, it defaults to half the given note length (p3).
33 </para>
34 </refsect1>
35
36 <refsect1>
37 <title>Performance</title>
38 <para>
39 <emphasis>ain</emphasis> -- the input audio signal.
40 </para>
41
42 <para>
43 <emphasis>krep</emphasis> -- the number of times the cycle is repeated.
44 </para>
45
46 <para>
47 The input is read and each complete cycle (two zero-crossings) is repeated <emphasis>krep</emphasis> times.
48 </para>
49
50 <para>
51 There is an internal buffer as the output is clearly slower that the input. Some care is taken if the buffer is too short, but there may be strange effects.
52 </para>
53 </refsect1>
54
55 <refsect1>
56 <title>Examples</title>
57 <para>
58 Here is an example of the waveset opcode. It uses the file <ulink url="examples/waveset.csd"><citetitle>waveset.csd</citetitle></ulink>.
59 <example>
60 <title>Example of the waveset opcode.</title>
61 <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>
62 <xi:include href="examples-xml/waveset.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
63 </example>
64 </para>
65 </refsect1>
66
67 <refsect1>
68 <title>See also</title>
69 <para><link linkend="SiggenSample"><citetitle>Sample Playback</citetitle></link></para>
70 </refsect1>
71
72 <refsect1>
73 <title>Credits</title>
74 <para>
75 <simplelist>
76 <member>Author: &namejohn;</member>
77 <member>February 2001</member>
78 </simplelist>
79 </para>
80 <para>New in version 4.11</para>
81 </refsect1>
82 </refentry>