-
-
Notifications
You must be signed in to change notification settings - Fork 246
feat(whispering): add overlay for visual feedback #1159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
vishesh-sachan
wants to merge
20
commits into
EpicenterHQ:main
Choose a base branch
from
vishesh-sachan:feat/whispering-recording-overlay
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(whispering): add overlay for visual feedback #1159
vishesh-sachan
wants to merge
20
commits into
EpicenterHQ:main
from
vishesh-sachan:feat/whispering-recording-overlay
Conversation
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.
Summary
This PR adds the most requested feature: an extensive recording overlay system with real-time audio visualization, transformation, and cross-recorder support. The overlay provides visual feedback during recording, transcription, and AI transformations across all recording methods (Navigator, CPAL, and FFmpeg).
Type of Change
feat: New featuredocs: Documentation updateRelated Issue
Closes #848, #1129
Changes Made
Recording Overlay System
Centralized Overlay Service Architecture
OverlayService) for managing overlay stateCross-Recorder Support
Transformation Progress
Svelte inspector disabled
showToggleButton: 'never'to prevent interference with overlay window📁 Files Changed
New Files (10)
src/overlay/- New overlay window entry pointindex.html- Overlay HTML pagemain.ts- Overlay app initializationRecordingOverlay.svelte- Main overlay UI componentRecordingOverlay.css- Overlay stylingicons.ts- SVG icons (microphone, transcription, cancel)src/lib/services/overlay/- Overlay service moduleoverlay-service.ts- Main service classtypes.ts- TypeScript typesindex.ts- Module exportssrc/lib/services/cpal-audio-forwarder.ts- Bridge for CPAL audio eventsdocs/overlay-service-architecture.md- Architecture documentationdocs/overlay-service-developer-guide.md- Developer guideModified Files (15)
src/lib/services/recorder/- Recorder integrationsnavigator.ts- Added overlay service callscpal.ts- Added overlay service callsffmpeg.ts- Added overlay service with pulsing fallbacksrc/lib/query/actions.ts- Added overlay to transformation pipelinesrc/lib/services/audio-levels.ts- RMS time-domain audio analysissrc/routes/(app)/+layout.svelte- Added overlay cancel event listenersrc-tauri/src/overlay.rs- Unified overlay commandssrc-tauri/src/lib.rs- Registered overlay commandsvite.overlay.config.ts- Separate Vite config for overlay buildvite.config.ts- Added overlay dev server middlewarepackage.json- Updated build scriptsTesting
Prerequisites
Testing the Overlay
1. Basic Recording Test
bun run dev2. Cancel Button Test
3. Transformation Test (Clipboard)
4. Transformation Test (Recording)
5. FFmpeg Recorder Test
6. Multi-Recorder Test
7. Position Test
8. Multi-Monitor Test (if avail
Screenshots/Recordings
rec.mov
📖 Documentation
Comprehensive documentation added:
apps/whispering/docs/overlay-service-architecture.md): System design, data flow, audio pipelinesapps/whisperingdocs/overlay-service-developer-guide.md): Step-by-step integration examplesChecklist