Well, the first thing that comes to mind is using a capture app like Audio Hijack. It will record any sound your Mac is playing and save it as MP3, AIFF, AAC or whatever. But it's a realtime app, so you can't just tell it to batch process a bunch of files.