Split stereo channels over two simultaneous usb audio devices?
#1
so i ended up with two amazon echo studios and i have no use for a wireless speakers - gift Undecided  both have a toslink input, but they are unable to play in stereo wired - channels have to splitted before.

is there a possibility to send left channel to one usb port, and right channel to second usb port?

thanks
-um
Reply

#2
(02-Dec-2020, 11:44 PM)micindev Wrote: so i ended up with two amazon echo studios and i have no use for a wireless speakers - gift Undecided  both have a toslink input, but they are unable to play in stereo wired - channels have to splitted before.

is there a possibility to send left channel to one usb port, and right channel to second usb port?

thanks
-um
jackd might do it, but I'm not too sure if it can route mono signals to seperate audio cards.

Easier solution is to just get two ADCs (Analog to digital convertors), connect LCH to one, and RCH to another, and then optical cable to your echos. Although it's easy, quality may be a bit iffy as there could be phase differences (i.e. left and right channels may not be exactly in sync). However, because you are using echos, this difference is unlikely to be discernable.
Snakeoil Operating System - Music, your way!
Reply

#3
(03-Dec-2020, 07:23 AM)agent_kith Wrote:
(02-Dec-2020, 11:44 PM)micindev Wrote: so i ended up with two amazon echo studios and i have no use for a wireless speakers - gift Undecided  both have a toslink input, but they are unable to play in stereo wired - channels have to splitted before.

is there a possibility to send left channel to one usb port, and right channel to second usb port?

thanks
-um
jackd might do it, but I'm not too sure if it can route mono signals to seperate audio cards.

Easier solution is to just get two ADCs (Analog to digital convertors), connect LCH to one, and RCH to another, and then optical cable to your echos. Although it's easy, quality may be a bit iffy as there could be phase differences (i.e. left and right channels may not be exactly in sync). However, because you are using echos, this difference is unlikely to be discernable.

thanks for reply

ah, ok... I thought it would be a simple line of code, somewhere someone said that alsa should be able to do it, but coding is beyond my abilities. I planned basic kitchen stereo synced with other rooms and I wanted to keep echo's dsp...

just found this article, not sure if it makes any sense... https://bootlin.com/blog/audio-multi-cha...g-alsalib/
Reply

#4
(03-Dec-2020, 07:10 PM)micindev Wrote: just found this article, not sure if it makes any sense... https://bootlin.com/blog/audio-multi-cha...g-alsalib/
That might work, uses something call dshare instead of jack. Not entirely sure if Snakeoil currently works on special ALSA configurations as it's more or less hard coded to work only on direct audio cards (HW)...

This is something that is certainly going to be improved in Snakeoil down the road.
Snakeoil Operating System - Music, your way!
Reply

#5
(04-Dec-2020, 07:54 AM)agent_kith Wrote:
(03-Dec-2020, 07:10 PM)micindev Wrote: just found this article, not sure if it makes any sense... https://bootlin.com/blog/audio-multi-cha...g-alsalib/
That might work, uses something call dshare instead of jack. Not entirely sure if Snakeoil currently works on special ALSA configurations as it's more or less hard coded to work only on direct audio cards (HW)...

This is something that is certainly going to be improved in Snakeoil down the road.

Interesting... Thanks for the reply, maybe I keep echoes than and just wait
Reply

#6
Am I missing something here?  I believe the Amazon Echo Studio can be set up as a wireless stereo pair. Why not use them as such?

Instead, the proposal is to make them as 2 active speakers which needs:
  • a custom ALSA coding to split a stereo signal into separate left and right channels; this may or may not work?
  • Sending left and right channels to 2 separate USB ports, and assume that the 2 USB ports remain in synch
  • Converting USB output to optical; requires 2 USB cables & 2 optical cables plus 2 converters

A lot of effort with a complicated setup, which may or may not work...  Not sure this is a good idea?
Reply

#7
Can this work with the Amazon Echo Studio?  This is based on what I can do with Sonos and I am assuming the Amazon Echo Studio (which I do not own) has the same capabilities, including UPnP/DLNA.
  1. Set up units with wifi and phone app
  2. Create stereo pair with phone app and check using music from phone
  3. In SnakeOil, start up LMS
  4. Enable UPnP/DLNA Bridge plugin and restart LMS
  5. After a few minutes, the stereo pair should show up as a player in LMS; you can now play music from SnakeOil to the units
[-] The following 1 user Likes Snoopy8's post:
  • agent_kith
Reply

#8
(09-Dec-2020, 05:55 PM)Snoopy8 Wrote: Can this work with the Amazon Echo Studio?  This is based on what I can do with Sonos and I am assuming the Amazon Echo Studio (which I do not own) has the same capabilities, including UPnP/DLNA.
  1. Set up units with wifi and phone app
  2. Create stereo pair with phone app and check using music from phone
  3. In SnakeOil, start up LMS
  4. Enable UPnP/DLNA Bridge plugin and restart LMS
  5. After a few minutes, the stereo pair should show up as a player in LMS; you can now play music from SnakeOil to the units

wow! what a great idea! I was sure that amazon use some kind of proprietary protocol and i never even tried this solution... thanks
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Not able to add custom audio output sjtuross 1 271 24-Sep-2023, 07:43 AM
Last Post: agent_kith
  [split] Cannot install Roon Bridge kees1000 3 731 27-May-2023, 07:27 PM
Last Post: pikachullk
  [SOLVED[split] Cannot update to RPi Snakeoil Firmware Gear Isolation U10 uglymusic 10 1,226 15-Feb-2023, 03:32 PM
Last Post: uglymusic
  [SOLVEDOutput devices - Device is closed with MPD mb32 1 404 10-Feb-2023, 12:22 AM
Last Post: hkphantomgtr
  [split] MPD v23 crashes after updating to Gear Isolation U10 sammywong 8 999 01-Jan-2023, 10:36 AM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 121
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 54
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 42
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: patricia1066
06-Mar-2024 08:49 PM
» Replies: 12
» Views: 574
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 185
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 33
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 3862
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 57
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 341
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4100

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.