Background Music, a macOS audio utility: automatically pause your music, set individual apps' volumes and record system audio.
This report summarizes scanner evidence for kyleneideck/BackgroundMusic, a C++ project with 19,331 GitHub stars. SynthScan examined 53,098 lines of code across 257 source files, recording 395 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 8.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 391 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 395 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 395 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | uninstall.sh | 1 | #!/bin/bash | COMMENT |
| LOW | build_and_install.sh | 1 | #!/bin/bash | COMMENT |
| LOW | build_and_install.sh | 21 | # | COMMENT |
| LOW | build_and_install.sh | 821 | COMMENT | |
| LOW | package.sh | 1 | #!/bin/bash | COMMENT |
| LOW | package.sh | 21 | # | COMMENT |
| LOW | package.sh | 81 | COMMENT | |
| LOW | BGMDriver/BGMDriver/BGM_PlugInInterface.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_PlugInInterface.cpp | 21 | // Copyright (C) 2013 Apple Inc. All Rights Reserved. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_NullDevice.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_NullDevice.cpp | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_NullDevice.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_NullDevice.h | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_XPCHelper.m | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_XPCHelper.m | 21 | // Copyright © 2020 Aleksey Yurkevich | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_AbstractDevice.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_AbstractDevice.cpp | 261 | CAException(kAudioHardwareBadPropertySizeError), | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_AudibleState.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_AudibleState.cpp | 21 | // Copyright © 2016 Josh Junon | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_AudibleState.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_AudibleState.h | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Control.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Stream.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Stream.cpp | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_VolumeControl.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_PlugIn.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_PlugIn.cpp | 21 | // Copyright (C) 2013 Apple Inc. All Rights Reserved. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.h | 21 | // Copyright (C) 2013 Apple Inc. All Rights Reserved. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.h | 41 | // TODO: Update the large comment below to reflect what was removed from SA_Object.h? It hasn't | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.h | 61 | // its base class is kAudioBooleanControlClassID. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.h | 81 | // object. This also means taking care to handle the Deactivation of owned objects. For example, an | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.h | 101 | // This class also defines methods to implement the portion of the | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_MuteControl.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_MuteControl.h | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Device.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Device.cpp | 21 | // Copyright © 2017 Andrew Tonner | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Device.cpp | 41 | #include "CAException.h" | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Device.cpp | 661 | outDataSize = sizeof(UInt32); | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_XPCHelper.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_XPCHelper.h | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_AbstractDevice.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_TaskQueue.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_TaskQueue.cpp | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Object.cpp | 21 | // Copyright (C) 2013 Apple Inc. All Rights Reserved. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Stream.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Stream.h | 21 | // An input or output audio stream. Each stream belongs to a device (see BGM_AbstractDevice), which | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_MuteControl.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_MuteControl.cpp | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_TaskQueue.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_TaskQueue.h | 21 | // | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_TaskQueue.h | 141 | CAPThread mRealTimeThread; | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_TaskQueue.h | 161 | semaphore_t mRealTimeThreadSyncTaskCompletedSemaphore; | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_Control.h | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_VolumeControl.cpp | 1 | // This file is part of Background Music. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_VolumeControl.cpp | 21 | // Copyright (C) 2013 Apple Inc. All Rights Reserved. | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_VolumeControl.cpp | 381 | // Apply the amount of gain/loss for the current volume to the audio signal by multiplying | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_VolumeControl.cpp | 421 | // device (more specifically, a linear mapping of it onto [0,1]) or macOS's volume sliders | COMMENT |
| LOW | BGMDriver/BGMDriver/BGM_PlugIn.h | 1 | // This file is part of Background Music. | COMMENT |
| 309 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | uninstall.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | build_and_install.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | package.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | BGMDriver/BGMDriver/quick_install.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | BGMApp/BGMApp/_uninstall-non-interactive.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | BGMApp/BGMAppTests/UITests/skip-ui-tests.py | 3 | # This file is part of Background Music. | COMMENT |
| MEDIUM | BGMApp/BGMXPCHelper/post_install.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | BGMApp/BGMXPCHelper/post_install.sh | 98 | # Create an unprivileged user for BGMXPCHelper to run as. | COMMENT |
| MEDIUM | BGMApp/BGMXPCHelper/post_install.sh | 120 | # Create the group. | COMMENT |
| MEDIUM | BGMApp/BGMXPCHelper/post_install.sh | 125 | # Create the user. | COMMENT |
| MEDIUM | BGMApp/BGMXPCHelper/safe_install_dir.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | BGMApp/BGMXPCHelper/safe_install_dir.sh | 150 | # Create the installation directory if it doesn't exist already. | COMMENT |
| MEDIUM | Images/generate_icon_pngs.sh | 4 | # This file is part of Background Music. | COMMENT |
| MEDIUM | SharedSource/Scripts/set-version.sh | 3 | # This file is part of Background Music. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | BGMDriver/BGMDriver/BGM_Device.cpp | 551 | // fill out the list with as many objects as requested, which is everything | COMMENT |
| HIGH | BGMDriver/BGMDriver/BGM_Device.cpp | 700 | // fill out the list with as many objects as requested | COMMENT |
| HIGH | BGMDriver/BGMDriver/BGM_Device.cpp | 718 | // fill out the list with as many objects as requested | COMMENT |
| HIGH | BGMDriver/BGMDriver/BGM_Device.cpp | 732 | // fill out the list with as many objects as requested | COMMENT |
| HIGH | BGMDriver/BGMDriver/BGM_Device.cpp | 759 | // fill out the list with as many objects as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package.sh | 55 | # -------------------------------------------------- | COMMENT |
| MEDIUM | package.sh | 140 | # -------------------------------------------------- | COMMENT |
| MEDIUM | package.sh | 153 | # -------------------------------------------------- | COMMENT |
| MEDIUM | package.sh | 220 | # -------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | BGMDriver/BGMDriver/quick_install.sh | 91 | # The path to the release build was set, so just set it as the build we're installing | COMMENT |
| LOW | BGMDriver/BGMDriver/quick_install.sh | 94 | # The path to the debug build was set, so just set it as the build we're installing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_and_install.sh | 217 | exec 3<&- # Close the file descriptor. | CODE |