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:

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
No device audio
Last Post: [email protected]
Yesterday 01:57 AM
» Replies: 4
» Views: 135
Working on new Snakeoil release - 1.3.x ...
Last Post: agent_kith
25-Sep-2023 01:59 PM
» Replies: 12
» Views: 271
Not able to add custom audio output
Last Post: agent_kith
24-Sep-2023 07:43 AM
» Replies: 1
» Views: 49
Activation Code not received
Last Post: sjtuross
20-Sep-2023 02:19 PM
» Replies: 2
» Views: 44
Farewell
Last Post: ea59
14-Sep-2023 12:33 AM
» Replies: 0
» Views: 39
CamillaDSP for Room Correction
Last Post: hkphantomgtr
09-Sep-2023 02:03 PM
» Replies: 20
» Views: 3303
Snakeoil Firmware - 1.2.6 (Gear Isolatio...
Last Post: hkphantomgtr
08-Sep-2023 01:15 PM
» Replies: 26
» Views: 1458
LMS not running on RPi 3B
Last Post: uglymusic
07-Sep-2023 04:09 PM
» Replies: 1
» Views: 46
Snakeoil Firmware - 1.2.13 (Gear Isolati...
Last Post: agent_kith
06-Sep-2023 07:59 AM
» Replies: 4
» Views: 736
Rpi4+AlloDigiOne sig. Snakeoil os instal...
Last Post: agent_kith
06-Sep-2023 07:36 AM
» Replies: 13
» Views: 614

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