Page 1 of 1

VS1053

Posted: January 11th, 2019, 10:19 am
by paysan18
I'm running MPD on my Raspberry-PIzero.

I wonder if it's possible to add a VS1053 audio module you my setup.

Does anyone know maybe?

Regards, Wim

Re: VS1053

Posted: January 11th, 2019, 10:42 am
by max
No, MPD can't use hardware audio codecs.

Re: VS1053

Posted: January 11th, 2019, 11:30 am
by paysan18
And any other kind of high quality audio board?
The audio output of the PI 3B+ is not very high quality.

Re: VS1053

Posted: January 11th, 2019, 11:36 am
by max
If you just want to use VS1053 as a DAC and not as a hardware codec: anything which can be driven with ALSA can be used by MPD. I don't know if there's an ALSA driver for VS1053. That question is out of MPD's scope, however.

Re: VS1053

Posted: January 11th, 2019, 11:38 am
by max
Btw. my living room Pi uses digital audio over HDMI, and my amp's DAC is used. My philosophy is to keep in the lossless digital domain as long as possible, and convert to analog as late as possible.

Re: VS1053

Posted: January 13th, 2019, 6:44 pm
by paysan18
Thanks so far...

I decided to use the HDMI output for the audio output.
Connected a HDMI splitter to the PI-zero and ran the utilities "aplay" and "speakers-test.
They both work ok. So the HW path is ok.

But when I try to get audio from MPD I have no success.
I opened a new topic for this asking for help.

This is what I have in my /etc/mpd.conf file:

audio_output {
type "alsa"
name "HDMI"
device "hw:2" <<<<< I also tried 0 and 1.
}

Re: VS1053

Posted: January 14th, 2019, 11:13 am
by paysan18
Max, can I see your audio settings for the livingroom mpd.conf file?

Wim

Re: VS1053

Posted: January 16th, 2019, 1:52 am
by Ran
Paste the output of:

aplay -L

You should see something like this:

default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, CX20632 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
hdmi:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 3
HDMI Audio Output
hdmi:CARD=PCH,DEV=4
HDA Intel PCH, HDMI 4
HDMI Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample mixing device
dmix:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample mixing device
dmix:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample mixing device
dmix:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Direct sample mixing device
dmix:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample snooping device
dsnoop:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Direct sample snooping device
dsnoop:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Direct sample snooping device
hw:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct hardware device without any conversions
hw:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Direct hardware device without any conversions
hw:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, CX20632 Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Hardware device with all software conversions
plughw:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Hardware device with all software conversions
plughw:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample mixing device