I would like to be able to stream audio from a raspberry pi to multiple wireless speakers in the same room (synchronized). I would also like to be able to control the raspberry pi with a computer or smartphone. My first instinct is to use MPD, but I am not sure if this is even possible. How would I go about implementing such a setup?
|
|
There are probably several alternatives to accomplish what you want, but one possibility is to use MPD running in a "server" raspberry pi (which may or may not have its own speaker) with audio output through pulseaudio, and then use pulseaudio to broadcast synchronized audio to your LAN over RTP to client machines connected to speakers, wirelessly or not. Such a setup would require three independent but interacting pieces:
Configuration details are beyond the scope of an answer here, but you can find a decent how-to guide for MPD on the rpi here. An exhaustive guide on setting up RTP broadcast, specifically using raspberrys as both senders and receivers can be found here, and in the pulseaudio documentation. I can confirm that this setup works, as I have done it. However, RTP is extremely demanding on wireless links so YMMV. |
||||
|
|