Debian Codegraph @

opcodes/osciln.xml

raw symbols SCIP
1
2 <refentry id="osciln">
3 <indexterm id="IndexOsciln"><primary>osciln</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Basic Oscillators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>osciln</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>osciln</refname>
11 <refpurpose>
12 Accesses table values at a user-defined frequency.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Accesses table values at a user-defined frequency. This opcode can also be written as <link linkend="oscilx"><citetitle>oscilx</citetitle></link>.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>osciln</command> kamp, ifrq, ifn, itimes</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>ifrq, itimes</emphasis> -- rate and number of times through the stored table.
32 </para>
33
34 <para>
35 <emphasis>ifn</emphasis> -- function table number.
36 </para>
37 </refsect1>
38
39 <refsect1>
40 <title>Performance</title>
41 <para>
42 <emphasis>kamp</emphasis> -- amplitude factor
43 </para>
44
45 <para>
46 <emphasis>osciln</emphasis> will sample several times through the stored table at a rate of <emphasis>ifrq</emphasis> times per second, after which it will output zeros. Generates audio signals only, with output values scaled by <emphasis>kamp.</emphasis>
47 </para>
48 </refsect1>
49
50 <refsect1>
51 <title>Examples</title>
52 <para>
53 Here is an example of the osciln opcode. It uses the file <ulink url="examples/osciln.csd"><citetitle>osciln.csd</citetitle></ulink>.
54 <example>
55 <title>Example of the osciln opcode.</title>
56 <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>
57 <xi:include href="examples-xml/osciln.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
58 </example>
59 </para>
60 </refsect1>
61
62 <refsect1>
63 <title>See Also</title>
64 <para><link linkend="SiggenTableacc"><citetitle>Table Access</citetitle></link></para>
65 </refsect1>
66
67 </refentry>