Split stereo channels over two simultaneous usb audio devices?
|
Posts: 32
Threads: 7
Joined: Dec 2017
Reputation:
0
Location: slovakia
so i ended up with two amazon echo studios and i have no use for a wireless speakers - gift 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
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(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 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!
Posts: 32
Threads: 7
Joined: Dec 2017
Reputation:
0
Location: slovakia
03-Dec-2020, 07:10 PM
(This post was last modified: 03-Dec-2020, 07:11 PM by micindev.)
(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 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/
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(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!
Posts: 32
Threads: 7
Joined: Dec 2017
Reputation:
0
Location: slovakia
(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
Posts: 642
Threads: 37
Joined: Mar 2019
Reputation:
150
Location: Melbourne, Australia
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?
Posts: 642
Threads: 37
Joined: Mar 2019
Reputation:
150
Location: Melbourne, Australia
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.
- Set up units with wifi and phone app
- Create stereo pair with phone app and check using music from phone
- In SnakeOil, start up LMS
- Enable UPnP/DLNA Bridge plugin and restart LMS
- 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
Posts: 32
Threads: 7
Joined: Dec 2017
Reputation:
0
Location: slovakia
(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.
- Set up units with wifi and phone app
- Create stereo pair with phone app and check using music from phone
- In SnakeOil, start up LMS
- Enable UPnP/DLNA Bridge plugin and restart LMS
- 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
|
Users browsing this thread: |
3 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
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.
|
|
|