Skip to content

Releases

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 05 Oct 08:34

Full Changelog: v0.1.6...v0.1.7

v0.1.6

Choose a tag to compare

@github-actions github-actions released this 04 Oct 04:41

Apple system sounds no longer pause your music

A notification ding, an alert beep, the screenshot shutter or the charging chime no longer pauses Spotify. A short sound from any app, however short, still does.

Sonar demo

  • New switch: Preferences › Auto-Pause › Ignore Apple system sounds, on by default.
  • Decides by who is playing, not by length or loudness. Every Apple system sound, including Notification Center sounds, is played by /usr/sbin/systemsoundserverd, and the charging chime by PowerChime. Sonar identifies those players by their executable path on the SIP-protected system volume (proc_pidpath, about 1 µs per process), so no app can pass itself off as one. An app playing Apple's own Glass.aiff itself still pauses the music.
  • Fixes the old exclusion. It matched daemon names through NSRunningApplication, which has no name for daemons, so it never matched and every notification paused the music.
  • Both detectors (Core Audio tap and process poll) apply the rule.

Verified end to end

scripts/system-sounds-smoke.py ran against the real app and the real Spotify on the Instant preset (0.1 s of sound is enough to pause):

Trials Result
29 Apple system sounds: beeps, alerts, all 14 sounds in /System/Library/Sounds, a burst of six, screenshots, real Notification Center alarms. Each one was proven to have played 29 / 29 never paused
15 short app sounds: a 0.4 s tone, Glass.aiff via afplay, Ping.aiff via NSSound 15 / 15 paused and resumed, median 0.41 s
Control: Glass.aiff through systemsoundserverd with the switch off 2 / 2 paused

Engine tests: 318, green.

Install / upgrade

brew update && brew upgrade --cask sonar

The demo video (sonar-0.1.6-demo.mp4) is attached below.

Full changelog: v0.1.5...v0.1.6

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 30 Sep 03:24

Full Changelog: v0.1.4...v0.1.5

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 30 Sep 02:12

Full Changelog: v0.1.3...v0.1.4

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 29 Sep 22:04

What's Changed

  • docs: restructure Install, with a proper Updating section by @Kathir-D in #1

New Contributors

Full Changelog: v0.1.2...v0.1.3

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 29 Sep 08:59

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 07:00

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 06:46