HELP INDEX


NAME


cec_graph - Creation of a breakpoint graph drawing interface.

SYNOPSIS

cec_graph name unit relation min max init f# ?gen_size?

STANDARDS OPTIONS

unit         - unit of measurement for the user
relation     - line (linear)  or log (logarithmic) 
min & max    - real numbers
init         - a real number between min and max
f#           - a unique  integer specifying the function number
?gen_size?   - a power of 2 (optional)

DESCRIPTION


The cec_graph command creates interface objects used to manipulate time-variant functions in the x-y plane. The function will span from min to max in the y dimension according to the relationship defined while time is always represented in the x plane.

When compiled, graph values are converted to function tables in the score using the gen05 method for logarithmic representations and the gen07 for linear representation. gen function If the gen_size is specified the size of the table will be set to that value. If not, the default "genSize" preference in the Main window will be used.

EXAMPLE


The definition:
     cec_graph gain db line -24 24 6 14 8192
produces a graph titled gain. Its y-axis, representing decibels is initialised at +6, and its value can vary linearly from -24 to +24. At compilation the following finction will be generated in the score:
     f14 0 8192 -7 ...
and will be useable in the orchestra for any appropriate purpose.


Copyright © 1996