Howto Get mpd running with pulseaudio in Ubuntu 8.04 (Hardy Heron)
The daemon is controlled through a client which need not run on the same computer mpd runs on. The separate client and server design allows users to choose a user interface that best suites their tastes independently of the underlying daemon (this package) which actually plays music.
PulseAudio is the standard sound server in Ubuntu Hardy Heron 8.04.
PulseAudio Preferences (paprefs) is a simple GTK based configuration dialog for the PulseAudio sound server.
Install mpd and paprefs using the following command
sudo aptitude install mpd paprefs
In PulseAudio Preferences, make sure these two options are enabled
* Enable network access to local sound devices
* Don't require authentication
Now you need to edit mpd.conf file
sudo gedit /etc/mpd.conf
add the following lines
name "My MPD PulseAudio Output"
save and exit the file
Don't add any other options to this! Let MPD just use PulseAudio's defaults.
Now, restart MPD using the following command
sudo /etc/init.d/mpd restart
Howto fix system sounds in hardy pulseaudio
If you have any problems with system sounds in hardy pulseaudio follow this procedure