We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[SOLVED] MPD Pipe output
#21
(24-Feb-2021, 01:45 PM)agent_kith Wrote:
(24-Feb-2021, 11:25 AM)Snoopy8 Wrote: Finally got round to looking at this. Have 2 DACs, can play to either HW:1,0 or HW 0,0 but not both together (in music player tab).  How do I define a second output and enable both?
That might require a UI update I believe. I'm working on getting Pi4 to work with Gear Isolation right now. Will look into this once I get that done. Remind me if I forget :p.

Been so busy with so many things it's hard to keep track.
If it is easier, I can go under and create the config file entries.  Point me in the right direction and I should be able to do things.
Reply

#22
(24-Feb-2021, 05:56 PM)Snoopy8 Wrote: If it is easier, I can go under and create the config file entries.  Point me in the right direction and I should be able to do things.
Look under /var/www/players/mpd-022/mpd.template (or mpd.conf.template). Modify the file as needed, restart MPD and see how it goes.

Note that right now this config file will be overwritten next time you apply an update. I'll add the feature to modify the file from the webapp in a future update.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Snoopy8
Reply

#23
(25-Feb-2021, 04:28 PM)agent_kith Wrote:
(24-Feb-2021, 05:56 PM)Snoopy8 Wrote: If it is easier, I can go under and create the config file entries.  Point me in the right direction and I should be able to do things.
Look under /var/www/players/mpd-022/mpd.template (or mpd.conf.template). Modify the file as needed, restart MPD and see how it goes.

Note that right now this config file will be overwritten next time you apply an update. I'll add the feature to modify the file from the webapp in a future update.
Thank you.  I managed to edit the mpd.conf.template file to create 2 ALSA outputs and got music to deliver to both DACs simultaneously.
Reply

#24
(25-Feb-2021, 07:38 PM)Snoopy8 Wrote: Thank you.  I managed to edit the mpd.conf.template file to create 2 ALSA outputs and got music to deliver to both DACs simultaneously.
Nice, appreciate if you can post a how-to in the walkthrough section, or even the wiki?

Curious, are the 2 DAC's in sync? Now sure how to easily measure this, I'm sure they've drifted, and there'll be jitter.

Some audio cards (or DACs) have the ability to sync to a master clock (most pro gear will have this)..
Snakeoil Operating System - Music, your way!
Reply

#25
(26-Feb-2021, 09:29 AM)agent_kith Wrote:
(25-Feb-2021, 07:38 PM)Snoopy8 Wrote: Thank you.  I managed to edit the mpd.conf.template file to create 2 ALSA outputs and got music to deliver to both DACs simultaneously.
Nice, appreciate if you can post a how-to in the walkthrough section, or even the wiki?

Curious, are the 2 DAC's in sync? Now sure how to easily measure this, I'm sure they've drifted, and there'll be jitter.

Some audio cards (or DACs) have the ability to sync to a master clock (most pro gear will have this)..
Thank you for your support; this was much easier than I anticipated.  So far, been doing a proof of concept. Will do a write-up once I have implemented it in a few weeks time. 

Yes, if using standard USB ports, will get drift. Am using an external USB card that has 2 USB ports, driven by a master clock.  One will drive my system, second one will drive dual subs which is optimised by MSO (uses subs to "fill troughs" in the bass response of mains).

Question: is there an equivalent config for LMS to do dual simultaneous output?
Reply

#26
(26-Feb-2021, 12:32 PM)Snoopy8 Wrote: Question: is there an equivalent config for LMS to do dual simultaneous output?
Easiest way is to create a new ALSA device and "chain" it to your two DACs. (Example)

That's the way I'm going to do this in the future. It's kind of weird, although there're lots of progress made in the past 2+ months, why do I still have the feeling there's still tons of things to do? Think Big Grin
Snakeoil Operating System - Music, your way!
Reply

#27
(26-Feb-2021, 12:41 PM)agent_kith Wrote:
(26-Feb-2021, 12:32 PM)Snoopy8 Wrote: Question: is there an equivalent config for LMS to do dual simultaneous output?
Easiest way is to create a new ALSA device and "chain" it to your two DACs. (Example)

I was anticipating having to do it that way originally.  It is easier within Mpd to define 2 audio outputs in template and it is done. 

The following comments have not yet been tested, but I think:
  • Dual outputs in Mpd should be able to do native DSD
  • Using ALSA chain, you can only define PCM streams, and will have to use DoP
  • If using upmpdcli with LMS, can modify same Mpd template in upmpdcli folder to do dual outputs
Reply

#28
Have now updated the Wiki on MPD Dual Outputs
https://www.snakeoil-os.net/wiki/Players...al_outputs

Confirming that this method allows dual DSD outputs and can be used in LMS running upmpdcli as the client.
Reply



Bookmarks



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
Today 06:43 AM
» Replies: 14
» Views: 819
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 5706
Android Firefox issues with forum
Last Post: agent_kith
03-Jun-2025 04:14 PM
» Replies: 20
» Views: 1047
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 503
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 362
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 3041
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3331
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 10304
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2437
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 631

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