Comments (6)
Ok, i started working on this. It will take some more days.
from cornrow.
Is Snapcast a bluetooth receiver on its own? Never heard of it...
Well, one could implement such an integration. Shouldn't be too hard.
from cornrow.
Snapcast is a multi-room audio solution that can run on a Raspberry Pi. I suppose I should have added a link:
https://github.com/badaix/snapcast
from cornrow.
@eriqjaffe
Done. Please checkout the 0.8.0 release and edit the /etc/cornrowd.conf file accordingly.
Cornrowd will act as TCP client. So, you have to configure snapcast as TCP server.
Adding this line to your snapcast server should do the trick. Please notice the sample rate of 44100 (most Bluetooth sources will use 44.1k instead of 48k).
source=tcp://127.0.0.1:4953?name=cornrow&sampleformat=44100:16:2
Looking forward to your feedback.
from cornrow.
That works perfectly, thank you!
As a side note, I've run into errors where the snapcast service fails to start with a TCP entry referencing 127.0.0.1 in the .conf file. I have found that using 0.0.0.0 instead of 127.0.0.1 works around that issue, so simply modifying both the snapserver.conf and the cornrowd.conf files appropriately does the job.
Thanks again, this is fantastic!
from cornrow.
Good to hear, you're welcome. Btw. there is a donation option for cornrow 😉
Hmm, that's strange. For me "127.0.0.1" works on both sides. Maybe the ports had been used already by other streams?
from cornrow.
Related Issues (20)
- Install on raspberry pi HOT 1
- tested on Pi 4 HOT 7
- rpi zero conection issues HOT 4
- signal=SEGV HOT 10
- crashing with "Assertion `error == OMX_ErrorNone' failed." HOT 4
- Configure Airplay or Bluetooth enabled HOT 1
- Usage of non-SBC codecs HOT 2
- Unmet dependency: libboost-system1.67 on bullseye HOT 2
- Compiling on Alpine HOT 3
- Unable to Connect Bluetooth Device On Raspbian Buster and Bullseye HOT 10
- Question: can I use it on OrangePi? HOT 10
- Issues building from source HOT 8
- Unable to reconnect after client "forgets" the server device HOT 1
- No audio in snapcast HOT 3
- unable to start cornrowd.service HOT 8
- terminate called after throwing an instance of 'std::out_of_range' HOT 5
- Problems with sound HOT 2
- Debian bookworm support? HOT 2
- Connection problems with smartphone HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cornrow.