next up previous contents index
Next: 4.1 Inline components Up: INScore OSC Messages Reference Previous: 3. Time management messages   Contents   Index


4. The 'set' message

The set messages can be sent to any address with the form /ITL/scene/identifier. The global form of the message is:


\begin{rail}
setMsg : 'set' type data
\end{rail}

It sets a scene component data.

When there is no destination for the OSC address, the component is first created before being given the message.

When the target destination type doesn't correspond to the message type, the object is replaced by an adequate object.

EXAMPLE
Setting the content of a text object.

/ITL/scene/myObject set txt "Hello world!"
Creating a rectangle with a 0.5 width and a 1.5 height.
/ITL/scene/myObject set rect 0.5 1.5
Creating a music score using a Guido Music Notation language string.
/ITL/scene/myObject set gmn "[ a b g ]"
Creating a line specified using width and angle.
/ITL/scene/myObject set line wa 1. 45.



Subsections
next up previous contents index
Next: 4.1 Inline components Up: INScore OSC Messages Reference Previous: 3. Time management messages   Contents   Index

Grame - INScore project