Preface¶
When building agents in DSH, a common practice is to have users describe a song or paste lyrics into the conversation. Text models themselves can’t hear files: there’s no BPM, energy trend, key signature, or mastering dynamics, so answers easily become generic music-review boilerplate. Sending the entire audio to a cloud multimodal API can fill this gap, but it involves costs, network issues, and concerns about “whether audio leaves the local machine.”
Below is an introduction to the experimental plugin dsh-soundcheck by maintainer ALittleLov (GitHub: ALittleLov/dsh-soundcheck, community directory ID alittlelov/dsh-soundcheck). It runs a Python analysis engine on the user’s machine, breaking local audio into verifiable data such as structure, tempo, key, dynamics, and sound source. By default it outputs a human-readable “judgment,” which is then handed to the text model in DSH for follow-up question answering. The design goal is stated plainly in the repository README: enable text LLMs to answer questions about music—it’s not a DAW parameter recommender, nor a player. The analysis process is declared to be offline, with audio never leaving the local machine.
What Is This¶
- Name: dsh-soundcheck (ID in manifest is
dsh-soundcheck.local) - Maintainer: ALittleLov
- Category: Classified in the community directory under “model inference”—essentially local feature extraction + tool calls, converting signals into text or JSON that models can consume
- Current version: 0.6.8 (consistent in
package.json/dsh-plugin.json; SkillHub directory page indicates it’s installable and updated today) - License: MIT
- Platform:
osinpackage.jsondeclares onlywin32; the engine script path defaults tovenv\Scripts\python.exe, consistent with a Windows development environment
The plugin registers four tools and two slash commands on the DSH side (based on the current lib/index.js; early development notes still mention “three tools,” but the code is authoritative).
| Tool | Purpose |
|---|---|
audio_analyze |
Analyze the full track or provide a quick overview; returns human-readable text or JSON, supports brief compression |
audio_section |
Only analyze a [start, end] segment, with timestamps as absolute positions in the full track |
audio_bands |
Frequency-band diagnostics (internal); according to the Release notes, used to distinguish “music vs. field recordings” etc. |
audio_provision |
Install the engine: create venv, install dependencies, pull models; returns installed if .provisioned marker already exists |
| Command | Purpose |
|---|---|
/audio-status |
Check Python environment, scripts, models, and installation markers |
/audio-install |
One-click engine installation, reporting what was installed and which mirror was used |
Installation strategy: No silent dependency installation during analysis. When the engine is missing, tools return ENGINE_NOT_INSTALLED, requiring the user to run /audio-install or explicitly ask the assistant to call audio_provision. The v0.6.8 Release notes state the default installation size is about 570 MB (including the Beat This beat model, etc.); the development README once mentioned ~470 MB, but the current release notes are authoritative.
Core Functions and Output Format¶
The main engine script is engine/analyze.py in the package (the distribution zip contains plugin code + engine + YAMNet etc.; Python dependencies are downloaded separately during installation). The capability table and project positioning given in the README can be summarized as:
Default reliable or usable
- Structure / energy trends (16-second block RMS)
- BPM (with octave error checking; the detector may still fail when locked to octave errors)
- Key (Krumhansl templates + candidates and ambiguity handling)
- Loudness / clipping
- Segment analysis (
audio_section) - Sound source labels (YAMNet, partially available; emotion/style labels have been removed)
- Suitability self-evaluation
[FIT](in--detailand JSON, used to determine which conclusions are trustworthy)
Default text output (conclusion first, then numbers):
[SCOPE] Only appears for segment-only analysis
[Judgment] Duration, tempo level, key, mastering, structural focus, etc.
[Basis] Numbers for peak, RMS, onset, key, tempo, etc.
[Trust] Applicability scores (0–1) for beat / key / root
[Cannot Hear] Things that can't be measured are explicitly stated
For full measurement details, use tool parameter detail: true or command-line --detail to get blocks like [FIT], [META], [BPM], [KEY], [DYN], [FORM], [CHORD], [SEG], [SRC], etc.
Deliberately not done: The README explicitly does not hardcode genre judgments (genre is determined by listening, not measurement); it also cannot provide Gemini-style natural-language imagery like “morin khuur, Mongolian language”—the project’s conclusion is to synthesize judgments from what can be measured, and write unmeasurable aspects into [Cannot Hear].
Performance reference (development README, 2026-10-19): About 11 seconds for full analysis of a ~4-minute MP3 (about 66 seconds before optimization).
Optional capabilities (engine CLI, not necessarily exposed via the plugin each time): --stems / --stems 6s for stem separation and vocal percentage; --asr for lyrics transcription candidates (v0.6.8 has a fallback strategy for zero-confidence segments). The README has separate notes on component size and time consumption.
Installation and Activation¶
The DSH ecosystem is “everything is a plugin”; the SkillHub directory is a community collection site, with no official affiliation with DeepSeek / Quantilla. The page shows the plugin is installable, version v0.6.8. Specific “one-click install from directory into current profile” operations follow the DSH client and directory page guidance; the repository development notes mention that the maintainer once installed it into the desktop profile via dsh plugin add, but no complete installation command line has been provided in the publicly available README, so this article does not fabricate commands like dsh plugin add github:... that are not documented.
For the release package, download from GitHub Release:
https://github.com/ALittleLov/dsh-soundcheck/releases/download/v0.6.8/dsh-soundcheck-0.6.8.zip
After extraction, point to the entry point in the package (lib/index.js, see dsh-plugin.json) according to the DSH plugin loading method.
Step 2: Install the analysis engine (separate from installing the plugin). In a DSH conversation, run:
/audio-install
Or use the tool audio_provision to install it. After installation, use /audio-status to confirm Python, scripts, models, and the .provisioned marker. Permission declarations are in the manifest: subprocess dsh-soundcheck.process.spawn, file read dsh-soundcheck.fs.read, justified as local Python feature extraction without network access.
Before installation, it’s recommended to review the GitHub source code and MIT license yourself; the plugin runs with the current DSH process permissions, able to read specified audio paths and spawn local Python.
Typical Usage¶
In DSH¶
- Confirm
/audio-statusis normal; if it reportsENGINE_NOT_INSTALLED, run/audio-installoraudio_provisionfirst. - Have the assistant call
audio_analyzeon a local file (passbrieffor JSON or short context; passdetail: truefor dashboard-level details). - When asking “what happened at a certain moment,” use
audio_section, wherestart/endsupport seconds orm:ss, and are absolute times for the full track.
The plugin requires setting PYTHONUTF8=1 on its side; Chinese paths need to be quoted or hardcoded to avoid encoding corruption when passed through shell variables (development README notes).
Directly debugging the engine (development README usage)¶
In the provisioned engine directory, a Windows example follows (modify paths for your machine):
export PYTHONUTF8=1
./venv/Scripts/python.exe analyze.py "D:\music\track.flac"
./venv/Scripts/python.exe analyze.py "D:\music\track.flac" --json
./venv/Scripts/python.exe analyze.py "D:\music\track.flac" --brief
./venv/Scripts/python.exe analyze.py "D:\music\track.flac" --start 1:30 --end 2:10
./venv/Scripts/python.exe analyze.py "D:\music\track.flac" --detail
Structured results can be compared against the out.json / out.brief.json samples in the repository (brief is on the order of ~530 B).
Use Cases and Considerations¶
Who it’s for
- Already using DSH to orchestrate tool calls, wanting the model to discuss form, dynamics, tempo, and key based on local, referenceable measurements rather than empty descriptions.
- Can accept the Windows environment and a one-time ~570 MB engine installation, and are willing to read
[Trust]/[FIT]before accepting conclusions.
Boundaries to know
- When it can’t say “musical content” level details like instruments, languages, or atmosphere, the output will write them in
[Cannot Hear]—this is not a temporary bug, but a product conclusion stated in the README. - Chords only go to the root level; genre is not determined.
- The old account
dalekotsvetrepository has migrated; the README reminds that old download links are invalid, so useALittleLov/dsh-soundcheckas the reference. - GitHub star count is 0 (as of the directory clues used when writing), which does not indicate quality, only that exposure is still small; it’s an experimental project, with a release rhythm following the README’s maintenance convention of “local verification first, then push after obtaining consent.”
Conclusion¶
dsh-soundcheck chains “local audio → structured evidence → text model” into a reproducible pipeline: defaulting to human-readable judgments, expanding to JSON and details when needed, and marking unmeasurable parts. If you’re doing music-related Q&A or annotation workflows in DSH, you can install the plugin from the community directory page or GitHub Release, complete /audio-install, and try audio_analyze / audio_section on a local file.
- Directory page: https://www.skillhub.cn/plugins/ALittleLov/dsh-soundcheck
- Repository: https://github.com/ALittleLov/dsh-soundcheck