Snapcast is a multiroom client-server audio player, where all clients are time synchronized with the server to play perfectly synced audio. It's not a standalone player, but an extension that turns your existing audio player into a Sonos-like multiroom solution. Audio is captured by the server and routed to the connected clients. Several players can feed audio to the server in parallel and clients can be grouped to play the same audio stream. One of the most generic ways to use Snapcast is in conjunction with the music player daemon (MPD) or Mopidy. The encoded chunks are sent via a TCP connection to the Snapclients. Each client does continuous time synchronization with the server, so that the client is always aware of the local server time. Every received chunk is first decoded and added to the client's chunk-buffer. Knowing the server's time, the chunk is played out using a system dependend low level audio API (e.g. ALSA) at the appropriate time.

Features

  • The Snapserver reads PCM chunks from configurable stream sources
  • ALSA to capture line-in, microphone, alsa-loop (to capture audio from other players)
  • The chunks are encoded and tagged with the local time
  • The encoded chunks are sent via a TCP connection to the Snapclients
  • Typically the deviation is below 0.2ms
  • You can either install Snapcast from a prebuilt package (recommended for new users), or build and install snapcast from source

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Snapcast

Snapcast Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Snapcast!

Additional Project Details

Operating Systems

Android, Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ Sound Audio, C++ Multimedia Software

Registered

2022-01-29