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 523 24-Sep-2023, 07:43 AM
Last Post: agent_kith
  [split] Cannot install Roon Bridge kees1000 3 1,385 27-May-2023, 07:27 PM
Last Post: pikachullk
  [SOLVED[split] Cannot update to RPi Snakeoil Firmware Gear Isolation U10 uglymusic 10 2,226 15-Feb-2023, 03:32 PM
Last Post: uglymusic
  [SOLVEDOutput devices - Device is closed with MPD mb32 1 713 10-Feb-2023, 12:22 AM
Last Post: hkphantomgtr
  [split] MPD v23 crashes after updating to Gear Isolation U10 sammywong 8 1,781 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
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5800
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 105
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

[-]
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.