Skip to content

Keep normal speaker attenuation smooth above 7 dB - #18

Closed
RyanTheTide wants to merge 2 commits into
fix/every-profile-limitsfrom
fix/smooth-deep-attenuation
Closed

RyanTheTide wants to merge 2 commits into
fix/every-profile-limitsfrom
fix/smooth-deep-attenuation

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Ordinary model requests above 7 dB currently give up the speaker lock and switch to the kernel safe level. Keep using the governor’s attenuation ramp through the unlocked control range. Hard model/sense faults, missing observations, failed writes and unrepresentable requests still give the lock back. A range fault needs 3 dB of headroom before re-arming.

The first commit contains that change and its 7.9 dB continuity, range and failed-write regressions. The second measures a bounded backlog of retained sense periods before charging a late wake as unobserved time. It renews no lease on stale state and preserves fault handling.

This is stacked on PR #15 at 117c07b, current head cf4a3ee. It inherits that branch’s conservative onset attenuation and fails the requested ordinary-listening budget. Keep it draft. The separate deployed-source hotfix is PR #19; its strict thermal acceptance also remains blocked.

The full unmodified Linux native suite passes 248/248, along with 144 long cases, 20,000 V/I seeds and 10,000 legacy seeds. Its 72 shared historical thermal rows pass the independent exact solver. Mutations restoring the old handoff, capping the onset reserve at 1 dB and charging before draining retained periods compile and fail their regressions as intended. Detailed results and retained failures are in the private task evidence.

No CLI options or config knobs are added. Re-arm headroom and the eight-period/10 ms drain bounds are fixed in code; attenuation uses the discovered card range and packaged device data. No target access, audio, service change, deployment or merge was performed.

Use the unlocked control range for ordinary model and onset requests. Keep the existing ramp, hard latches and control/sense fault paths, and re-arm a range fault only with 3 dB of headroom. Retain old threshold options for config and recording compatibility.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>

Assisted-by: LLM
Drain a bounded ready backlog without renewing the lease or postponing a hard model fault. Continue charging missing data and uncertain capture edges at full scale.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>

Assisted-by: LLM
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Superseded by #27: the release candidate already carries this change as ae0ac4e, smooth attenuation through the hardware range. Closing to keep one release PR (fewer, bigger PRs).

@RyanTheTide RyanTheTide closed this Nov 4, 2026
@RyanTheTide
RyanTheTide deleted the fix/smooth-deep-attenuation branch November 6, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant