SOXR resampler and DSD
#1
Hi, i am using PCM upsampling to 384k by MPD plugin SOXR on RPI 4, everything works flawlessly, but problem is, this also apply to DSD which is bad, if i can play DSD native (without converting to PCM) i must disable SOX for that moment and reenable it for PCM later. Does exist some parameter to tell SOX to not resample DSD or some format restriction for example (dsf, dff) .

Thanks
Reply

#2
(09-Mar-2025, 12:03 AM)ravenman Wrote: Hi, i am using PCM upsampling to 384k by MPD plugin SOXR on RPI 4, everything works flawlessly, but problem is, this also apply to DSD which is bad, if i can play DSD native (without converting to PCM) i must disable SOX for that moment and reenable it for PCM later. Does exist some parameter to tell SOX to not resample DSD or some format restriction for example (dsf, dff) .

Thanks

Would something like this work? Modify the mpd.conf.template as such:
Code:
plugin {
  soxr {
    type = "resample"
    format = "wav" "flac" "mp3"
  }
}
I guess going ahead I will make it easier to modify the MPD configuration file. There is a custom audio output, but there really isn't any easy means to customise the plugin parts of the configuration. Until then please modify the template manually, and replace them on each Snakeoil update....
Snakeoil Operating System - Music, your way!
Reply

#3
Tried adding your suggestions to my mpd.conf, not work (mpd cannot start), also commenting out resampler section or replacing it with your text, or adding format text to resampler section, nope, same scenario, mpd cannot start.
Reply

#4
(09-Mar-2025, 05:41 PM)ravenman Wrote: Tried adding your suggestions to my mpd.conf, not work (mpd cannot start), also commenting out resampler section or replacing it with your text, or adding format text to resampler section, nope, same scenario, mpd cannot start.

Probably wrong syntax. Follow the guide on MPD and see how to do it correctly.. I will probably add this feature in 1.4.2 or later to make things easier.
Snakeoil Operating System - Music, your way!
Reply

#5
Im studied mpd documentation, but plugin section is not mentioned anywhere, tried lot of examples with quotas syntax as in mpd.conf but not work
Reply

#6
(11-Mar-2025, 02:56 AM)ravenman Wrote: Im studied mpd documentation, but plugin section is not mentioned anywhere, tried lot of examples with quotas syntax as in mpd.conf but not work
Can you show me your full mpd.conf modifications? Let me see what I can do.. It's really been a while since i last use MPD, so please give me some time to look into this (also still busy working on other things in Snakeoil).
Snakeoil Operating System - Music, your way!
Reply

#7
Yes of course, commented what iam tried direct in mpd.conf


Attached Files
.conf   mpd.conf (Size: 1.69 KB / Downloads: 1)
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
[split] MediaCenter33 not starting ing S...
Last Post: kmwgr
Yesterday 08:16 PM
» Replies: 4
» Views: 42
Wiki update - need your help!
Last Post: petemac110
Yesterday 08:24 AM
» Replies: 1
» Views: 36
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Apr-2025 12:03 AM
» Replies: 4
» Views: 198
Question about RAM Disk
Last Post: hkphantomgtr
04-Apr-2025 03:33 PM
» Replies: 4
» Views: 55
[split] How to re-set activation details
Last Post: hkphantomgtr
04-Apr-2025 03:32 PM
» Replies: 2
» Views: 40
Add UPNP/DLNA functionality
Last Post: Snoopy8
04-Apr-2025 09:50 AM
» Replies: 2
» Views: 43
Snakeoil 1.4.2 (High End U2)
Last Post: agent_kith
03-Apr-2025 11:28 AM
» Replies: 20
» Views: 980
No audio devices on RPi5 with latests bu...
Last Post: hkphantomgtr
02-Apr-2025 01:59 AM
» Replies: 6
» Views: 120
Intel NUC: I225-V vs. Thunderbolt Ethern...
Last Post: hkphantomgtr
31-Mar-2025 11:51 AM
» Replies: 2
» Views: 80
REST not responding (503 error)
Last Post: Primare11
29-Mar-2025 10:50 PM
» Replies: 9
» Views: 202

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