Using Two Dac Simultaneously
#1
Hello Snakeoilers Smile

I also asked this question to upmpdcli's coder J.F Dockes but is would not be enough...
The question is:  

"When i'm plug my two dacs at the same time to my Snakeoil os based streamer, Os accepts two of them. You know actually lms can give dac change possibility to user. My theory is if i modify the upmpdcli to accept two of my dacs, i can change my dacs on lms control client simultaneously. 
Is this possible?"

Especially the question is for you @agent_kith  Smile
Thanks!
Reply

#2
(29-Oct-2020, 08:04 PM)merterbalci Wrote: Hello Snakeoilers Smile

I also asked this question to upmpdcli's coder J.F Dockes but is would not be enough...
The question is:  

"When i'm plug my two dacs at the same time to my Snakeoil os based streamer, Os accepts two of them. You know actually lms can give dac change possibility to user. My theory is if i modify the upmpdcli to accept two of my dacs, i can change my dacs on lms control client simultaneously. 
Is this possible?"

Especially the question is for you @agent_kith  Smile
Thanks!

That would be great to hear diferences between dacs in the fastest / easiest way possible. If someone change it for you you can even do a "Blind Test" between the two

I still have a Cambridge Audio Dacmagic100 and an HRT MusicStreammer III purely because i cannot decide witch one i prefer  Big Grin
Following the answer
Reply

#3
(29-Oct-2020, 08:04 PM)merterbalci Wrote: Hello Snakeoilers Smile

I also asked this question to upmpdcli's coder J.F Dockes but is would not be enough...
The question is:  

"When i'm plug my two dacs at the same time to my Snakeoil os based streamer, Os accepts two of them. You know actually lms can give dac change possibility to user. My theory is if i modify the upmpdcli to accept two of my dacs, i can change my dacs on lms control client simultaneously. 
Is this possible?"

Especially the question is for you @agent_kith  Smile
Thanks!

Answer from Jean Francois (upmpdcli)

"I don't think it is, because there is no UPnP interface to do this. The
process which is choosing the output is MPD.

It's possible to define several audio outputs in the MPD configuration and
select one or several from an MPD client, but I'm even less of an expert on
this. In any case you can't do this through upmpdcli, it's impossible in
principle (with standard UPnP)."

It's clear now the keypoint is mpd.conf
http://mpd.wikia.com/wiki/Configuration#Audio_Outputs
But how? That's the new question Smile
Reply

#4
(30-Oct-2020, 12:54 AM)merterbalci Wrote: It's clear now the keypoint is mpd.conf
http://mpd.wikia.com/wiki/Configuration#Audio_Outputs
But how? That's the new question Smile
That's where I will go first, as I reckon that is the easiest, but there are certain drawbacks, mainly because the audio output will not be in sync. But at least it gives you a PoC first step.

Once you get the PoC done, you may want to explore JACKd, or Pulse audio.

These two will do what you want. I personally think Pulse audio is detrimental to the sound, but I havn't tried JACKd yet. Look up on these two on the Internet, and see how it goes.

Technically you can use a computer and set it up as an active crossover. But it's not something I have explored myself.
Snakeoil Operating System - Music, your way!
Reply

#5
(30-Oct-2020, 08:27 AM)agent_kith Wrote: ..mainly because the audio output will not be in sync.
Is this an inherent ALSA limitation? And JACK will solve this? And does it matter if source is PCM or DSD?

As you know, I asked about running 2 DACs from 2 USB ports simultaneously and thus, will be following this thread closely.
Reply

#6
(30-Oct-2020, 08:27 AM)agent_kith Wrote:
(30-Oct-2020, 12:54 AM)merterbalci Wrote: It's clear now the keypoint is mpd.conf
http://mpd.wikia.com/wiki/Configuration#Audio_Outputs
But how? That's the new question Smile
That's where I will go first, as I reckon that is the easiest, but there are certain drawbacks, mainly because the audio output will not be in sync. But at least it gives you a PoC first step.

Once you get the PoC done, you may want to explore JACKd, or Pulse audio.

These two will do what you want. I personally think Pulse audio is detrimental to the sound, but I havn't tried JACKd yet. Look up on these two on the Internet, and see how it goes.

Technically you can use a computer and set it up as an active crossover. But it's not something I have explored myself.

That beats me Confused
Can you give me an code flow example about this? By the way i use the snakeoil in headless system so i have to use ssh codes... I'm not bad in theory but awful about coding Rolleyes
Reply

#7
(30-Oct-2020, 02:13 PM)merterbalci Wrote: That beats me Confused
Can you give me an code flow example about this? By the way i use the snakeoil in headless system so i have to use ssh codes... I'm not bad in theory but awful about coding Rolleyes
Something like this: https://jackaudio.org/faq/multiple_devices.html
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • merterbalci
Reply

#8
(30-Oct-2020, 02:33 PM)agent_kith Wrote:
(30-Oct-2020, 02:13 PM)merterbalci Wrote: That beats me Confused
Can you give me an code flow example about this? By the way i use the snakeoil in headless system so i have to use ssh codes... I'm not bad in theory but awful about coding Rolleyes
Something like this: https://jackaudio.org/faq/multiple_devices.html

And i need a little support about creation of PoC please Tumble Weeds Sorry if i'm too demanding. Sad
Reply

#9
(29-Oct-2020, 08:04 PM)merterbalci Wrote: "When i'm plug my two dacs at the same time to my Snakeoil os based streamer, Os accepts two of them. You know actually lms can give dac change possibility to user. My theory is if i modify the upmpdcli to accept two of my dacs, i can change my dacs on lms control client simultaneously. 
Is this possible?"

Very late answer, but yes you can output to 2 DACs simultaneously. You need to modify upmpdcli's mpd.conf.template, please see this Wiki page which applies to  both upmpdcli and MPD.
https://www.snakeoil-os.net/wiki/Players...al_outputs
[-] The following 1 user Likes Snoopy8's post:
  • agent_kith
Reply



Bookmarks



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
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 612
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 149
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 70
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 52
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 195
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 41
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 4137
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 69
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 365
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4125

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