Get ALSA enabled programs to use Pulse Audio in Hardy Heron

After re-installing my system today I realise that all my ALSA apps were not making a tweet. I remembered that using Pulse on my previous system (Ubuntu Gusty Gibbon) was working properly, but i had to do some trickery for the ALSA apps to use Pulse. Looking back into my backup files here is what I would recommend:

edit /etc/asound.conf or ~/.asoundrc:

pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}

and then:

sudo apt-get install libasound2-plugins

and you should be good to go.

You might also add some more GUI tools to configure PulseAudio:

sudo apt-get install padevchooser paman paprefs pavucontrol pavumeter