And if you want a totally free way to do this you can use Audacity and Soundflower. The only problem is you cant hear what you are recording while you are recording it.
I made a screencast of how to set it up. <—- Warning Audio. And the audio on the vid if a bit off.