• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Free macOS player claiming bit-perfect output: looking for people to null-test it before 1.0

alex_sze

New Member
Joined
Oct 9, 2026
Messages
4
Likes
2
I'd like help verifying a claim before I make it loudly.

Vespertine is a free, open-source (GPL-3.0) music player for macOS. It shows BIT-PERFECT only when a specific list of conditions holds, and the list and the method are written up here: https://github.com/szeremeta1/Vespertine/blob/main/docs/VERIFICATION.md

Short version of what's there:

  • What the app reads back, not what it requested. After playback starts it reads the device's nominal rate, the stream's physical format and the hog-mode owner from Core Audio. If the rate isn't native, the word length doesn't fit, gain is applied in software, another app is mixing into the device, or the device is Bluetooth/AirPlay, the badge says what changed instead.
  • Sample-for-sample tests. The float path is tested against every 24-bit value pattern at unity gain; integer mode passes 32-bit words through untouched (including patterns that would be NaN as floats); DoP packing preserves the DSD bits; Dolby/DTS frames go out byte for byte inside IEC 61937.
  • A probe. vespertine-probe play drives the real engine against your device and prints its computed signal path next to an independent Core Audio readback.
  • Checks that don't trust the app at all. A digital loopback null test (play, record the digital input, invert and sum, expect every sample to be zero), a hash comparison of the recorded samples, and the DTS-CD and DoP-indicator tests.

The doc also lists what bit-perfect doesn't cover: anything the DAC does internally, sounds shorter than the ~1 s polling interval in shared mode (exclusive mode avoids that), and files wider than 24 bits on the float path without integer mode.

What I've verified myself: FiiO K11 at every rate up to 384 kHz, DoP and integer mode; AirPods Max over USB-C (the one claim a loopback can't confirm, because they have no digital out) and Bluetooth; a MacBook Pro's speakers. Not tested: any multichannel DAC, any AV receiver (the bitstream bursts are only checked against FFmpeg's S/PDIF reader), a real Intel Mac.

So, if you have a loopback setup, a multichannel interface, a receiver, or a non-FiiO DoP DAC, I'd like your numbers, especially if they disagree with what the app shows. Report format: https://github.com/szeremeta1/Vespertine/issues/new?template=dac_report.yml (or reply here with the vespertine-probe play output, your device and the file format).

Beta download: https://github.com/szeremeta1/Vespertine/releases/download/v0.10.0/Vespertine-0.10.0.dmg. It runs on macOS 14.4 and later. Updates arrive through the built-in updater.

Two disclosures. Most of the code was written with AI coding agents (Claude Code and Codex) under my direction; I set the behavior and acceptance tests and check the audio paths on hardware. And the fake hi-res detector is heuristic except for zero-padding detection, which is exact; the analysis doc lists where it misses: https://github.com/szeremeta1/Vespertine/blob/main/docs/ANALYSIS.md

New in this beta: a parametric EQ (AutoEQ and Equalizer APO import, per output). Off by default, and while it's on the signal path reads EQUALIZER, not BIT-PERFECT.
 
I’m not set up to test your software at the moment, but I can explain how I’m trying to solve a similar problem, and maybe that will help you. To be clear, my story isn’t to cast any shade on what you have built, because I have no insights into your knowledge or process, so please don’t take it as such. With that…

I am highly skeptical of anything an agent writes that the human prompting it cannot fully verify themselves personally. I say this as a professional developer and platform engineer who’s been building exclusively with agents for over a year. In my domain of expertise, I see how impressive, fast, and accurate agents can be, but that they do make very plausible mistakes, frequently, especially as things get more complicated. I’ve also learned not to trust a test where the agent wrote against a piece of code where it has that code right there as a reference, unless you can personally verify it, especially if the results of the test matter to the core of what you are building. Even with extremely good prompting, the agent will sometimes tip the scales in its favor to make things work, especially as it gets into deeper technical problems. If you can’t verify the work, I don’t know how you could trust its accuracy.

