[−][src]Crate nannou_osc
Tools for working with OSC. sender() creates an OSC sender, receiver(port) creates an OSC receiver.
Re-exports
pub use rosc; |
pub use self::recv::Receiver; |
pub use self::send::Sender; |
Modules
decoder | Provides a decoding method for OSC packets. |
encoder | Encodes an |
recv | Items related to the |
send | Items related to the |
Structs
Bundle | An OSC bundle contains zero or more OSC packets and a time tag. The contained packets should be applied at the given time tag. |
Color | An RGBA color. |
Connected | Indicates that a |
Message | 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. |
MidiMessage | Represents the parts of a Midi message. Mainly used for tunneling midi over a network using the OSC protocol. |
Unconnected | Indicates that a |
Enums
CommunicationError | Errors that might occur whilst attempting to send or receive an OSC packet. |
Error | Represents errors returned by |
Packet | An OSC packet can contain an OSC message or a bundle of nested packets which is called an OSC bundle. |
Type | see OSC Type Tag String: OSC Spec. 1.0 padding: zero bytes (n*4) |
Functions
decode | Decodes the given slice of |
default_ipv4_addr | The default local IP address. |
encode | Encodes the given |
msg | A simplified constructor for an OSC |
receiver | A simple wrapper around the most commonly used |
sender | A simple wrapper around the most commonly used |