We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


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
  [SOLVEDNo audio devices on RPi5 with latests builds miksi 16 1,285 21-Apr-2025, 12:52 AM
Last Post: miksi
  [SOLVED[split] MediaCenter33 not starting ing Snakeoil 1.4.3 (High End U3) kmwgr 4 426 06-Apr-2025, 08:16 PM
Last Post: kmwgr
  [split] How to re-set activation details hkphantomgtr 2 245 04-Apr-2025, 03:32 PM
Last Post: hkphantomgtr
  [split] Problem starting API server 1.4.1 (Missing qsqlite3 lib) clark8888 17 1,135 26-Mar-2025, 09:33 AM
Last Post: clark8888
  Snakeoil 1.4 and Squeezelite R2 - not rembering USB audio output petemac110 4 494 23-Feb-2025, 07:47 PM
Last Post: petemac110



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
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
Today 06:43 AM
» Replies: 14
» Views: 812
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 5645
Android Firefox issues with forum
Last Post: agent_kith
03-Jun-2025 04:14 PM
» Replies: 20
» Views: 1046
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 502
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 362
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 3038
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3320
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 10282
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2437
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 631

[-]
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-2025. Theme © Melroy van den Berg.