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:
5 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: 5799
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: 1677
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: 151

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