Recording System Audio Output on a Macbook

Several times I've needed to make a recording of the system audio on my Macbook. Typical reasons are: I'm recording a software demo video, where the software produces audio output. I'm making a video in which I'm narrating over an existing recording or video, so I need to record both …