Page 1 of 2

Upsampling

PostPosted: 06 May 2015, 08:25
by Discovery
I am getting good results with a Raspberry Pi 2 into an Audiolab M-DAC. It would be great to upsample the output so that the DAC has less work to do.

Re: Upsampling

PostPosted: 11 May 2015, 10:34
by paranoidjack
You can add this to the MPD config (/etc/mpd.conf) for 192Khz/24bit/2channel

Code: Select all
audio_output_format    "192000:24:2"
samplerate_converter    "soxr very high"


Using this with a Raspberry Pi2 and IQaudio DAC+

Re: Upsampling

PostPosted: 11 May 2015, 20:26
by mika-nl
Are you hear that ?

Re: Upsampling

PostPosted: 28 Jun 2016, 21:52
by nbnb
mika-nl wrote:Are you hear that ?


i have a similar problem. not for sound quality but in order to use an external DAC which needs a fixed sample rate. i was able to use soxr to enable upsampling for mpd. however upsampling for shairport does not work this way. it seems that would have to be set up within alsa.

so my feature wish: enable upsampling/resampling to a chosen rate in runeUI, which then works for all sources. preferably by using a patched alsa which uses soxr for resampling (such a patch seems to exists somewhere in the interwebs but seems not to be included in alsa)

Re: Upsampling

PostPosted: 18 Jul 2016, 09:30
by Audiotone
[quote="paranoidjack"]You can add this to the MPD config (/etc/mpd.conf) for 192Khz/24bit/2channel

Code: Select all
audio_output_format    "192000:24:2"
samplerate_converter    "soxr very high"


Would be nice if this was available in the settings menu...

Re: Upsampling

PostPosted: 18 Jul 2016, 10:59
by rikardo1979
Audiotone wrote:
paranoidjack wrote:You can add this to the MPD config (/etc/mpd.conf) for 192Khz/24bit/2channel

Code: Select all
audio_output_format    "192000:24:2"
samplerate_converter    "soxr very high"


Would be nice if this was available in the settings menu...

+1 for this

You have this option in MoodeAudio, so it is possible to achive. It all depends on developers if they going to add it into RuneAudio

Re: Upsampling

PostPosted: 18 Jul 2016, 13:34
by Audiotone
rikardo1979 wrote:
Audiotone wrote:
paranoidjack wrote:You can add this to the MPD config (/etc/mpd.conf) for 192Khz/24bit/2channel

Code: Select all
audio_output_format    "192000:24:2"
samplerate_converter    "soxr very high"


Would be nice if this was available in the settings menu...

+1 for this

You have this option in MoodeAudio, so it is possible to achive. It all depends on developers if they going to add it into RuneAudio


I tried to modify the mpd.conf file...saved it, opened it and mods were added...but after reboot mods are no longer in the conf file...what do I do wrong?

Re: Upsampling

PostPosted: 18 Jul 2016, 15:19
by hondagx35
Hi,

if you want to set an option in mpd.conf you have to use:
Code: Select all
redis-cli hset mpdconf audio_output_format "96000:24:2"

on the console and reboot to get it active.

Frank

Re: Upsampling

PostPosted: 18 Jul 2016, 16:26
by rikardo1979
hondagx35 wrote:Hi,

if you want to set an option in mpd.conf you have to use:
Code: Select all
redis-cli hset mpdconf audio_output_format "96000:24:2"

on the console and reboot to get it active.

Frank

I think you have a little typo there Frank. Should be

Code: Select all
redis-cli hset mpdconf audio_output_format "192000:24:2"


to get 24/192

Re: Upsampling

PostPosted: 18 Jul 2016, 18:12
by hondagx35
Hi rikardo1979,

this was only an example.

Frank