Use Shazam's Mac app through Porthole to match songs without recording every sound in the room

July 2014

Shazam, the amazing music recognizing service, released a Mac app today. It listens for audio around your Mac and tries to match it to music and tv series. Pretty awesome!

I don’t particularly like the idea of having an app listening to every sound in my office/home though. So I did some testing and it seems it selects the default audio device for recording. Normally this is your microphone, which obviously picks up any sound in the room.

Shazam for Mac

If you’re streaming to AirPlay speakers with Porthole however, the default recording device is Soundflower. Soundflower only records all the audio that would normally come out of your Mac’s speakers. This feels a lot more private and comfortable to me.

Here’s how to set it up:

  1. Download Shazam;
  2. Quit Shazam if it’s already running (important, don’t skip this!);
  3. Download Porthole;
  4. Start streaming with Porthole;
  5. Launch Shazam.

If you stop streaming, Shazam will still be listening to Soundflower’s output, which outputs nothing. As an added bonus, because the sound comes in crystal clear, Shazam might be able to match it a little faster ;).

Do note that Shazam might change this behavior in the future and force it to use the microphone, but for now this seems to be a more private way to use Shazam on your Mac. Also remember that if you restart Shazam (or run it at login) it will default to using the microphone.

Porthole app icon

Porthole

AirPlay all audio to multiple speakers

Play all audio from your Mac through multiple AirPlay speakers at the same time.

Discontinued macOS Audio Spotify