You are not logged in.
(I wasn't sure if this belonged here, or in the "Network" forum, or in the "Multimedia" forum; I think it's mainly a PA question but the few other Snap questions were here. Apologies if this is wrong.)
I am running Snapcast on a machine on my local network; both the snapserver and Mopidy are running on this machine, and there are several Raspberry Pi's on the network that are running snapclients. This all works correctly; audio played through Mopidy goes to the snapclients, and is played by the Pi's.
I have an Arch desktop (obviously on the same network), which is running PulseAudio; there are several audio outputs attached to the Arch machine, and I can use the PulseAudio Volume Control to select which one is used for any particular application. I would like to have a "Snapcast" output, so that I can direct audio into the snapserver in the same way, i.e. playing over Snapcast from a music player on the Arch machine (instead of Mopidy on the snapserver machine), or from a browser, or whatever.
I've read the Snapcast docs, and it's clear that Snapcast can receive a lot of different sources; it's also clear that PA can send audio over the network in various ways. So this seems to be entirely possible, but I'm confused about how to do it, perhaps partly because I'm confused about the differences between sinks and sources, and servers and clients, in these various systems.
Can someone give me a pointer to how I can get this set up?
Offline
One option is listed here:
https://github.com/badaix/snapcast/blob … pulseaudio
Last edited by progandy (2022-04-18 17:51:23)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Right, but that's for running PA and the snapserver on the same machine. My confusion is about directing the PA output to the snapserver over the network.
Offline
Have you read...
https://wiki.archlinux.org/title/PulseA … rked_audio
Offline
Right, but that's for running PA and the snapserver on the same machine. My confusion is about directing the PA output to the snapserver over the network.
You'd have to replace the fifo, maybe with netcat on the server and module-simple-protocol-tcp for your pulseaudio client similar to https://kaytat.com/blog/?page_id=301
You might also be able to run an airplay server together with snapcast and stream to that.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline