Crate nannou_osc[][src]

Expand description

Tools for working with OSC. sender() creates an OSC sender, receiver(port) creates an OSC receiver.


pub use rosc;
pub use self::recv::Receiver;
pub use self::send::Sender;


Provides a decoding method for OSC packets.

Encodes an OscPacket to a byte vector.

Items related to the osc::Receiver implementation.

Items related to the osc::Sender implementation.


An OSC bundle contains zero or more OSC packets and a time tag. The contained packets should be applied at the given time tag.

An RGBA color.

Indicates that a Sender is currently connected to a specific target address.

An OSC message consists of an address and zero or more arguments. The address should specify an element of your Instrument (or whatever you want to control with OSC) and the arguments are used to set properties of the element to the respective values.

Represents the parts of a Midi message. Mainly used for tunneling midi over a network using the OSC protocol.

Indicates that a Sender is not currently connected to a target address, and that the target address will have to be supplied manually when sending packets.


Errors that might occur whilst attempting to send or receive an OSC packet.

Represents errors returned by decode or encode.

An OSC packet can contain an OSC message or a bundle of nested packets which is called an OSC bundle.

see OSC Type Tag String: OSC Spec. 1.0 padding: zero bytes (n*4)


Decodes the given slice of bytes into a Packet.

The default local IP address.

Encodes the given Packet into a Vec of bytes.

A simplified constructor for an OSC Message.

A simple wrapper around the most commonly used Receiver constructor.

A simple wrapper around the most commonly used Sender constructor.