As long as you can play the audio on iTunes, you can convert it to MP3, AAC, FLAC or WAV with iTunes Audio Converter.
NoteBurner iTunes Audio Converter for Mac is a Mac audio converter which helps you to convert Apple Music, M4A, M4B, AA audiobooks and M4P audio to MP3, AAC, FLAC or WAV.