Raspberry-UDP_audio_receiver

🎢 Network Audio Receiver (UDP) for Raspberry Pi

A lightweight UDP stereo audio receiver for Raspberry Pi.
It outputs directly to ALSA, ensuring very low latency – ideal for real-time monitoring and live audio.


✨ Features

πŸ’‘ Example Test Setup

Result: Stable low-latency playback in a typical home network.


▢️ Usage

πŸ“€ Sender (System Audio)

Install ffmpeg:

sudo apt install ffmpeg

To transmit system audio, use the provided startup script StartFFmpegTransmitter.sh:

  1. Edit the script and replace the IP address with the address of your receiver.
  2. Set the port number to match the configuration on the receiver.
  3. Make the script executable:
    ```bash chmod +x StartFFmpegTransmitter.sh

    Save the file, place it on the desktop, and start it with a double-click.

πŸ“₯ Receiver

Start the player:

./udp_player

A window appears and starts playback automatically when UDP packets arrive.


🎯 Latency Optimization


πŸ”Š Audio Volume

If sound is too quiet:

alsamixer

Or via terminal:

amixer set β€˜Master’ 100% unmute


πŸ“œ License

This project is licensed under the MIT License. 🌐 Other Projects by the Author

🌐 Other Projects by the Author


🌐 Other Projects by the Author