Debian Codegraph @

opcodes/ftlptim.xml

raw symbols SCIP
1
2 <refentry id="ftlptim">
3 <indexterm id="IndexFtlptim"><primary>ftlptim</primary></indexterm>
4 <refentryinfo><title>Table Control:Table Queries</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>ftlptim</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>ftlptim</refname>
11 <refpurpose>
12 Returns the loop segment start-time of a stored function table number.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Returns the loop segment start-time of a stored function table number.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis><command>ftlptim</command>(x) (init-rate args only)</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Performance</title>
30 <para>
31 Returns the loop segment start-time (in seconds) of stored function table number <emphasis>x</emphasis>. This reports the duration of the direct recorded attack and decay parts of a sound sample, prior to its looped segment. Returns zero (and a warning message) if the sample does not contain loop points.
32 </para>
33 </refsect1>
34
35 <refsect1>
36 <title>Examples</title>
37 <para>
38 Here is an example of the ftlptim opcode. It uses the files <ulink url="examples/ftlptim.csd"><citetitle>ftlptim.csd</citetitle></ulink>, and <ulink url="examples/Church.wav"><citetitle>Church.wav</citetitle></ulink>.
39
40 <example>
41 <title>Example of the ftlptim opcode.</title>
42 <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>
43 <xi:include href="examples-xml/ftlptim.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
44 </example>
45
46 The audio file <quote>Church.wav</quote> is a looped sample, its output should include lines like these:
47 <screen>
48 Base Note : 60 Detune : 0
49 Low Note : 0 High Note : 127
50 Low Vel. : 0 High Vel. : 127
51 Gain : 1 Count : 1
52 mode : 801
53 start : 4529 end : 4912 count :0
54 mode : 0
55 start : 0 end : 0 count :0
56 </screen>
57 </para>
58 </refsect1>
59
60 <refsect1>
61 <title>See also</title>
62 <para><link linkend="TableQueries"><citetitle>Table Control:Table Queries</citetitle></link></para>
63 </refsect1>
64
65 <refsect1>
66 <title>Credits</title>
67 <para>
68 <simplelist>
69 <member>Author: &namebarry;</member>
70 <member>MIT</member>
71 <member>Cambridge, Massachussetts</member>
72 <member>1997</member>
73 </simplelist>
74 </para>
75 </refsect1>
76 </refentry>