Conversation
This was referenced Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comma four desk recordings exposed two microphone firmware defects: an uninitialized output buffer produces startup junk, and independent DFSDM/I2S clocks cause repeated 512-sample blocks about every 10.53 seconds. This initializes/clears the buffers and adds continuous clock matching with cubic interpolation and a startup fade.
This is a hackathon work-in-progress draft, including tools, listening reports and plots so we can document the investigation as we go. The muffled sound / weak upper-frequency music content is still unresolved, and the original driving/motion complaint has not been reproduced under normal on-road load.
Actual pop before/after
The fresh baseline repeats 512 samples at 10.521 s; the candidate does not. These are separate real acoustic recordings, not simulated distortion.
Quality investigation
The native digital transport passed a bit-exact 528,000-sample test through 22 kHz. The cubic resampler adds gradual high-frequency loss and residual distortion; it does not explain an abrupt cutoff by itself.
The built-in c4 speaker produced detectable tones through 22 kHz, but it has different acoustic/mechanical coupling than an external phone. The iPhone sweep recovers 16–17 kHz; 18–20 kHz remain close to the noise floor. The new music recording shows the same weak upper band. Raising file amplitude produces less than proportional recorded tone growth, so source/capture nonlinearity is another open question.
Validation and open work
Full investigation notebook · All plots · Embedded listening reports — download and open locally · Hackathon tools
Companion openpilot PR: commaai/openpilot#38967 — 48 kHz mono capture and one 48 kbps AAC encoder shared by qcamera and compressed rlog audio. Experimental EQ/denoise remains offline.