Debian Codegraph @

opcodes/oscilikts.xml

raw symbols SCIP
1
2 <refentry id="oscilikts">
3 <indexterm id="IndexOscilikts"><primary>oscilikts</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Basic Oscillators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>oscilikts</refentrytitle>
7 </refmeta>
8 <refnamediv>
9 <refname>oscilikts</refname>
10 <refpurpose>
11 A linearly interpolated oscillator with sync status that allows changing the table number at k-rate.
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>
18 <emphasis>oscilikts</emphasis> is the same as <link linkend="oscilikt"><citetitle>oscilikt</citetitle></link>. Except it has a sync input that can be used to re-initialize the oscillator to a k-rate phase value. It is slower than <link linkend="oscilikt"><citetitle>oscilikt</citetitle></link> and <link linkend="osciliktp"><citetitle>osciliktp</citetitle></link>.
19 </para>
20 </refsect1>
21
22 <refsect1>
23 <title>Syntax</title>
24 <synopsis>ares <command>oscilikts</command> xamp, xcps, kfn, async, kphs [, istor]</synopsis>
25 </refsect1>
26
27 <refsect1>
28 <title>Initialization</title>
29 <para>
30 <emphasis>istor</emphasis> (optional, defaults to 0) -- skip initialization.
31 </para>
32 </refsect1>
33
34 <refsect1>
35 <title>Performance</title>
36 <para>
37 <emphasis>xamp</emphasis> -- amplitude.
38 </para>
39
40 <para>
41 <emphasis>xcps</emphasis> -- frequency in Hz. Zero and negative values are allowed. However, the absolute value must be less than <link linkend="sr"><citetitle>sr</citetitle></link> (and recommended to be less than <emphasis>sr/</emphasis>2).
42 </para>
43
44 <para>
45 <emphasis>kfn</emphasis> -- function table number. Can be varied at control rate (useful to <quote>morph</quote> waveforms, or select from a set of band-limited tables generated by <link linkend="GEN30"><citetitle>GEN30</citetitle></link>).
46 </para>
47
48 <para>
49 <emphasis>async</emphasis> -- any positive value resets the phase of <emphasis>oscilikts</emphasis> to <emphasis>kphs</emphasis>. Zero or negative values have no effect.
50 </para>
51
52 <para>
53 <emphasis>kphs</emphasis> -- sets the phase, initially and when it is re-initialized with async.
54 </para>
55 </refsect1>
56
57 <refsect1>
58 <title>Examples</title>
59 <para>
60 Here is an example of the oscilikts opcode. It uses the file <ulink url="examples/oscilikts.csd"><citetitle>oscilikts.csd</citetitle></ulink>.
61
62 <example>
63 <title>Example of the oscilikts opcode.</title>
64 <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>
65 <xi:include href="examples-xml/oscilikts.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
66 </example>
67 </para>
68 </refsect1>
69
70 <refsect1>
71 <title>See also</title>
72 <para><link linkend="SiggenBasic"><citetitle>Basic Oscillators</citetitle></link></para>
73 </refsect1>
74
75 <refsect1>
76 <title>Credits</title>
77 <para>Author: &nameistvan;</para>
78 <para>New in version 4.22</para>
79 </refsect1>
80 </refentry>