From 1527c82fde8a538fb3d13d65e4ee8aec785cb304 Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue, 20 Oct 2026 21:08:53 +0800 Subject: [PATCH] ci: silence alert sounds on Blacksmith so system audio stays empty on macOS 15 --- .github/workflows/verify-recording.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/verify-recording.yml b/.github/workflows/verify-recording.yml index 671fe6b73d..3420e677f8 100644 --- a/.github/workflows/verify-recording.yml +++ b/.github/workflows/verify-recording.yml @@ -251,6 +251,15 @@ jobs: done SwitchAudioSource -s "BlackHole 2ch" -t output SwitchAudioSource -s "BlackHole 2ch" -t input + # macOS 15 plays alert and interface sounds through the default + # output, BlackHole, so ScreenCaptureKit records them as system + # audio and Instant's mixed track and every export carry them over + # the microphone markers. Hosted runners and macOS 26 capture + # silence there; silence these too so every runner records the same. + osascript -e 'set volume alert volume 0' || true + defaults write -g com.apple.sound.uiaudio.enabled -int 0 + defaults write -g com.apple.sound.beep.volume -float 0 + defaults write -g com.apple.sound.beep.feedback -int 0 echo "outputs:"; SwitchAudioSource -a -t output echo "default output: $(SwitchAudioSource -c -t output)"