Listen below, then reopen the recordings in the Handset to compare the decisions.
When a weak packet breaks
Two tests on generated recordings
Shorter messages survived more often at −5 dB
For each of 12 seeds, we generated the same message prefix at four lengths. We kept the protocol and noise recipe fixed within each comparison.
| Payload | 0 dB | −5 dB |
|---|---|---|
| 1 byte | 12 / 12 | 12 / 12 |
| 16 bytes | 12 / 12 | 7 / 12 |
| 48 bytes | 12 / 12 | 0 / 12 |
| 96 bytes | 12 / 12 | 0 / 12 |
The receiver accepted 0 of 6 unrelated tone controls. The original generator clipped some samples. Lowering signal and noise gain together removed clipping in all 96 packet recordings and preserved every verdict. The dB values are nominal targets for the generated noise recipe.
1 byte · decoded
Save 1-byte recording96 bytes · rejected
Save 96-byte recordingBoth examples use the first seed at nominal −5 dB, with the original gain.
What one unreadable bit can cost
Using the known onset and header to inspect 24 failed generated recordings, we found a readable header at a nearby alignment in each. No alignment examined in that diagnostic yielded a complete readable frame. A separate experimental decoder searched the full recording for a single unreadable payload bit that it could fill using a readable checksum.
| Generated bank | Original | With one-bit repair |
|---|---|---|
| Earlier bank | 8 / 32 | 17 / 32 |
| Fresh bank | 9 / 32 | 17 / 32 |
The scratch decoder accepted 0 of 69 negative controls. When two individually repairable frames were combined, it found two distinct possible repairs and returned neither. The test designed to isolate an unreadable checksum bit needs another control. A different timing alignment still recovered the original frame. The Handset uses direct decoding while this repair method is being investigated.
The downloadable report includes the repair summary. The script below reproduces the packet-length study and its gain control.
Reproduce the length test
Save the script as compare-length.mjs. Create a folder named protocol beside it and save both pinned modules there. From the script folder, run these commands with Node 22. Each output filename must be new.
node compare-length.mjs . length-results.jsonnode compare-length.mjs . gain-results.json --unclipped
Download verdicts and WAV hashes Length test script Decoder module WAV module