Repository navigation
Conversation
Author
|
@malik-na The J456 microphone fallback is ready for direction review, with passing CI and bounded hardware evidence in the body; it remains draft pending the listed lifecycle tests. Could you review the approach, or let me know if this fallback is not wanted? |
This branch has not been deployed
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.
On a four-port M1 iMac (J456), the AOP microphone is exposed as three raw AUX channels without a native Asahi DSP source. Voxtype could start recording but the raw input was too quiet for useful dictation. Selecting AUX2, removing low-frequency rumble, and adding 40 dB gain produced intelligible speech; the machine owner confirmed normal Voxtype dictation with the equivalent local filter.
This adds a J456-only fallback to the existing
omarchy-asahi-mic.servicewatcher. It discovers the capture device by ALSA identity and channel layout, targets its current PipeWire object serial, and owns a temporary filter process exposing a standard mono microphone. It selects that source only when the raw J456 input was already selected, preserves external/custom input choices and saved gain/mute, recovers from device/filter loss, and removes its fallback when native Asahi microphone DSP appears. No speaker, kernel, or persistent user PipeWire configuration is changed.Validation
./test/all: CLI suite passed; 294/295 shell test files passed or skipped. The remaininglaunch-about-test.shfailure came from inheritedNO_COLOR=1; the complete test passed when rerun with that variable unset../tests/all: three help/status assertions failed because the sandbox cannot read root-protected/etc/omarchy-mac-setup.conf. The same failures reproduced against unchanged base files; no PR-scoped failures were found.Scope and remaining hardware validation
This is a single-channel fallback, not a calibrated microphone-array profile or beamformer. Fixed gain can amplify noise or clip loud input; the source volume remains adjustable. End-to-end login, suspend/resume, full audio-daemon restart, and louder/distant speech testing of the integrated supervisor remain outstanding, so this PR is a draft. Only J456 is enabled; no support claim is made for J457 or other Macs.
The investigation and implementation were assisted by GPT-6 via Codex. No recordings, transcripts, private machine identifiers, or full diagnostic dumps are included.