How maclevison/voicetype-macos works
VoiceType is a macOS menu-bar voice dictation app, with optional voice-idea capture and meeting recording. The main workflow is shortcut activation, audio capture, transcription and refinement or translation, then paste into the focused app and optionally save history. Separate capabilities capture ideas into daily notes and record, transcribe, summarize, and save meetings for Obsidian. The README documents these product flows; several feature implementations are unsampled, so their internal links are shown only where documented or supported by the source index.
Main entry points: Pipeline.swift Transcribe and transform · RecordingOrchestrator.swift Recording orchestrator · MeetingProcessor.swift Meeting recording · RunPipelineUseCase.swift Run pipeline use case
Components 24
Capture and controls
- Shortcut manager
macos/VoiceType/Features/Recording/Shortcut/ShortcutManager.swift - Recording orchestrator
macos/VoiceType/App/RecordingOrchestrator.swift - Audio capture
macos/VoiceType/Features/Recording/Audio/AudioDeviceResolver.swift - Recording state
macos/VoiceTypeCore/Sources/Core/StateMachine/AppStateMachine.swift - Recording HUD
macos/VoiceType/Features/Recording/HUD/HUDController.swift
Dictation pipeline
- Transcribe and transform
macos/VoiceTypeCore/Sources/Core/Pipeline/Pipeline.swift - Local transcription
macos/VoiceType/Features/Recording/Transcription/LocalTranscriber.swift - Whisper model manager
macos/VoiceType/Features/Recording/Transcription/WhisperModelManager.swift - Local refine and translate
macos/VoiceType/Features/Recording/Refinement/LocalRefiner.swift - Groq client
macos/VoiceTypeCore/Sources/Core/GroqClient/GroqClient.swift - Run pipeline use case
macos/VoiceTypeCore/Sources/Core/UseCases/RunPipelineUseCase.swift - Paste delivery
macos/VoiceType/Features/Recording/Output/Paster.swift
Notes and meetings
- Voice idea capture
macos/VoiceType/Features/Meeting/MeetingRecorder.swift - Meeting recording
macos/VoiceType/Features/Meeting/MeetingProcessor.swift - Calendar matching
macos/VoiceType/Features/Meeting/MeetingCalendar.swift - Speaker diarization
macos/VoiceType/Features/Meeting/MeetingDiarizer.swift - Meeting summarizer
macos/VoiceTypeCore/Sources/Core/Meeting/ClaudeCLISummarizer.swift
App data and UI
- History store and view
macos/VoiceTypeCore/Sources/Core/History/HistoryStore.swift - Settings
macos/VoiceType/Features/Settings/MainWindowView.swift - Configuration store
macos/VoiceTypeCore/Sources/Core/Config/ConfigStore.swift
Other components
- User
- Groq service
- Focused app
- Obsidian notes
Connections 28
- User → Shortcut manager: presses
- Shortcut manager → Recording orchestrator: triggers
macos/VoiceType/App/RecordingOrchestrator.swift - Recording orchestrator → Audio capture: captures audio
- Recording orchestrator → Recording state: drives state
macos/VoiceType/App/RecordingOrchestrator.swift - Recording orchestrator → Recording HUD: updates HUD
macos/VoiceType/App/RecordingOrchestrator.swift - Recording orchestrator → Transcribe and transform: runs
macos/VoiceType/App/RecordingOrchestrator.swift - Transcribe and transform → Local transcription: transcribes
- Local transcription → Whisper model manager: uses model
- Transcribe and transform → Local refine and translate: refines or translates
- Transcribe and transform → Groq client: fallbacks to
- Groq client → Groq service: requests
- Recording orchestrator → Run pipeline use case: delegates run
macos/VoiceType/App/RecordingOrchestrator.swift - Run pipeline use case → Transcribe and transform: runs
macos/VoiceTypeCore/Sources/Core/UseCases/RunPipelineUseCase.swift - Run pipeline use case → Paste delivery: pastes text
macos/VoiceTypeCore/Sources/Core/UseCases/RunPipelineUseCase.swift - Paste delivery → Focused app: delivers text
- Run pipeline use case → History store and view: records entry
macos/VoiceTypeCore/Sources/Core/UseCases/RunPipelineUseCase.swift - User → Voice idea capture: dictates idea
- Voice idea capture → Transcribe and transform: transcribes
- Voice idea capture → Obsidian notes: writes daily note
- User → Meeting recording: starts recording
- Meeting recording → Speaker diarization: separates speakers
- Meeting recording → Calendar matching: matches event
- Meeting recording → Transcribe and transform: transcribes locally
- Meeting recording → Meeting summarizer: requests summary
- Meeting summarizer → Obsidian notes: writes notes
- User → Settings: configures
- Settings → Configuration store: saves settings
- Shortcut manager → Configuration store: loads shortcuts
macos/VoiceType/Features/Recording/Shortcut/ShortcutManager.swift