Skip to content

Instantly share code, notes, and snippets.

@ykarikos
Last active December 5, 2020 21:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ykarikos/21582d2100b1b51e8f5b38a90e15a1c9 to your computer and use it in GitHub Desktop.
Save ykarikos/21582d2100b1b51e8f5b38a90e15a1c9 to your computer and use it in GitHub Desktop.
Aggregate live microphone and music in same audio output in MacOS

Aggregate live microphone and music in same audio output in MacOS

Here's how you can combine the audio output of some music software (e.g. Garageband) and microphone simultaneously as the input to a streaming software (e.g. Google Meet) and your headphones. I used this setup to be able to play music from Garageband and talk in Google Meet.

1. Install Soundflower

See https://github.com/mattingalls/Soundflower/releases/

2. Setup audio devices

Launch Applications → Utilities → Audio MIDI Setup.

First, create a Multi-Output Device. In the new device, check [x] External Headphones [x] Soundflower (64ch)

Multi-Ouput Device

Then, create an Aggregate Device. In the new device, check [x] Microphone [x] Soundflower (64ch)

Aggregate Device

3. Select output in the music app

In your music app, e.g. Garageband, select Multi-Output Device as the Output Device.

Garageband Preferences

4. Select input in the streaming app

In your Streaming app, e.g. Google Meet, select Aggregate Device as your microphone or input device. If you are using Google Meet for streaming, note that you must unselect Noise cancellation. Otherwise your music will be more or less muted.

Google Meet Settings

Voilà

This should do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment