soxr for resampling

I suggest to include soxr in the MPD for upsampling. I built it on my RapsyFi and it resamples 16bit/44.1kHz smoothly into 16bit/96kHz.

I also have tried using pipe output and stand alone sox for upsampling on my RaspyFi before. It can barely run with the default setting but cost twice CPU resource than simply using soxr. I believe soxr is the audiophile resampler Volumio cannot miss.

http://www.musicpd.org/doc/user/ch03s09.html#idp55542032
http://sourceforge.net/projects/soxr/

Lastly, I would like to have the pipe output option of mpd. It is useful for someone like me who want to play around with the sound using other softwares, such as ecasound.

I have not build soxr or mpd on Volumio yet and will report what I find afterward.

Thanks much for such a great distribution.

I tried to copy my compiled mpd, libsoxr.so.0, and libgomp.so.1 from RaspyFi to Volumio. The soxr option works with around 30% CPU but I hear a lot more pop sound. I will try to play with the buffer size/ percentage and see if the pop sound is reduced. The last resort is to recompile soxr and mpd on Volumio, which I don’t have time to do recently.

Nevertheless, I believe soxr should be able to work on volumio and will be very happy to see it in the next release.

Yes, agree on sox. You’ll find in next release, along with mpd 18.6 .
If you perceive more stutters is because of different kernel… That will be updated as well