play_stdin.sh
playstdin.sh is a lightweight set of shell scripts designed to stream audio between two Unix-like machines using standard UNIX pipes and netcat. Ideally suited for low-resource environments such as Raspberry Pi, this tool enables audio transmission without requiring complex backend systems like PulseAudio or JACK. The system operates in a client-server model. The server machine, which requires ncat from the nmap package and ffplay, listens for incoming audio streams and handles playback. The client machine, needing only a standard netcat utility, captures any audio file supported by FFmpeg and pipes it over the network to the server. Users configure both sides by setting appropriate IP addresses and port numbers in the provided scripts. Once the server is active, the client can initiate streaming simply by piping an audio file into the script, such as piping an MP3 file directly to the play command. The software includes built-in controls to pause or stop the stream remotely from the client side, allowing for