TunesKit Audio Capture for Mac is a smart and ultimate audio capturing solution that can record any application sound and streaming audio play through Mac system as well as extract audio tracks from video files. It supports web players, desktop media player, and other Mac applications. With this powerful Mac audio capture, you can easily and losslessly record Apple Music, and any other Mac' sound and save them in MP3, WAV, FLAC and other compressed formats for playing on any device.
First of all, you are suggested to download and install the free trial on your Mac OSX. Then simply follow the user guide here to see how to record any audio on Mac with TunesKit Audio Capture.