Network OSC Send Text

Send a string of characters OSC message over the network (OSC tag s).

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.

send

Sends the message when it receives a 1 trigger.

data

Data values to send.

See also

version 5.2.221206

Edit All Pages