Network OSC Receive

Get OSC messages values.

Settings

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:

addr

Osc address string of the message.

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

type

OSC message type tag. Specifies the data type: integer, float or array of float.

Each OSC data is dispatched to its respective OSC tag order. For example if the tag is ,iiif the first i data is sent/received to the data1 field, the second i to the data2 field and so on.

Usine accepts the following tags:

  • i : integer;
  • f : float 32bits
  • b : blob (array of float 32bit)
  • c : ascii character sent as 32 bit
  • r : 32bit RGBA color
  • m : 4 byte MIDI message (channel,msg,data1,data2)
  • T : true
  • F : false
  • N : nil
  • I : infinitum

receive

Sends 1 value when a new data is received.

on change

  • if activated, the data 1..N values are sent only when they have changed. (sent only one time, and nothing otherwise)
  • if not activated, the data 1..N keep and hold the last received value.

ip

Filter apply: receives only data’s from the specified IP.

Use 0.0.0.0 for no filter.

fast mode

When this option is activated, all incoming data's are queued into the data's array outlet.

This can be useful to handle high speed OSC flows and be sure that Usine receives all the data's within a BLOC time.

port filter

Input port number of incoming messages to filter.

Set 0 for no filter, and let passes all incoming messages.

data

Received data fields.

data array

Contains the all the incoming value packed as an array.

See also

Edit All Pages