The nodes in the device are simply called code in the API. Nodes are identified with the OSC parameter syntax: '/foo/bar'
.
Nodes per se don't carry any value; they have to be extended with parameters to be able to send and receive messages.
Instantiates a new node in the Ossia application.
parent |
required - an |
name |
required - the node's identifier on the network |
an OSSIA_Node
gets the node's identifier on the network.
an array with children parameters' name as symbols and their values, convenient for Synth
creation.
An optional textual description.
An optional array of tags for nodes.
aSymbolList |
e.g. : |
This attribute will disable a node: it will stop sending messages to the network.
This attribute will re-enable a disabled node
true
if node is disabled, false
otherwise.
This attribute will disable a node: it will stop sending messages to the network. Unlike the "enabled/disabled" attribute, it won't propagate to other computers.
This attribute is to use for nodes that are not to be exposed to the network.
applies a saved node preset to the receiver. If path is empty, a dialog will open.
path |
the path to the .json preset file. |
saves the state of the receiver as a .json file. If path is empty, a dialog will open.
path |
the path to the .json preset file. |
gets the node full path on the network.
aString containing the node's osc path.
a stringlist of the node's direct children nodes.
This is a read-only attribute: it informs of whether a node is in a zombie state. A zombie node is an node in a remote device, whose source has been removed. It is kept in the mirrors but marked as such.
true
if node is in a zombie state, false
otherwise.