Unable to play 24bit files

General Discussion about MPD – anything that doesn't fit in the other MPD forums.
Post Reply
bodiebill
Posts: 5
Joined: January 10th, 2018, 1:15 pm

Unable to play 24bit files

Post by bodiebill » January 10th, 2018, 1:26 pm

Last week I installed mpd on a new Ubuntu 10 installation. Since then can no longer play PCM files with a bit resolution of 24 (or 32); they just generate a loud hiss. Only 16bit files play. This applies to both my DAC's. The samplerate is no problem, it can go as high as 176 kHz (Audio Aéro DAC) or 384 kHz (Lampizator DAC); but the bitrate has to be 16, or I get the nasty hiss. (DSD up to DSD256 is no problem.)

Anyone has a clue?

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

Re: Unable to play 24bit files

Post by max » January 10th, 2018, 2:07 pm


bodiebill
Posts: 5
Joined: January 10th, 2018, 1:15 pm

Re: Unable to play 24bit files

Post by bodiebill » January 11th, 2018, 11:07 pm

Thanks for the link. I already looked at the manual, but could not find anything to answer my question. Hence my post on this forum.
Am I overlooking something?

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

Re: Unable to play 24bit files

Post by max » January 12th, 2018, 6:14 am

Are you serious? I mean, really?

I've got a hard time imagining that you missed everything from "When you do request help, post the following data" until "Your collaboration is necessary to solve your problem. We can’t help you if you don’t follow the instructions above." Which means you did not read two thirds of the page I pointed you to. Did you only read the headlines?

Hell, I don't even know your MPD version number. I mean, WTF.

bodiebill
Posts: 5
Joined: January 10th, 2018, 1:15 pm

Re: Unable to play 24bit files

Post by bodiebill » January 12th, 2018, 11:13 am

Apologies Max! I am new here, but thanks to your guidance & directness – which I do appreciate – I hope to get the hang of it soon.

Below please find mpd version, mpd.conf and log info.

Thanks in advance!

+++++++++++++++++++++
$ mpd --version
Music Player Daemon 0.20.9

Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2017 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
simple proxy upnp

Storage plugins:
local smbclient nfs curl

Neighbor plugins:
smbclient upnp

Decoders plugins:
[mad] mp3 mp2
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[opus] opus ogg oga
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[mpcdec] mpc
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[mikmod] amf dsm far gdm imf it med mod mtm s3m stm stx ult uni xm
[sidplay] sid mus str prg P00
[wildmidi] mid
[fluidsynth] mid
[adplug] amd d00 hsc laa rad raw sa2
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz
[pcm]

Filters:
libsamplerate soxr

Tag plugins:
id3tag

Output plugins:
shout null fifo pipe alsa roar ao oss openal pulse jack httpd recorder

Encoder plugins:
null vorbis opus lame wave flac

Archive plugins:
[bz2] bz2
[zzip] zip
[iso] iso

Input plugins:
file alsa archive curl ffmpeg smbclient nfs mms cdio_paranoia

Playlist plugins:
extm3u m3u pls xspf asx rss soundcloud flac cue embcue

Protocols:
file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// cdda:// alsa://

Other features:
avahi epoll icu inotify ipv6 systemd tcp un

+++++++++++++++++++++
part of mpd.conf:

audio_output {
type "alsa"
name "usb DAC"
period_time "8192"
fragment_size "4096"
device "hw:1,0"
# format "*:24:2"
buffer_time "131072"
mixer_type "disabled"
mixer_device "disabled"
# mixer_control "PCM" # optional
# mixer_index "0" # optional
auto_resample "no"
auto_format "no"
dop "no"
dsd_usb "no"
dsd_native "yes"
dsd_native_type "2"
audio_buffer_size "51200"
buffer_before_play "100%"

+++++++++++++
relevant (?) parts of log file:

Jan 12 12:09 : client: [0] command returned 0
Jan 12 12:09 : client: [0] process command "status"
Jan 12 12:09 : client: [0] command returned 0
Jan 12 12:09 : client: [0] process command "currentsong"
Jan 12 12:09 : client: [0] command returned 0
Jan 12 12:09 : client: [0] process command "playlistinfo "1""
Jan 12 12:09 : client: [0] command returned 0
Jan 12 12:09 : decoder_thread: probing plugin sndfile
Jan 12 12:09 : decoder: audio_format=44100:32:2, seekable=true
Jan 12 12:09 : alsa_output: opened hw:1,0 type=HW
Jan 12 12:09 : alsa_output: buffer: size=16..131072 time=362..2972155
Jan 12 12:09 : alsa_output: period: size=8..65536 time=181..1486078
Jan 12 12:09 : alsa_output: format=S32_LE (Signed 32 bit Little Endian)
Jan 12 12:09 : alsa_output: buffer_size=5780 period_size=361
Jan 12 12:09 : output: opened plugin=alsa name="usb DAC" audio_format=44100:32:2
...
Jan 12 12:09 : client: [0] process command "stop"
Jan 12 12:09 : playlist: stop
Jan 12 12:09 : player: played "http://192.168.1.203:49152/audirvana/audio_0_7.wav"
Jan 12 12:09 : output: closed plugin=alsa name="usb DAC"

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

Re: Unable to play 24bit files

Post by max » January 12th, 2018, 1:22 pm

The options in your configuration file indicate that you're not using MPD, but a well-known bad fork which is unsupported here.

And even if you're not running that fork (anymore): you still didn't read the "help" page. It reads: "make sure you have the latest MPD version (0.20.15)".

bodiebill
Posts: 5
Joined: January 10th, 2018, 1:15 pm

Re: Unable to play 24bit files

Post by bodiebill » January 12th, 2018, 3:02 pm

Thanks, I was not aware of it being a fork. I am running on a Ubuntu 17.10 Artful mini installation. I added all Artful repositories
When I tried to install the latetst version of mpd I got:

$ sudo apt-get install mpd
[sudo] password for *****:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mpd is already the newest version (0.20.9-2).

Which may be explained by the fact that this is a fork.

It may be my lack of Linux knowledge, but I would like to persist as mpd gives me the best sound I ever had.

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

Re: Unable to play 24bit files

Post by max » January 12th, 2018, 10:47 pm

No, Ubuntu has the real MPD, but it ships an oudated known-buggy version. Please ask Ubuntu for help, because this project can't support outdated known-buggy versions.

bodiebill
Posts: 5
Joined: January 10th, 2018, 1:15 pm

Re: Unable to play 24bit files

Post by bodiebill » January 21st, 2018, 1:39 pm

Solved! DSD and hires PCM (such as 24bit) now work flawlessly with a Ubuntu 17.10 minimal install with upmpdcli and MPD version 0.20.12 as supplied by:
https://launchpad.net/~jean-francois-do ... ubuntu/mpd
With Audirvana+ as control point from a mac, the sound is gorgeous!

Post Reply