Record screen with both input and output sound in Mac with Apple silicon

macos

When I record the screen using shift+command+5 on a Mac, only my voice is recorded. I want to record both input and output sound with specifying a virtual audio device as a microphone.

Soundflower is a tool for creating a virtual audio device, but development has stopped and it is not compatible with Apple silicon Mac. BlackHole is compatible with Apple silicon. There are three devices 2ch, 16ch, and 64ch, but since only 2ch is used, any one seems to be fine. Background Music can be used alone to input and output to other devices, and it can also change the volume for each application.

$ brew install --cask background-music

A virtual device that combines multiple devices can be created from the Audio MIDI settings, but if I set Multi-Output Device, I can no longer adjust the volume using Function keys, which is inconvenient, so I chose to use Background Music, which only needs to set Aggregate Device.

Setting Background Music as a sound output and the Aggregate Device as a sound input, I succeeded to record both input and output sounds. However, output sound during recording became bad like a machine.

After trial and error, I found that the machine sound no longer happened by setting the output device to other devices such as the built-in speaker for Background Music and making it muted, and streaming the sound to AirPods with LadioCast instead. I don’t really understand.

References

【やじうまミニレビュー】 Macで音声付き録画を可能にする「BlackHole」。ビデオ会議の記録におすすめ

macOS版DiscordやOBSでオーディオIFを通じて音声の入出力ができない問題の解決法 - Qiita