Debian Codegraph @

opcodes/fink.xml

raw symbols SCIP
1
2 <refentry id="fink">
3 <indexterm id="IndexFink"><primary>fink</primary></indexterm>
4 <refentryinfo><title>Signal I/O:File I/O</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>fink</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>fink</refname>
11 <refpurpose>
12 Read signals from a file at k-rate.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Read signals from a file at k-rate.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis><command>fink</command> ifilename, iskipframes, iformat, kin1 [, kin2] [, kin3] [,...]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>ifilename</emphasis> -- input file name (can be a string or a handle number generated by <link linkend="fiopen"><citetitle>fiopen</citetitle></link>)
32 </para>
33
34 <para>
35 <emphasis>iskipframes</emphasis> -- number of frames to skip at the start (every frame contains a sample of each channel)
36 </para>
37
38 <para>
39 <emphasis>iformat</emphasis> -- a number specifying the input file format. If a header is found, this argument is ignored.
40 <itemizedlist>
41 <listitem>
42 <para>0 - 32 bit floating points without header</para>
43 </listitem>
44
45 <listitem>
46 <para>1 - 16 bit integers without header</para>
47 </listitem>
48 </itemizedlist>
49 </para>
50 </refsect1>
51
52 <refsect1>
53 <title>Performance</title>
54 <para>
55 <emphasis>fink</emphasis> is the same as <link linkend="fin"><citetitle>fin</citetitle></link> but operates at k-rate.
56 </para>
57 <note>
58 <para>Please note that since this opcode generates its output using input parameters (on the right side of the opcode), these variables must be initialized before use, otherwise a 'used before defined' error will occur. You can use the <link linkend="init"><citetitle>init</citetitle></link> opcode for this.</para>
59 </note>
60 </refsect1>
61
62 <refsect1>
63 <title>Examples</title>
64 <para>
65 Here is an example of the fink opcode. It uses the file <ulink url="examples/fink.csd"><citetitle>fink.csd</citetitle></ulink>.
66 <example>
67 <title>Example of the fink opcode.</title>
68 <para>See the sections <link
69 linkend="UsingRealTime"><citetitle>Real-time
70 Audio</citetitle></link> and <link
71 linkend="CommandFlags"><citetitle>Command Line
72 Flags</citetitle></link> for more information on using command
73 line flags.</para>
74 <para> Note that this example requires the file test.txt to be
75 created, for example by <emphasis>fouti</emphasis></para>
76 <xi:include href="examples-xml/fink.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
77 </example>
78 </para>
79 </refsect1>
80
81 <refsect1>
82 <title>See also</title>
83 <para><link linkend="SigioFileIO"><citetitle>File Input and Output</citetitle></link></para>
84 </refsect1>
85
86 <refsect1>
87 <title>Credits</title>
88 <para>
89 <simplelist>
90 <member>Author: &namegabriel;</member>
91 <member>Italy</member>
92 <member>1999</member>
93 </simplelist>
94 </para>
95
96 <para>New in Csound version 3.56</para>
97 </refsect1>
98 </refentry>