I’m building my own piece of audio software as well called audio-vue, which will be a fully customizable live personal audio meter, but this isn't about that specifically. I openly admit I don’t know the math and science behind it, only how to consume the meters as a user of them. After about a month of development, the code smells kept getting stronger, and the realization sunk in hard that if I kept building thru direct prompting and trusting the agent, my project couldn’t be considered anything more than a toy, and I definitely couldn’t call it a meter. Even when I had given the agent the official spec docs directly, it would still do these things, and it was very frustrating.

The problem I had to solve in order to build audio-vue is: how do I close the knowledge gap and make the code verifiable? The meters need to be tested against published audio standards, some of which are very specific and some of which leave room for interpretation. So I built a process where an agent can’t just write a test based on what it thinks the standard says. Every assertion has to be backed by a citation to the actual source, and when the source doesn’t specify something, the process has to explicitly acknowledge the gap rather than fill in the blanks. If they cannot cite a source, then there is no testable requirement. There is no guessing, as the citations and assertions must programmatically execute against the cited works. I had to buy a membership to AES, and purchase other source documents directly for this to work, as most of the actual true source specs and standards are locked behind paywalls, understandably. I chose not to settle for not secondary sources, agent inference, or code examples, and finding that had lots of gaps as well.

For the test building itself, I have 3 separate agents independently build 3 different things: (1) the test, (2) an implementation that should pass it, and (3) deliberately broken implementations designed to make it fail in very specific ways. The test only counts if all three can be brought together and executed. All three of those agents are fully blind to each other, executed in clean rooms with extremely specific context and source documents, and they cannot see each other’s work. They also cannot see audio-vue or its code, and have no knowledge it even exists as a product. The conforming implementations help expose tests that are too restrictive, while the broken ones expose tests that aren’t restrictive enough. The goal is to make it as difficult as possible for the agents to smuggle in assumptions from their training, or quietly favor the code they’re testing. I want evidence a test is correct, not just an agent confidently telling me it is with a test producing a green checkbox to make me feel good.

While it has been a lot of work getting this process going, it is now extremely effective and was well worth the effort. I don’t know if this gives you any ideas on how to close your own gap, but I can say it’s been an extremely interesting learning experience building something this way.
 
Thanks, no shade taken. Yeah, this has been bugging me about the project too. If the agent can see the code while it writes the tests, it's basically checking its own work, and I can't verify every line myself.

That's a big part of why I posted here and am asking people to run a loopback null test to see whether it actually sums to zero. The SACD output matched sacd_extract byte for byte on real discs so I trust that, but the unit tests are nowhere near your bar.

I like the 3 blind agents idea, especially the deliberately broken implementations so you know the tests can actually fail. I'm going to try that for DoP, the IEC 61937 bursts and the bit-perfect conditions, with every assertion tied to the spec.

Do your tests cite sections of the standard directly or is there a separate requirements file the agents cite from?

Good luck with audio-vue, would love to see it when it's out.
 
Thanks, no shade taken. Yeah, this has been bugging me about the project too. If the agent can see the code while it writes the tests, it's basically checking its own work, and I can't verify every line myself.

That's a big part of why I posted here and am asking people to run a loopback null test to see whether it actually sums to zero. The SACD output matched sacd_extract byte for byte on real discs so I trust that, but the unit tests are nowhere near your bar.

I like the 3 blind agents idea, especially the deliberately broken implementations so you know the tests can actually fail. I'm going to try that for DoP, the IEC 61937 bursts and the bit-perfect conditions, with every assertion tied to the spec.

Do your tests cite sections of the standard directly or is there a separate requirements file the agents cite from?

Good luck with audio-vue, would love to see it when it's out.

I built a PDF normalization engine that converts the papers to markdown, while correctly preserving mathematical fonts, formulas, tables, and shape. That part was actually quite complicated, as every single PDF extraction method and tool I tried fails to fully and faithfully convert the docs into a fully useful, complete, and markdown translation for the agents. The normalizer is fully deterministic and supports accurate citations of tables, formulas, and other parts. So when the text below references the page/standards/specs, these are the documents it refers to. This was honestly the most important piece to getting accurate readings from agents.

