Debian Codegraph @

opcodes/soundouts.xml

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