MPD Configuration File

This page provides some examples on setting MPD configuration. MPD configuration file are stored in /etc/mpd.conf. To edit, type:

# nano /etc/mpd.conf

or

# vi /etc/mpd.conf

After modification of /etc/mpd.conf. Type the following command to restart mpd to make your change effective:

# /etc/init.d/mpd restart

Changing Mixer Type

MuBox by defaults set mixer_type to "hardware". MPD supports 3 types of mixers. See below for description. For best sound quality, set mixer_type to "disabled". Setting to "software" is not recommended unless it is really necessary to control volume for your use, e.g. listen via headphone/earphone, and your DAC does not have hardware volume mixer built-in.

# Volume control mixer ########################################################
#
# These are the global volume control settings. By default, this setting will
# be detected to the available audio output device, with preference going to 
# hardware mixing. Hardware and software mixers for individual audio_output
# sections cannot yet be mixed.
#
# An example for controlling an ALSA, OSS or Pulseaudio mixer; If this
# setting is used other sound applications will be affected by the volume
# being controlled by MPD.
#                                                                               
#mixer_type                     "hardware"                                      
#                                                                               
# An example for controlling all mixers through software. This will control     
# all controls, even if the mixer is not supported by the device and will not   
# affect any other sound producing applications.                                
#                                                                               
#mixer_type                     "software"                                      
#                                                                               
# This example will not allow MPD to touch the mixer at all and will disable    
# all volume controls.                                                 
#                                                                               
#mixer_type                     "disabled"                                      
#                                                                               
###############################################################################