Skip to content

feat: Add Mute Overlay (HUD) and Audio Feedback#24

Open
moaz1126 wants to merge 5 commits intosatrik:mainfrom
moaz1126:main
Open

feat: Add Mute Overlay (HUD) and Audio Feedback#24
moaz1126 wants to merge 5 commits intosatrik:mainfrom
moaz1126:main

Conversation

@moaz1126
Copy link
Copy Markdown

Overview

Adds optional on-screen and sound feedback for mute/unmute.

Changes

  • Native HUD overlay using NSVisualEffectView (.hudWindow) and SF Symbols
  • Lightweight NSSound feedback (preloaded, no overlap)
  • Two new toggles in Settings:
    • Show mute overlay
    • Play sound on mute/unmute

Moaz Ahmad added 5 commits February 26, 2026 22:24
Add SoundFeedbackManager to play pre-loaded NSSound native audio cues on mute state changes with zero latency.
Implement borderless NSPanel with hardware-accelerated NSVisualEffectView and CABasicAnimation for native system-level HUD appearance.
Wire sound and HUD managers into TouchBarController and AppDelegate. Add user preference toggles to the Settings UI.
Add SoundFeedbackManager and MuteHUDWindowController to PBXBuildFile, PBXFileReference, and the main build target.
@Finkregh
Copy link
Copy Markdown
Contributor

Could you add screenshots? ✨

@moaz1126
Copy link
Copy Markdown
Author

Yeah sure, Here is some

Screen.Recording.2026-02-27.at.9.06.47.PM.mov

Screenshot 2026-02-27 at 8 48 47 PM

@satrik
Copy link
Copy Markdown
Owner

satrik commented Mar 12, 2026

Hey @moaz1126, I like these ideas. Can you change the style of the HUD to match the new macOS 26 style and position? I think NSGlassEffectView could do the trick for the style and the position is normally the upper right corner but it is centered on fullscreen apps (like the volume or brightness slider). Or we just go with system notifications, but Im not sure right now if we can control the sound from code 🤔

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.

3 participants