fudi-rs

Crates.iofudi-rs
lib.rsfudi-rs
version0.3.1
sourcesrc
created_at2021-03-02 09:20:45.871078
updated_at2021-03-02 09:53:27.290681
descriptionAn implementation of the Fast Universal Digital Interface networking protocol to communicate with Pure Data via the netsend / netreceive objects.
homepage
repositoryhttps://github.com/tpltnt/fudi-rs
max_upload_size
id362560
size51,043
tpltnt (tpltnt)

documentation

https://docs.rs/fudi-rs/

README

Build Status dependency status

An implementation of the Fast Universal Digital Interface networking protocol. This can be used to communicate with Pure Data via the netsend / netreceive objects. note: This implementation does not handle escaped whitepace in message atoms.

The specification implies ASCII encoding for the messages. A message needs a trailing newline (i.e. '\n') according to the Java example in the old wiki page. This is not explicitly mentioned in the FUDI specification.

examples:

  • send random floats
    • run patch "send_random_floats.pd"
    • run: cargo run --examples send_random_floats
  • receive random floats
    • run patch "receive_random_floats.pd"
    • run: cargo run --examples receive_random_floats
  • receive bangs
    • run patch "recevie_bang.pd"
    • run: `cargo run --example receive_bang"

TODO

  • handle non-alphanumeric characters in message
  • handling escaped whitespace in atoms
  • handle TCP

references

Commit count: 87

cargo fmt