My 3 blind agents are named Watt, Turing, and Clarke. I also have a 4th agent, Sherlock, as an investigator at the end of every round that audits the entire process. Because the per-agent detail is quite complicated and nuanced, I asked my primary project agent to write a paragraph about what each of the blind agents contain in their room and what they are asked to do. For reference, all 3 agents run Opus 5.5 on medium:

----------------------

Written for: a programmer who has never seen this pipeline and doesn't know its vocabulary.

Watt builds the reference meter. Like the other two, it is an LLM agent started in its own container with nothing but a directory of files, each copied in by name from a manifest. There is no git, nothing to fetch, nobody at the terminal, and the only commands it can run are python, grep and pytest. Its prompt points at the lines of a published audio standard where one clause lives. The directory holds the full text of that standard, plus the related standards it cites or is cited by, because it is meant to build from the words on the page rather than from what it remembers about the subject. It holds a hand-written stub test file that declares the Python interface a meter has to offer here, the methods and the outputs that can be read, so what Watt builds will plug into a test that someone else is writing at the same time. It holds a short scope file saying which parts of the standard apply to this product, such as the channel count, and, where the owner has already ruled on something the standard leaves open, a file listing those rulings. It holds the standards body's own published test signals and their readme, because the standard prints a table of expected readings for them. And it holds the checker scripts the pipeline will later grade the meter with, so it can run them itself before handing in. It never sees a test or any other meter. It writes two files: a plain numpy and scipy meter whose docstring lists every decision the page left open and the choice it made, and which raises on any input the page says a meter must refuse; and a compliance table pairing each published signal with the reading the standard says it should give. Plus a short report.

Turing writes the conformance test, in a separate container at the same time, knowing nothing of Watt's meter. Its directory holds the same standard and related standards, the same stub test file, which it copies and fills in at the single stub at the bottom, the same scope and rulings files, and the same published signals. On top of those it gets the method. A README on how a test is written here. The list of rules the finished test will be graded against, item by item. The harness module that provides a citation context manager: every assertion sits inside a block naming the document, the line range, the verbatim quote from those lines, and which of the meter's outputs the assertion reads. A pytest fixture that wraps whatever meter is under test in a recording proxy, so a block fails if it read any output other than the one it declared. A checker that resolves every citation against the page text sitting in the same directory and fails any quote that is not on the line it names. A small library of generic measurement relations the test must either tie to a passage or explicitly decline with a reason. The signal loader. And an empty package directory where the test will land, holding no other tests. It never sees any meter. It writes one test file: one cited block per passage it rests on, an assertion about what a conforming meter must read there, a check showing that a meter missing that behaviour would land outside the band, and a tolerance quoted from the standard rather than chosen. Where the standard gives no number it files a gap instead of inventing one. Plus a report.

Clarke builds the adversaries, also blind. Its directory holds the standard and related standards, the stub, the scope, the rulings and the published signals. From the pipeline's own code it gets only the signal loader, a cost checker, because every meter in its file has to run inside the time budget the pipeline enforces when it runs the test against each one, and a checker for its own output. It never sees the reference meter, the test, or the test-writing method, so its reading of the page is independent of both. It writes a single file containing a second meter, structured so that each passage of the standard stating a behaviour or a value lives in exactly one method or one constant, with the citation as a comment at that spot. Then, for each such spot, a subclass that overrides only that spot, broken the way the words say a wrong meter would be wrong; and for each choice the page leaves open, a subclass that takes another choice the words allow. Passages that cannot be isolated, such as an offset that moves every reading by the same amount, go in a dict with the reason. The point is what happens next: the test is run against every one of these. A broken subclass should fail exactly the assertions that cite its passage and pass everything else. If it fails nothing, those assertions are empty. If it fails only assertions citing other passages, they are aimed at the wrong thing. Plus a report.

