Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. DIY Sonos Project

DIY Sonos Project

Scheduled Pinned Locked Moved Selfhosted
selfhosted
12 Posts 8 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O This user is from outside of this forum
    O This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    Hey Self Hosted!

    Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

    The Vision:

    Server Pi

    • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

    Client Pis

    Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

    The Hurdles:

    5.1 Audio Input

    Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

    Channel Remapping Sorcery

    Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

    Why? Swapping speakers without rewiring = less headache. Plus, modularity.

    First roadblock: Getting clean 5.1 into a Pi.
    Second headache: Software channel routing.

    Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

    ? B ? mhzawadi@lemmy.horwood.cloudM T 7 Replies Last reply
    1
    0
    • System shared this topic on
    • O [email protected]

      Hey Self Hosted!

      Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

      The Vision:

      Server Pi

      • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

      Client Pis

      Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

      The Hurdles:

      5.1 Audio Input

      Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

      Channel Remapping Sorcery

      Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

      Why? Swapping speakers without rewiring = less headache. Plus, modularity.

      First roadblock: Getting clean 5.1 into a Pi.
      Second headache: Software channel routing.

      Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

      ? Offline
      ? Offline
      Guest
      wrote on last edited by
      #2

      @one_knight_scripting Don't forget about latency and keeping speakers in sync with each other and the TV. It's surprisingly hard, even on a flat, local, wired network.

      I haven't tried this in a few years, but my last attempt made me appreciate the simplcity and reliability of a speaker cable. 😅 I'm eager to hear experiences from you and from others, because it would absolutely be cool!

      O 1 Reply Last reply
      0
      • O [email protected]

        Hey Self Hosted!

        Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

        The Vision:

        Server Pi

        • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

        Client Pis

        Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

        The Hurdles:

        5.1 Audio Input

        Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

        Channel Remapping Sorcery

        Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

        Why? Swapping speakers without rewiring = less headache. Plus, modularity.

        First roadblock: Getting clean 5.1 into a Pi.
        Second headache: Software channel routing.

        Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

        B This user is from outside of this forum
        B This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Biggest hurdle would be timing, if you want it sound right.. Every speaker should be in sync as much as possible

        1 Reply Last reply
        0
        • ? Guest

          @one_knight_scripting Don't forget about latency and keeping speakers in sync with each other and the TV. It's surprisingly hard, even on a flat, local, wired network.

          I haven't tried this in a few years, but my last attempt made me appreciate the simplcity and reliability of a speaker cable. 😅 I'm eager to hear experiences from you and from others, because it would absolutely be cool!

          O This user is from outside of this forum
          O This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          Well... From the very small amount that I've gathered from balenaSound, timing is mostly handled. If the software I want to write for it becomes a thing, then the Server PI will have a microphone to detect how much latency there is and adapt. That is a step way down the line though.

          1 Reply Last reply
          0
          • O [email protected]

            Hey Self Hosted!

            Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

            The Vision:

            Server Pi

            • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

            Client Pis

            Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

            The Hurdles:

            5.1 Audio Input

            Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

            Channel Remapping Sorcery

            Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

            Why? Swapping speakers without rewiring = less headache. Plus, modularity.

            First roadblock: Getting clean 5.1 into a Pi.
            Second headache: Software channel routing.

            Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

            ? Offline
            ? Offline
            Guest
            wrote on last edited by
            #5

            Balena sound was the first thing to come to mind. I'm not sure if it's still being worked on but it seems to do the trick.

            1 Reply Last reply
            0
            • O [email protected]

              Hey Self Hosted!

              Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

              The Vision:

              Server Pi

              • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

              Client Pis

              Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

              The Hurdles:

              5.1 Audio Input

              Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

              Channel Remapping Sorcery

              Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

              Why? Swapping speakers without rewiring = less headache. Plus, modularity.

              First roadblock: Getting clean 5.1 into a Pi.
              Second headache: Software channel routing.

              Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

              mhzawadi@lemmy.horwood.cloudM This user is from outside of this forum
              mhzawadi@lemmy.horwood.cloudM This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              Snapcast might fit the bill, not sure about the 5.1 bit.

              Does multi room sync

              1 Reply Last reply
              0
              • O [email protected]

                Hey Self Hosted!

                Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

                The Vision:

                Server Pi

                • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

                Client Pis

                Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

                The Hurdles:

                5.1 Audio Input

                Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

                Channel Remapping Sorcery

                Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

                Why? Swapping speakers without rewiring = less headache. Plus, modularity.

                First roadblock: Getting clean 5.1 into a Pi.
                Second headache: Software channel routing.

                Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

                T This user is from outside of this forum
                T This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                If you don't want to worry about latency/etc - you should consider doing it with lasers 😈.

                https://youtu.be/1H4FuNAByUs

                O 1 Reply Last reply
                0
                • O [email protected]

                  Hey Self Hosted!

                  Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

                  The Vision:

                  Server Pi

                  • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

                  Client Pis

                  Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

                  The Hurdles:

                  5.1 Audio Input

                  Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

                  Channel Remapping Sorcery

                  Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

                  Why? Swapping speakers without rewiring = less headache. Plus, modularity.

                  First roadblock: Getting clean 5.1 into a Pi.
                  Second headache: Software channel routing.

                  Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

                  B This user is from outside of this forum
                  B This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  This is a cool idea! This sounds a lot like DANTE and AES67 or AVB are used for in pro audio, maybe they have some ideas on timing sync which I think would be the hardest part as others have said, it is crazy how small of a jitter your brain can hear.

                  1 Reply Last reply
                  0
                  • T [email protected]

                    If you don't want to worry about latency/etc - you should consider doing it with lasers 😈.

                    https://youtu.be/1H4FuNAByUs

                    O This user is from outside of this forum
                    O This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    Straight up, that is awesome. I absolutely love it.

                    T 1 Reply Last reply
                    0
                    • O [email protected]

                      Straight up, that is awesome. I absolutely love it.

                      T This user is from outside of this forum
                      T This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      I don't know how he comes up with his ideas, but they are all pretty phenomenal and novel. Great channel to subscribe to for some creative fuel every once in a while!

                      1 Reply Last reply
                      0
                      • O [email protected]

                        Hey Self Hosted!

                        Got a shower thought I wanna bounce off youse guys. It's half-baked but itching to become real: DIY Sonos-like surround sound using Raspberry Pis (or maybe other SBCs if Pi's not cut out for it). Need your brains to kick things off!

                        The Vision:

                        Server Pi

                        • Acts as the brain. Takes 5.1 audio input from the TV (SPDIF? HDMI? Still figuring that out).

                        Client Pis

                        Wireless speakers running balenaSound or similar. Each handles a specific channel (front left, rear right, etc.). I do picture each of these being connected to a amplifier board. With some fancy wiring to give Raspberry pi voltages and power required for the amplifiers. (Something like this: https://a.co/d/fwkXuCm)

                        The Hurdles:

                        5.1 Audio Input

                        Can a Pi even handle 5.1 audio input? Do I need a fancy sound card/HAT? Or should I ditch the Pi for something beefier?

                        Channel Remapping Sorcery

                        Wiring all speakers the same (e.g., left channel only) but using Linux wizardry to assign which channel each speaker plays. Like, plug in a "rear right" speaker, tell the Pi "yo, you’re rear right now," and boom—it works. Possible? Or am I dreaming?

                        Why? Swapping speakers without rewiring = less headache. Plus, modularity.

                        First roadblock: Getting clean 5.1 into a Pi.
                        Second headache: Software channel routing.

                        Anyone tackled something like this before? Am I reinventing a wheel that’s already on fire?

                        ? Offline
                        ? Offline
                        Guest
                        wrote on last edited by
                        #11

                        Look at https://www.picoreplayer.org/ using some sort of dac for the raspberry pi. Something like https://www.hifiberry.com/ or https://www.raspberrypi.com/news/iqaudio-is-now-raspberry-pi/ . Easy to install, works pretty flawless and with LMS server can be used as a single full home audio or play zones independently. Not sure if it can do the single speaker type syncing but you can set one left and the other right and sync them to play a single audio source. The only thing I have not done is take an input from a device like a tv as stream source.But with a pi that has bluetooth you can use bluetooth as an input and stream to all other pcp devices in your network. I use raspberry pi 4 1Gig memory with an external poe injector which simplifies powering them and gives consistent network. But 12v input from a power outlet and wifi works well enough in some spots too. It is essentially as close as you can get to plug and play squeezelite as I have found

                        O 1 Reply Last reply
                        0
                        • ? Guest

                          Look at https://www.picoreplayer.org/ using some sort of dac for the raspberry pi. Something like https://www.hifiberry.com/ or https://www.raspberrypi.com/news/iqaudio-is-now-raspberry-pi/ . Easy to install, works pretty flawless and with LMS server can be used as a single full home audio or play zones independently. Not sure if it can do the single speaker type syncing but you can set one left and the other right and sync them to play a single audio source. The only thing I have not done is take an input from a device like a tv as stream source.But with a pi that has bluetooth you can use bluetooth as an input and stream to all other pcp devices in your network. I use raspberry pi 4 1Gig memory with an external poe injector which simplifies powering them and gives consistent network. But 12v input from a power outlet and wifi works well enough in some spots too. It is essentially as close as you can get to plug and play squeezelite as I have found

                          O This user is from outside of this forum
                          O This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #12

                          Interesting. One other option is to use OrangePi for the server. OrangePi has ARC over HDMI and that would count as an input

                          1 Reply Last reply
                          0
                          • System shared this topic on
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups