display
Displays the audio or control signals as an amplitude vs. time graph.
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 -g flag is set) displays are approximated in ASCII characters.
Syntax
Initialization
iprd -- the period of display in seconds.
inprds (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). inprds is a scaling factor for the displayed waveform, controlling how many iprd-sized frames of samples are drawn in the window (the default and minimum value is 1.0). Higher inprds values are slower to draw (more points to draw) but will show the waveform scrolling through the window, which is useful with low iprd values.
iwtflg (optional, default=0) -- wait flag. If non-zero, each display is held until released by the user. The default value is 0 (no wait).
Performance
display -- displays the audio or control signal xsig every iprd seconds, as an amplitude vs. time graph.
Examples
Here is an example of the display opcode. It uses the file display.csd.
See also
Credits
Comments about the inprds parameter contributed by Rasmus Ekman.