Debian Codegraph @

utility/envext.xml

raw symbols SCIP
1
2 <refentry id="envext">
3 <refentryinfo><title>Utilities</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>envext</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>envext</refname>
10 <refpurpose>
11 Extracts the envelope of a file to a text file.
12 <indexterm id="IndexEnvext"><primary>envext</primary></indexterm>
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Syntax</title>
18 <synopsis><command>envext</command> [-flags] soundfile</synopsis>
19 <synopsis>csound -U <command>envext</command> [-flags] soundfile</synopsis>
20 </refsect1>
21
22 <refsect1>
23 <title>Initialization</title>
24 <para>
25 <emphasis>soundfile</emphasis> - Name of the input soundfile.
26 </para>
27 <para>
28 The following flags are available for envext (The default values are
29 stated in parenthesis):
30 <simplelist type='horiz'>
31 <member><emphasis>-o fnam</emphasis> Name of output filename (newenv)</member>
32 <member><emphasis>-w</emphasis> size (in seconds) of analysis window (0.25)</member>
33 </simplelist>
34 </para>
35 <para>
36 The <emphasis>envext</emphasis> utility generates a text file containing time and amplitude pairs by finding the absolute peak within each window.
37 </para>
38 </refsect1>
39
40 <refsect1>
41 <title>Examples</title>
42 <para>
43 Here is an example of the envext utility. It uses the file <ulink url="examples/envext.csd"><citetitle>envext.csd</citetitle></ulink>.
44 <example>
45 <title>Example of the envext utility.</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/envext.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
48 </example>
49 </para>
50 <para>
51 This example will produce a text file containing the following:
52 <literallayout>
53 0.000 0.000
54 0.039 0.426
55 0.053 0.606
56 0.108 0.494
57 0.163 0.333
58 0.208 0.301
59 0.297 0.587
60 0.309 0.622
61 0.399 0.624
62 0.414 0.676
63 .........
64 .........
65 15.411 0.293
66 15.452 0.123
67 15.502 0.014
68 15.551 0.000
69 </literallayout>
70 Which shows the time for the peak amplitude within each measured window.
71 </para>
72 </refsect1>
73
74 <refsect1>
75 <title>Credits</title>
76 <para>Author: &namejohn;</para>
77 <para>1995</para>
78 </refsect1>
79
80 </refentry>