Debian Codegraph @

opcodes/display.xml

raw symbols SCIP
1
2 <refentry id="display">
3 <indexterm id="IndexDisplay"><primary>display</primary></indexterm>
4 <refentryinfo><title>Signal I/O:Printing and Display</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>display</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>display</refname>
11 <refpurpose>
12 Displays the audio or control signals as an amplitude vs. time graph.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 These units will print orchestra init-values, or produce graphic display of orchestra control signals and audio signals. Uses X11 windows if enabled, else (or if <link linkend="FlagsMinusLowerG"><citetitle>-g</citetitle></link> flag is set) displays are approximated in ASCII characters.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis><command>display</command> xsig, iprd [, inprds] [, iwtflg]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>iprd</emphasis> -- the period of display in seconds.
32 </para>
33
34 <para>
35 <emphasis>inprds</emphasis> (optional, default=1) -- Number of display periods retained in each display graph. A value of 2 or more will provide a larger perspective of the signal motion. The default value is 1 (each graph completely new).
36 <emphasis>inprds</emphasis> is a scaling factor for the displayed waveform, controlling how many <emphasis>iprd</emphasis>-sized frames of samples are drawn in the window (the default and minimum value is 1.0). Higher <emphasis>inprds</emphasis> values are slower to draw (more points to draw) but will show the waveform scrolling through the window, which is useful with low <emphasis>iprd</emphasis> values.
37 </para>
38
39 <para>
40 <emphasis>iwtflg</emphasis> (optional, default=0) -- wait flag. If non-zero, each display is held until released by the user. The default value is 0 (no wait).
41 </para>
42 </refsect1>
43
44 <refsect1>
45 <title>Performance</title>
46 <para>
47 <emphasis>display</emphasis> -- displays the audio or control signal <emphasis>xsig</emphasis> every <emphasis>iprd</emphasis> seconds, as an amplitude vs. time graph.
48 </para>
49 </refsect1>
50
51 <refsect1>
52 <title>Examples</title>
53 <para>
54 Here is an example of the display opcode. It uses the file <ulink url="examples/display.csd"><citetitle>display.csd</citetitle></ulink>.
55
56 <example>
57 <title>Example of the display opcode.</title>
58 <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>
59 <xi:include href="examples-xml/display.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
60 </example>
61 </para>
62 </refsect1>
63
64 <refsect1>
65 <title>See also</title>
66 <para><link linkend="SigioPdisplay"><citetitle>Printing and Display</citetitle></link></para>
67 </refsect1>
68
69 <refsect1>
70 <title>Credits</title>
71 <para>Comments about the <emphasis>inprds</emphasis> parameter contributed by &namerasmus;.</para>
72 </refsect1>
73 </refentry>