MPD: Soxr resampling

Suggestions/requests/ideas for RuneAudio core features and functions

MPD: Soxr resampling

Postby paranoidjack » 17 Mar 2015, 16:33

With the release of the RaspberryPI2 it should be possible to resample audio without putting too much stress on the hardware - could we perhaps see the option to resample within the MPD configuration menu in future revisions?
paranoidjack
 
Posts: 7
Joined: 12 Mar 2015, 19:54

Re: MPD: Soxr resampling

Postby ACX » 17 Mar 2015, 16:48

Yes, with more powerful hardware this is going to be integrated in the future, with a proper user interface to setup it.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: MPD: Soxr resampling

Postby paranoidjack » 17 Mar 2015, 17:23

Thanks, good to hear.

Am I right to think that the MPD that's included in the Raspberry PI 2 image natively supports Sox resampling?

I ask because I've added the lines below to the mpd.conf and there's a sharp rise to around 30-35% cpu usage which I presume is the resampling.

audio_output_format "192000:24:2"
samplerate_converter "soxr very high"
paranoidjack
 
Posts: 7
Joined: 12 Mar 2015, 19:54

Re: MPD: Soxr resampling

Postby ACX » 18 Mar 2015, 15:33

paranoidjack wrote:Am I right to think that the MPD that's included in the Raspberry PI 2 image natively supports Sox resampling?

Let's wait Frank's confirmation for this, but it should be so.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: MPD: Soxr resampling

Postby flovato » 19 Nov 2016, 19:53

Hi guys this is my actual setup.

Raspberry PI 3 with Moode audio.
DAC Gustard X20 connected to Raspberry I2S.

I would like to work Rune because listen Spotify and i prefer Rune GUI.

Gustard X20 I2S works in Moode only in resampling 24/192 soxr very hight quality.

How to set same in Rune ?
Can Someone help me ?
flovato
 
Posts: 3
Joined: 19 Nov 2016, 19:17

Re: MPD: Soxr resampling

Postby hondagx35 » 20 Nov 2016, 16:49

Hi flovato,

Gustard X20 I2S works in Moode only in resampling 24/192 soxr very hight quality.

How to set same in Rune ?

This can be done by adding
format "192000:24:*"
to your mpd.conf file.

The problem is, that rune modifies this file each time you reboot or save MPD settings.
To fix this you have to add your DAC to our database and also add this format option.
For a first test you can try:
- get access to the console
- modify /etc/mpd.conf
Code: Select all
audio_output {
   name       "snd_rpi_hifiberry_dacplus"
   type       "alsa"
   device       "hw:1,0"
   auto_resample    "no"
   auto_format    "no"
   format   "192000:24:*"
   enabled    "yes"
}

- restart mpd
Code: Select all
systemctl restart mpd


If this works we can try to add your DAC to the data base.
For this we need the debug info gathered while DAC is attached.

This will not work for spotify, because spotify directly outputs the sound through alsa with 16/48000.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: MPD: Soxr resampling

Postby flovato » 23 Nov 2016, 15:15

Thanks Frank.
flovato
 
Posts: 3
Joined: 19 Nov 2016, 19:17

support RuneAudio Donate with PayPal


Return to Feature request

Who is online

Users browsing this forum: No registered users and 5 guests