VS1053

Discuss client development (or even MPD development if you feel so inclined), ask questions about the client libs, MPD feature requests from client developers, etc...
Post Reply
paysan18
Posts: 6
Joined: January 11th, 2019, 10:13 am

VS1053

Post by paysan18 » January 11th, 2019, 10:19 am

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

max
Forum team
Posts: 876
Joined: January 15th, 2013, 3:43 pm

Re: VS1053

Post by max » January 11th, 2019, 10:42 am

No, MPD can't use hardware audio codecs.

paysan18
Posts: 6
Joined: January 11th, 2019, 10:13 am

Re: VS1053

Post by paysan18 » January 11th, 2019, 11:30 am

And any other kind of high quality audio board?
The audio output of the PI 3B+ is not very high quality.

max
Forum team
Posts: 876
Joined: January 15th, 2013, 3:43 pm

Re: VS1053

Post by max » January 11th, 2019, 11:36 am

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.

max
Forum team
Posts: 876
Joined: January 15th, 2013, 3:43 pm

Re: VS1053

Post by max » January 11th, 2019, 11:38 am

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.

paysan18
Posts: 6
Joined: January 11th, 2019, 10:13 am

Re: VS1053

Post by paysan18 » January 13th, 2019, 6:44 pm

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.
}

paysan18
Posts: 6
Joined: January 11th, 2019, 10:13 am

Re: VS1053

Post by paysan18 » January 14th, 2019, 11:13 am

Max, can I see your audio settings for the livingroom mpd.conf file?

Wim

Ran
Posts: 143
Joined: February 25th, 2013, 3:47 am

Re: VS1053

Post by Ran » January 16th, 2019, 1:52 am

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

Post Reply