Debian Codegraph @

opcodes/ftcps.xml

raw symbols SCIP
1
2 <refentry id="ftcps">
3 <indexterm id="IndexFtcps"><primary>ftcps</primary></indexterm>
4 <refentryinfo><title>Table Control:Table Queries</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>ftcps</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>ftcps</refname>
13 <refpurpose>
14 Returns the base frequency of a stored function table in Hz.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Returns the base frequency of a stored function table in Hz..
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis><command>ftcps</command>(x) (init-rate args only)</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Performance</title>
32 <para>
33 Returns the base frequency of stored function table, number <emphasis>x</emphasis>. <emphasis>ftcps</emphasis> is designed for tables storing audio waveforms read from files (see <link linkend="GEN01"><citetitle>GEN01</citetitle></link>).
34 </para>
35 <para>
36 <emphasis>ftcps</emphasis> returns -1 in case of an error (no base frequency set in table or non-existent table).
37 </para>
38 </refsect1>
39
40 <refsect1>
41 <title>Examples</title>
42 <para>
43 Here is an example of the ftcps opcode.
44 <example>
45 <title>Example of the ftcps opcode.</title>
46 <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>
47 <xi:include href="examples-xml/ftcps.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
48 </example>
49 </para>
50 </refsect1>
51
52 <refsect1>
53 <title>See also</title>
54 <para><link linkend="TableQueries"><citetitle>Table Control:Table Queries</citetitle></link></para>
55 </refsect1>
56
57 <refsect1>
58 <title>Credits</title>
59 <para>
60 <simplelist>
61 <member>Author: Victor Lazzarini</member>
62 <member>2010</member>
63 </simplelist>
64 </para>
65 <para>Example written by Victor Lazzarini</para>
66 </refsect1>
67 </refentry>