Network OSC Send

Send an OSC message to a remote computer connected to the network.

This module can be added directly to the grid with a drag&drop from the browser.

Usine can receive and send OSC messages from/to the network.

This allows communication between all the computers connected to the network or on Internet.

what is an OSC message?

An OSC message contains 3 parts.

  • the OSC address, is a string which represents the name of the data. Generally addresses are between /. For example /usine/freq, /filter/freq1/, /data/random/value/.
  • the tag is comma (,) followed by a set of characters which represents the type of the data's. For example ,f, ,b. As an OSC message can contain several data's at the same time the tag can be ,fff for 3 float, ,iib for 2 integers and an array.
  • the data's which are binary bytes generally totally unreadable except for *Rain Man...

For example an OSC message can look like:

Settings

address

Osc address string of the message.

Be careful, the OSC address string is key sensitive. It mean that /USINE/ is not equal to /usine/.

host

Target host of the OSC message.

host

IP address of the remote computer (to send data).

Active only if the broadcast option is OFF.

host port

Remote Port destination number of the message.

broadcast

  • If this option is activated, the OSC message is sent to all the computers connected to the local network.
  • If not activated the message is sent at the address specified in the ip name field.
broadcast or not ?

In OSC when you want to send a data to another computer you normally have to know the network (IP) address of the destination. Something like 192.168.1.5.

The problem is that, by default, routers are configured to allocate IP addresses dynamically. In other word their IP aren't fixed and can change if, for example, you have to reboot one of your computer or your router. When broadcast is ON data's are sent to all the computers of the network at the same time whatever their IP address. So you don't have to deal with IP addresses and you're sure that all the computers will receive the message.

The main drawback is that if you have 20 computers connected you'll probably overload the network.

So if we resume broadcast ON is cool for small networks, let say, less than 10 computers. For larger networks, disable this option (OFF) and use the IP address field to set the destination of the message.

data

Data values to send.

data array

Values packed as an Array. To send values with the content of an array.

packet size

Number of value to send in the OSC message.

send

When ON the OSC message is automatically sent when input data are modified.

If this input receives a trigger (ie. a clock) it forces the module to send the OSC message.

type

Type tag of the OSC message.

See also

version 6.0.240115

Edit All Pages