Sherlock is the investigator. It runs after a round has finished, in its own container, and nothing it writes can change what the round did. Its directory holds what the builders built from, so that a claim about what a builder could have read is something it can check rather than reason about: the standard and its related standards, the stub test file, the scope file, and the whole test-writing method, the README, the rules, the harness, the fixture, the checker and the relations library. It gets the published signals' readme but not the audio, because it is not there to re-measure anything. It gets the reference meter that landed, plus its compliance table when it is closing the round that wrote them. The rest of its directory is the round's exported record. A trace file holds every tool call each builder made, in order, with what it read and what came back, so the question "did it read the page before it wrote the assertion" is answered by looking rather than guessing. An assessments file holds every automated check the round ran and its detail, so Sherlock does not redo that arithmetic. A measurements file holds the counts. For a round that ran a test against the meters, a join file holds the full result, one row per cited passage saying which assertions rest on it and how the reference meter, a do-nothing null meter, Clarke's meter and every broken subclass fared, and a checklist file lists every item Sherlock must answer on one line each. It can run python and grep, but not pytest. It never sees anything else. Its job is to write a single case file whose first line is a verdict, and, on a round that joined a test, one line per checklist item: every assertion against the sentence it cites, every structural mutation of the meter the test failed to catch against the page, every alternative-choice subclass an assertion rejected against the page, every broken subclass no assertion caught against the words it was keyed to, and the finished test against each written rule. A line that flags something becomes a decision for the owner to answer from the terminal, with that line as its stated reason. Sherlock can stop a round from landing, but it cannot un-stop one, and it never softens a failed automated check. It starts nothing, lands nothing and spends nothing beyond its own run.

----------------------

It's a LOT of context engineering, and nearly every check in there is a lesson learned from getting burned by an agent. For a single test round, Watt has a mean of 8.2 minutes, Turing is 7.5 minutes, Clarke's is 8.4 minutes, and Sherlock is another 2.5 minutes of investigation. Some tests run long, up to 20 minutes. Now that the whole test agent process humming along, probably 80% of the tests sail thru successfully on the first round. I also have a process so the Turing and Clarke agents can fix a specific function in their work if it fails or an error is detected by Sherlock. Watt is one-shot, so if it's meter fails it would need to rebuild, but that agent is ace and never trips up.

The persona files (each agent's primary context/instruction file) are fairly extensive, and does not include the test, reference docs, or other files mentioned:

personatokenschars
watt4,70919,844
turing4,38719,213
clarke5,97825,166
turing-fix8,29135,815
clarke-fix4,24717,561
sherlock7,28729,867

Sharing all this because the info would likely help you and your agent develop a similar process if you decide to take this kind of project on.
 
Last edited:
Quick update: 0.11.3 is out and it's the one to test now.

New since my first post: SACD .iso playback, stereo and 5.1. DST gets decoded back to the original DSD, and I checked it bit for bit against SACD Ripper on two real discs. There are also 44 languages and a setup assistant, plus a built-in loopback test that checks the signal path bit for bit on your own gear. And in exclusive mode the volume keys no longer change the Mac's other output unless you turn that on.

Download: https://github.com/szeremeta1/Vespertine/releases/download/v0.11.3/Vespertine-0.11.3.dmg (or brew install --cask szeremeta1/tap/vespertine). Existing installs get it through the updater.

Still most interested in multichannel DACs, AV receivers over HDMI, Intel Macs, real Sonoma/Sequoia machines and non-FiiO DSD DACs. Reports go here or in GitHub issues. Even "it just worked" helps.
 
This is really helpful, thanks for writing it all out. The normalizer is the part I hadn't thought about. I've just been pointing agents at the spec PDFs and hoping they actually read them. I'm going to try something like your Watt/Turing/Clarke setup on the DoP and IEC 61937 paths first, since those have published test vectors, and I'll post here how it goes.
 
Back
Top Bottom