| 1 |
|
| 2 |
<refentry id="lposcila"> |
| 3 |
<indexterm id="IndexLposcila"><primary>lposcila</primary></indexterm> |
| 4 |
<refentryinfo><title>Signal Generators:Sample Playback</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>lposcila</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>lposcila</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 |
<emphasis>lposcila</emphasis> reads sampled sound from a table with looping and high precision. |
| 20 |
</para> |
| 21 |
</refsect1> |
| 22 |
|
| 23 |
<refsect1> |
| 24 |
<title>Syntax</title> |
| 25 |
<synopsis>ar <command>lposcila</command> aamp, kfreqratio, kloop, kend, ift [,iphs] </synopsis> |
| 26 |
</refsect1> |
| 27 |
|
| 28 |
<refsect1> |
| 29 |
<title>Initialization</title> |
| 30 |
<para> |
| 31 |
<emphasis>ift</emphasis> -- function table number |
| 32 |
</para> |
| 33 |
<para> |
| 34 |
<emphasis>iphs</emphasis> -- initial phase (in samples) |
| 35 |
</para> |
| 36 |
</refsect1> |
| 37 |
|
| 38 |
<refsect1> |
| 39 |
<title>Performance</title> |
| 40 |
<para> |
| 41 |
<emphasis>ar</emphasis> -- output signal |
| 42 |
</para> |
| 43 |
<para> |
| 44 |
<emphasis>aamp</emphasis> -- amplitude |
| 45 |
</para> |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
<para> |
| 50 |
<emphasis>kfreqratio</emphasis> -- multiply factor of table frequency (for example: 1 = original frequency, 1.5 = a fifth up , .5 = an octave down) |
| 51 |
</para> |
| 52 |
<para> |
| 53 |
<emphasis>kloop</emphasis> -- start loop point (in samples) |
| 54 |
</para> |
| 55 |
<para> |
| 56 |
<emphasis>kend</emphasis> -- end loop point (in samples) |
| 57 |
</para> |
| 58 |
<para> |
| 59 |
<emphasis>lposcila</emphasis> is the same as <link linkend="lposcil"><citetitle>lposcil</citetitle></link>, but has an audio-rate amplitude argument (instead of k-rate) to allow fast envelope transients. |
| 60 |
</para> |
| 61 |
</refsect1> |
| 62 |
|
| 63 |
<refsect1> |
| 64 |
<title>Examples</title> |
| 65 |
<para> |
| 66 |
Here is an example of the lposcila opcode. It uses the file <ulink url="examples/lposcila.csd"><citetitle>lposcila.csd</citetitle></ulink>. |
| 67 |
<example> |
| 68 |
<title>Example of the lposcila opcode.</title> |
| 69 |
<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> |
| 70 |
<xi:include href="examples-xml/lposcila.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 71 |
</example> |
| 72 |
</para> |
| 73 |
</refsect1> |
| 74 |
|
| 75 |
<refsect1> |
| 76 |
<title>See also</title> |
| 77 |
<para><link linkend="SiggenSample"><citetitle>Sample Playback</citetitle></link></para> |
| 78 |
</refsect1> |
| 79 |
|
| 80 |
<refsect1> |
| 81 |
<title>Credits</title> |
| 82 |
<para>Author: &namegabriel;</para> |
| 83 |
<para>New in version 5.06</para> |
| 84 |
</refsect1> |
| 85 |
</refentry> |