cec_graph name unit relation min max init f# ?gen_size?
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)
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.
cec_graph gain db line -24 24 6 14 8192produces 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.