next up previous contents index
Next: 12. FAUST plugins Up: 11.2 Graphic signals. Previous: 11.2.1 Graphic signal default   Contents   Index


11.2.2 Parallel graphic signals.

When the dimension d of a signal connected to a graphic signal is greater than 6, then the input signal is interpreted like parallel graphic signals. More generally, the dimension n of a graphic signal is:

\begin{displaymath}
n  \vert n \in \mathbb{N} \land 6.(n-1) < d \leqslant 6.n
\end{displaymath}

where d is the dimension of the input signal.

When d is not a mutiple of 6, then the last graphic signal makes use of the default values mentionned above.

EXAMPLE
Creating parallel graphic signals:

/ITL/scene/signal/y1 size 200
/ITL/scene/signal/y2 size 200
! use of constant anonymous signals for thickness and color
/ITL/scene/signal/sig1 set y1 0.1 0. 1. 1. 1.
! use a different color for 'sig2'
/ITL/scene/signal/sig2 set y2 0.1 0.6 1. 1. 1.
! put 'sig1' and 'sig2' in parallel
/ITL/scene/signal/sig set sig1 sig2 ! 'sig' dimension is 12
/ITL/scene/siggraph set graph sig


NOTE
Using data projection may be convenient when the input signal represents interleaved data. For example, the projection string [n˜6] distribute data over similar components of a set of graphic signals, where n represents the index of the graphic signal target component.


next up previous contents index
Next: 12. FAUST plugins Up: 11.2 Graphic signals. Previous: 11.2.1 Graphic signal default   Contents   Index

Grame - INScore project