7 releases (breaking)

0.19.0 Jan 17, 2024
0.18.0 Nov 18, 2021
0.17.0 Jun 20, 2021
0.16.0 Apr 22, 2021
0.1.0 Jun 8, 2019

#18 in #osc

Download history 14/week @ 2024-07-22 28/week @ 2024-07-29 7/week @ 2024-08-05 19/week @ 2024-08-12 5/week @ 2024-08-19 11/week @ 2024-08-26 20/week @ 2024-09-02 254/week @ 2024-09-09 20/week @ 2024-09-16 75/week @ 2024-09-23 61/week @ 2024-09-30 39/week @ 2024-10-14 6/week @ 2024-10-21 27/week @ 2024-10-28 24/week @ 2024-11-04

96 downloads per month
Used in bevy_osc

MIT/Apache

28KB
368 lines

nannou_osc Crates.io Crates.io docs.rs

The OSC API for nannou, the creative coding framework.

Please see the nannou guide for more information on how to get started with nannou!

Features

Some of the features of this API include:

  • Simple OSC Sender and Receiver 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 for Receiver 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. Senders and Receivers are thin, zero-cost abstractions around the std::net::UdpSocket type.

Examples

You can find examples of nannou_osc in action at the nannou repository in the examples directory.

License

Licensed under either of

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.

Dependencies

~1MB
~22K SLoC