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,956
Threads: 192
Joined: Feb 2016
Reputation:
644
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,956
Threads: 192
Joined: Feb 2016
Reputation:
644
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: 764
Threads: 40
Joined: Mar 2019
Reputation:
203
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: 764
Threads: 40
Joined: Mar 2019
Reputation:
203
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: |
1 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
Latest Threads
|
Normal/Inverted Phase Playback
Last Post: hkphantomgtr
Yesterday 05:05 PM
» Replies: 8
» Views: 3578
|
Snakeoil 1.4.3 (High End U3)
Last Post: Snoopy8
23-Apr-2025 04:13 PM
» Replies: 31
» Views: 1232
|
Work In Progress: 1.4.4
Last Post: agent_kith
23-Apr-2025 11:35 AM
» Replies: 13
» Views: 268
|
Wiki update - need your help!
Last Post: Snoopy8
22-Apr-2025 02:23 PM
» Replies: 7
» Views: 179
|
No audio devices on RPi5 with latests bu...
Last Post: miksi
21-Apr-2025 12:52 AM
» Replies: 16
» Views: 441
|
new install issues
Last Post: Snoopy8
19-Apr-2025 01:08 PM
» Replies: 7
» Views: 189
|
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 267
|
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 113
|
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 77
|
SQ difference - Raspberry Pi vs x86_64?
Last Post: agent_kith
09-Apr-2025 03:41 PM
» Replies: 15
» Views: 1083
|
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.
|
|
|