pdsend(1)
π pdsend(1) β General Commands Manual π
okay bestie, welcome to the pdsend(1) page, we're literally about to send messages to pd and it's gonna be iconic β¨
πΈ NAME πΈ
pdsend β send messages to pd on this or a remote machine π
β¨ SYNOPSIS β¨
pdsend port-number [hostname] [udp|tcp]
π¦ DESCRIPTION π¦
So here's the vibe: pdsend sends messages to pd(1), over a socket connection, and it reads them straight from pdsend's standard input. π«Ά That input can be literally any stream of Pd messages, as long as they're separated by semicolons. No cap.
This is probably the easiest way to control pd from another application. The protocol it uses is easy to implement and it's called FUDI. Periodt.
The port number should agree with the port number of a "netreceive" object inside pd. π The hostname is "localhost" by default, and it can be a domain name or an IP address, your call. The protocol is "tcp" by default β and tcp does a handshake to guarantee that all messages arrive complete and in their correct order. So reliable, so main character energy. π
But if you're sending messages locally or point-to-point, you can often get away with the faster udp protocol instead. lowkey faster, highkey fine in those cases.
You can also use this to talk to a Max "pdnetreceive" object, or even just a "pdreceive" in another shell. π And if you're writing another program, you're welcome to just grab the sources for pdsend/pdreceive and adapt them to your own ends β they're part of the Pd distribution. Go off, honestly. π₯
π SEE ALSO π
π and that's the whole page, bestie β go send some messages, you're gonna eat π
GNU πΈ 1996 Mar 20 πΈ pdsend(1) β yeah that's the GNU crew, that's the date, that's the manual, mwah ππ
π¦ where this page comes from
- arch rolling: pd 0.57.0-1 Β· BSD-3-Clause
- debian bookworm: puredata-utils 0.53.1+ds-2+deb12u1 Β· BSD-3-Clause
- debian trixie: puredata-utils 0.55.2+ds-2 Β· BSD-3-Clause
- nixos 26.05: puredata 0.55-2
- nixpkgs unstable: puredata 0.55-2
- ubuntu jammy: puredata-utils 0.52.1+ds0-1 Β· BSD-3-Clause
- ubuntu noble: puredata-utils 0.54.1+ds-4build3 Β· BSD-3-Clause
- ubuntu questing: puredata-utils 0.56.1+ds-1
- ubuntu resolute: puredata-utils 0.56.2+ds-1 Β· BSD-3-Clause
- ubuntu stonking: puredata-utils 0.56.5+ds-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms