Raspberry UDP Audio Receiver is a lightweight UDP audio receiver for Raspberry Pi, written in Free Pascal (FPC). It receives raw (uncompressed) stereo audio data over UDP (e.g. RTP) and plays it in real time using ALSA. No codec is used, which further reduces latency. Supports 16-bit, 48 kHz stereo audio in little- or big-endian format, selectable via a swap parameter.
Playback starts immediately upon receiving packets and stops automatically during silence or after 5 seconds without packets. Buffer level is continuously shown in the GUI, and parameters are adjustable. Very low resource usage, extremely low latency, and no timing shifts during network issues.
Platform: Raspberry Pi 4/5, OS Bookworm
Network: UDP (unicast or broadcast)
Dependencies: ALSA only
License: MIT
Features
- Receives audio data via UDP (48 kHz, 16-bit PCM)
- Low-latency audio playback
- Configurable UDP port, buffersize and LE / BE
- Tolerant to network interruptions
- Auto-start on incoming stream
- Hides when payback stops
- Works with system audio streams sent using ffmpeg (see README for example)