Configuring MPD to use the TauDAC as audio output

Below is a configuration file for MPD, it configures the TauDAC as audio output and is optimized for bit perfect playback. You can specify the path to this file on the command line, or save it in a location where MPD can find it, for example at /etc/mpd.conf. See the mpd.conf manpage for further details.

# mpd configuration file for the TauDAC

## audio outputs
audio_output {
        type          "alsa"
        name          "TauDAC"
        device        "hw:0,0"
        auto_resample "no"
        auto_format   "no"
        auto_channels "no"
        mixer_type    "none"
        replaygain    "off"
        use_mmap      "yes"
}

## paths
music_directory       "/home/pi/music"
playlist_directory    "/home/pi/playlists"
db_file               "/home/pi/.config/mpd/tag_cache"
pid_file              "/home/pi/.config/mpd/pid"
state_file            "/home/pi/.config/mpd/state"
sticker_file          "/home/pi/.config/mpd/sticker"
log_file              "syslog"

## general
user                  "pi"
filesystem_charset    "UTF-8"
id3v1_encoding        "UTF-8"
log_level             "default"
auto_update           "yes"
auto_update_depth     "0"

## network
bind_to_address       "0.0.0.0"
port                  "6600"

Adopt the paths to your needs, or create the required directories as follows:

mkdir /home/pi/music mkdir /home/pi/playlists mkdir -p /home/pi/.config/mpd

References

  1. MPD Configuration Documentation
  2. mpd-configure: a script that creates configuration files for MPD