How to record from pulseaudio
In 2007, I wrote a post discussing how to record from the soundcard. It needs updating to show how to record under pulseaudio. It is easier (dare I say it):
parec --file-format=wav -d 1 interesting_show.wav
It's a good idea to play with the -d (device) parameter - 0 and 1 are good choices depending on the machine, my USB soundcard is 2.