Debian Codegraph @

opcodes/soundout.xml

raw symbols SCIP
1
2 <refentry id="soundout">
3 <indexterm id="IndexSoundout"><primary>soundout</primary></indexterm>
4 <refentryinfo><title>Signal I/O:Signal Output</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>soundout</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>soundout</refname>
11 <refpurpose>
12 Deprecated. Writes audio output to a disk file.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <note>
19 <para>The usage of <emphasis>soundout</emphasis> is discouraged. Please use <link linkend="fout"><citetitle>fout</citetitle></link> instead.</para>
20 </note>
21 <para>
22 Writes audio output to a disk file.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis><command>soundout</command> asig1, ifilcod [, iformat]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>ifilcod</emphasis> -- integer or character-string denoting the destination soundfile name. An integer denotes the file soundin.filcod; a character-string (in double quotes, spaces permitted) gives the filename itself, optionally a full pathname. If not a full path, the named file is sought first in the current directory, then in that given by the environment variable <link linkend="CommandEnvironment"><citetitle>SSDIR</citetitle></link> (if defined) then by <link linkend="CommandEnvironment"><citetitle>SFDIR</citetitle></link>. See also <link linkend="GEN01"><citetitle>GEN01</citetitle></link>.
35 </para>
36
37 <para>
38 <emphasis>iformat</emphasis> (optional, default=0) -- specifies the audio data file format:
39 <itemizedlist>
40 <listitem>
41 <para>1 = 8-bit signed char (high-order 8 bits of a 16-bit integer)</para>
42 </listitem>
43
44 <listitem>
45 <para>2 = 8-bit A-law bytes</para>
46 </listitem>
47
48 <listitem>
49 <para>3 = 8-bit U-law bytes</para>
50 </listitem>
51
52 <listitem>
53 <para>4 = 16-bit short integers</para>
54 </listitem>
55
56 <listitem>
57 <para>5 = 32-bit long integers</para>
58 </listitem>
59
60 <listitem>
61 <para>6 = 32-bit floats</para>
62 </listitem>
63 </itemizedlist>
64 </para>
65
66 <para>
67 If <emphasis>iformat</emphasis> = 0 it is taken from the soundfile header, and if no header from the Csound <link linkend="FlagsMinusLowerO"><citetitle>-o</citetitle></link> command-line flag. The default value is 0.
68 </para>
69 </refsect1>
70
71 <refsect1>
72 <title>Performance</title>
73 <para>
74 <emphasis>soundout</emphasis> writes audio output to a disk file.
75 </para>
76 <note>
77 <para>Use of <link linkend="fout"><citetitle>fout</citetitle></link> is recommended instead of <emphasis>soundout</emphasis></para>
78 </note>
79 </refsect1>
80
81 <refsect1>
82 <title>See also</title>
83 <para><link linkend="SigioOutput"><citetitle>Signal Output</citetitle></link></para>
84 </refsect1>
85
86 <refsect1>
87 <title>Credits</title>
88 <para>
89 <simplelist>
90 <member>Author: &namebarry;, &namematt;/&namemike;</member>
91 <member>MIT, Mills College</member>
92 <member>1993-1997</member>
93 </simplelist>
94 </para>
95 </refsect1>
96 </refentry>