Debian Codegraph @

opcodes/lposcil.xml

raw symbols SCIP
1
2 <refentry id="lposcil">
3 <indexterm id="Indexlposcil"><primary>lposcil</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Sample Playback</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>lposcil</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>lposcil</refname>
11 <refpurpose>
12 Read sampled sound from a table with looping and high precision.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Read sampled sound (mono or stereo) from a table, with looping, and high precision.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>lposcil</command> kamp, kfreqratio, kloop, kend, ifn [, iphs]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>ifn</emphasis> -- function table number
32 </para>
33 </refsect1>
34
35 <refsect1>
36 <title>Performance</title>
37 <para>
38 <emphasis>kamp</emphasis> -- amplitude
39 </para>
40
41 <para>
42 <emphasis>kfreqratio</emphasis> -- multiply factor of table frequency (for example: 1 = original frequency, 1.5 = a fifth up , .5 = an octave down)
43 </para>
44
45 <para>
46 <emphasis>kloop</emphasis> -- start loop point (in samples)
47 </para>
48
49 <para>
50 <emphasis>kend</emphasis> -- end loop point (in samples)
51 </para>
52
53 <para>
54 <emphasis>lposcil</emphasis> (looping precise oscillator) allows varying at k-rate, the starting and ending point of a sample contained in a table (<link linkend="GEN01"><citetitle>GEN01</citetitle></link>). This can be useful when reading a sampled loop of a wavetable, where repeat speed can be varied during the performance.
55 </para>
56 </refsect1>
57
58 <refsect1>
59 <title>Examples</title>
60 <para>
61 Here is an example of the lposcil opcode. It uses the file <ulink url="examples/lposcil.csd"><citetitle>lposcil.csd</citetitle></ulink>.
62
63 <example>
64 <title>Example of the lposcil opcode.</title>
65 <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>
66 <xi:include href="examples-xml/lposcil.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
67 </example>
68 </para>
69 </refsect1>
70
71 <refsect1>
72 <title>See also</title>
73 <para><link linkend="SiggenSample"><citetitle>Sample Playback</citetitle></link></para>
74 </refsect1>
75
76 <refsect1>
77 <title>Credits</title>
78 <para>
79 <simplelist>
80 <member>Author: &namegabriel;</member>
81 <member>Italy</member>
82 </simplelist>
83 </para>
84
85 <para>New in Csound version 3.52</para>
86 </refsect1>
87 </refentry>