FUDI
This article needs more citations. (October 2011) |
FUDI (Fast Universal Digital Interface[1]) is a networking protocol used by the Pure Data patching language invented by Miller Puckette. It is a string-based protocol in which messages are separated by semicolons. Messages are made up of tokens separated by whitespaces, and numerical tokens are represented as strings. [2]
Format
FUDI is a packet-oriented protocol.
Each message consists of one or more atoms, separated by one or more whitespace characters, and it's terminated by a semicolon character.
An atom is a sequence of one or more characters; whitespaces inside atoms can be escaped by the backslash (ascii 92) character (see Examples below).
A whitespace is either a space (ascii 32), a tab (ascii 9) or a newline (ascii 10).
A semicolon (ascii 59) is mandatory to terminate (and send) a message. A newline is just treated as whitespace and not needed for message termination.
Implementations
pdsend / pdreceive
Those command-line tools are distributed with the software Pure Data. They are meant to be used with their counterparts, the classes [netsend] / [netreceive] of Pd.
[netsend] / [netreceive]
Those classes can be used to transport Pd-messages over a TCP or UDP socket. Both are part of Pd-vanilla.
[netserver] / [netclient]
Those are part of maxlib and allow bidirectional connections of multiple clients with one server.
Example messages
test/blah 123.453 my-slider 12;
hello this is a message;
this message continues in the following line;
you; can; send; multiple messages; in a line;
this\ is\ one\ whole\ atom;
this_atom_contains_a\ newline_character_in_it;
References
- ^ Puckette, Miller. "FUDI protocol specifications (acronym)". Pure Data Mailinglist. Retrieved 24 January 2019.
- ^ "Pure Data - [fudiformat]". pd.iem.sh. Retrieved 2026-05-07.
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.