TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Snapcast – Synchronous multi-room audio player

301 点作者 geekuillaume超过 5 年前

21 条评论

ProfessorLayton超过 5 年前
This looks interesting!<p>A bit of a rant, but I long for a digital version of an FM transmitter. Multi-speaker playback with basically no setup and perfect sync <i>that also</i> fails gracefully can already be done with an FM transmitter. I would love it if there was a solution for the digital era.<p>I have been forced into the bluetooth era kicking and screaming with my iPhone 11 and I constantly feel like I&#x27;ve taken a step back by being forced to use bluetooth. The constant pairing issues, even with Apple&#x27;s AirPods (which are the most reliable by far) has been a constant pain point for me. Pairing, unpairing, and multiple device management is a UX nightmare for something as simple as audio payback.
评论 #21918084 未加载
评论 #21916569 未加载
评论 #21917807 未加载
评论 #21920364 未加载
评论 #21918150 未加载
评论 #21917647 未加载
评论 #21918860 未加载
评论 #21916676 未加载
matthew-wegner超过 5 年前
I&#x27;ve been running whole-home Snapcast for over a year now, controlled by Home Assistant. Some quick info:<p>- Previously, I would use Raspotify&#x2F;etc and automatically change sources as I moved between rooms. This is much cleaner<p>- My automation server is a Linux VM, which is now my audio source for Snapcast. This means I just use the native, 100% unmodified Spotify client (or really, anything). Previously the various librespot&#x2F;etc stuff would sometimes break or require updates<p>- I run two streams: Music + text to speech, and just TTS. Some rooms switch to TTS-only when the room turns off. Other rooms mute completely. Really it just depends how peripheral the room is. i.e. my garage mutes completely when it&#x27;s off, but more interior rooms still play TTS.<p>- Pulseaudio junk is what manages the above routing. Linux audio really is gross once you try to do anything past-minimum with it. You can do complicated things, though--I duck music volume down a bit when house TTS is happening. I still have to regularly and automatically restart pulseaudio completely when nothing is playing, to avoid both horrid clock drift and&#x2F;or crackle<p>- Any audio you can play&#x2F;handle on Linux, you can make into a stream. I could easily add a third stream for an aux-in line dangling off the machine, for people to plug in to for parties&#x2F;hardware players&#x2F;etc<p>- Most clients are Raspberry Pis with USB audio DACs. My macOS machines also run snapclient. I only have one Windows machine (my TV box) I wanted to include, and ended up just running a Ubuntu VM with snapclient to make that happen. (The other option is to use pulseaudio in a VM, and then also an ancient Windows port of pulseaudio to actually take the pa data out to the speakers, but ugh)<p>- Including all computers, I have 8 clients, I think? You can enable &quot;send audio to muted clients&quot; to avoid a re-buffer delay when rooms turn on and off<p>- You can push latency quite low if you want, especially if everything in your house is hardwired. My desktop audio is almost always Spotify now, out of laziness, and really when I&#x27;m using the desktop client I&#x27;m actually controlling the remotely-playing VM. The latency doesn&#x27;t bother me, and I&#x27;m pretty sensitive to that kind of thing<p>- I use cheap 10-button RF remotes as &quot;light switches&quot; in all rooms. It&#x27;s nice to have that many buttons to standardize some things. For music, two buttons are play&#x2F;stop spotify, with some overloaded functions (pressing play while music is already playing skips to next track)
评论 #21918440 未加载
评论 #21918162 未加载
评论 #21917065 未加载
评论 #21917450 未加载
评论 #21917103 未加载
评论 #21920815 未加载
jrobn超过 5 年前
I have an extensive sonos setup for my business. I’ve experienced a lot of trouble with the system just cutting out, skipping tracks over and over, and connecting to Apple Music. Every couple of weeks it just totally shits the bed.<p>Would love speakers that could serve music off my Synology NAS reliably and without microphones in my speakers to spy on me.<p>With the whole google&#x2F;nest fiasco I don’t want to actively try to thwart a <i>speaker</i> from collecting data on me and my family. It’s exhausting.<p>Someone needs to start a company, like, Elgato Eve, where their primary feature product is privacy focused products. They would have my money every time.
评论 #21916355 未加载
评论 #21916529 未加载
geekuillaume超过 5 年前
Not my project but I&#x27;ve been using it for a year on 3 Raspberry Pi and it has been rock solid. I highly recommend it. The synchronization is perfect and it only adds a small delay (500ms max) to the music. I&#x27;ve configured Librespot to use this as a Spotify Play speaker and control it from the desktop or mobile Spotify app.
评论 #21915676 未加载
评论 #21915869 未加载
评论 #21916006 未加载
评论 #21916077 未加载
reggieband超过 5 年前
&gt; The encoded chunk is sent via a TCP connection to the Snapclients.<p>I wonder why TCP? For streaming media I would expect UDP, RTP or even RTMP to be better. Maybe even something newer like QUIC.<p><i>edit</i>: in fact, isn&#x27;t RTP&#x2F;RTCP made for exactly this purpose? The streaming&#x2F;synchronization of media?
评论 #21917158 未加载
评论 #21918974 未加载
thomas536超过 5 年前
There has also been some work on low latency audio this year via <a href="https:&#x2F;&#x2F;gavv.github.io&#x2F;articles&#x2F;roc-tutorial&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gavv.github.io&#x2F;articles&#x2F;roc-tutorial&#x2F;</a>
milesward超过 5 年前
Now what we need is a method to hijack the phone-home process new Sonos devices use, and have them controlled via this. It&#x27;s amazing to me how glitchy and fragile the native Sonos network is. I have lots of zones, but wow.
genericacct超过 5 年前
You may also want to try airplayhub with shairport-sync<p><a href="https:&#x2F;&#x2F;github.com&#x2F;noelhibbard&#x2F;node-airplayhub" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;noelhibbard&#x2F;node-airplayhub</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;mikebrady&#x2F;shairport-sync" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mikebrady&#x2F;shairport-sync</a>
federico3超过 5 年前
I always wondered why there aren&#x27;t synchronous &quot;audio conferencing&quot; tools to allow play music and even improvise over the Internet.<p>Of course they would have to introduce a fixed delay of a phrase (or multiple) and people would have to play accordingly.
评论 #21916457 未加载
评论 #21920160 未加载
评论 #21917048 未加载
mr_sturd超过 5 年前
Got two Raspberry Pi with HiFi Berry HATs, and have been trying to use RTP over Pulseaudio, from my home server, but have never managed to get the synchronisation right.<p>I&#x27;ll be starring this project and giving it a go as soon as possible. Can&#x27;t wait!
toomim超过 5 年前
This looks cool! Has anyone used it with Airplay? Can you report on how well it works?<p>I&#x27;d love to be able to stream from laptops and phones -- without installing additional software on them.
hippich超过 5 年前
Any1 aware of any solutions to stream (let&#x27;s say through pulseaudio) realtime audio? I.e. matching what happens on the screen. Is it even possible?
评论 #21920879 未加载
jakobegger超过 5 年前
Can someone explain why I would use this over Shairport Sync [1]? Setting up shairport is so easy, and it works great with iPhones and Macs as audio sources (which happens to be what I use).<p>Is Snapcast just more compatible with Linux clients, or are there any other advantages?<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;mikebrady&#x2F;shairport-sync" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mikebrady&#x2F;shairport-sync</a>
amflare超过 5 年前
I&#x27;ve just started getting into Sonos because I want the full house audio, but I&#x27;m not sold yet. The worry I have with Snapcast is that sometimes it&#x27;s worth the money for things to JustWork(tm). I know Sonos is super janky sometimes, but at least I don&#x27;t have to build it from the ground up with a patchwork of technologies across my various computers and phone
mongol超过 5 年前
I use this in three ways: To stream from MPD, to stream from a DLNA renderer (gmrender-resurrect) and to stream from Pulseaudio. It is generally great, but the audio from Pulseaudio is not working well, quality-wise. The one remaining problem is sometimes that podcasts that I stream via DLNA plays much too fast. Seems to depend on circumstances in the podcast stream.
评论 #21920884 未加载
fizixer超过 5 年前
I can&#x27;t see any info of what clients are supported. I&#x27;m interested in serving audio to both &quot;speaker clients&quot; as well as mobile-app clients.<p>For mobile setup, I currently use soundwire (it has an android app as a client, and I serve audio from a linux server) but the sync is not very good.
评论 #21916171 未加载
paul7986超过 5 年前
Out of the box Does this support syncing audio from web streams like YouTube?<p>Also, is this trivial to set up and is there a web app I can use to test it out?
评论 #21920576 未加载
ww520超过 5 年前
The project looks good. Would multicast be good for this kind of applications? How much support do routers have for multicast these days?
评论 #21919727 未加载
Ice_cream_suit超过 5 年前
How long before Snapchat&#x27;s lawyers send a letter, insisting that the name be changed to something less misleading?
评论 #21917338 未加载
brayhite超过 5 年前
How does this compare to something like Airfoil?
评论 #21916046 未加载
评论 #21916160 未加载
RosanaAnaDana超过 5 年前
I&#x27;m so excited to try this.