The OSC API for nannou, the creative coding framework.
Please see the nannou guide for more information on how to get started with nannou!
Some of the features of this API include:
- Simple OSC
Sender
andReceiver
API around the raw UDP socket and OSC protocol. - Reasonable defaults for sender and receiver binding UDP addresses.
- Type-safe distinction between "connected" and "unconnected" senders and receivers.
- Blocking and non-blocking
Iterator
APIs forReceiver
type.
nannou_osc uses the rosc crate - a
pure-Rust, cross-platform OSC library for handling the low-level protocol
encoding and decoding under the hood. Sender
s and Receiver
s are thin,
zero-cost abstractions around the std::net::UdpSocket
type.
You can find examples of nannou_osc in action at the nannou repository in the examples directory.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.