Introducing a new way to review your PRs.

Read the announcement

altic-dev / fluidvoice

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

View on GitHub

24 documents · Updated Nov 23, 2026

docs / meeting-transcription

Meeting transcription

Meeting transcription records an in-room meeting or an online call on the Mac and turns it into a live and saved meeting record. It joins meeting detection, audio capture, echo control, live captions, final transcription, speaker attribution, summaries, and exports. This page is part of External interfaces. Related pages are Local API and FluidServe command line.

Meeting detection and session orchestration

Meeting detection helps the user start a recording at the right time, but it does not start capture by itself. It watches supported meeting apps and optional browser calls, then offers a prompt only when app activity, audio activity, and meeting-window or in-call evidence agree. Missing or conflicting evidence produces no prompt. Sources/…/MeetingAppRegistry.swift• L3-68 Sources/…/MeetingAutoDetector.swift• L4-10

Native detection covers registered call apps. Browser detection is a separate opt-in tier that checks supported in-call pages, so a parked tab or a general browser window does not create a prompt. Manual source selection can still include other installed audio applications. Sources/…/MeetingAutoDetector.swift• L33-76 Sources/…/MeetingRecordingSettingsSheet.swift• L371-420

The detector keeps a meeting episode separate from the recording that follows it. Starting consumes the episode once. Dismissal and timeout control later prompts. The prompt can open setup when access is missing, and it stays quiet while another full-screen app or Fluid overlay would make it disruptive. When call evidence ends, it can ask whether to stop and transcribe or keep recording. Sources/…/MeetingAutoDetector.swift• L102-135 Sources/…/MeetingDetectionPrompt.swift• L87-183

Manual and automatic source selection are explicit. A selected application must resolve to the intended running process or app-wide source, and a selected microphone must still exist. A refreshed source snapshot keeps the source shown in confirmation equal to the source sent to capture. Sources/…/MeetingRecordingSourcePrompt.swift• L6-88 Sources/…/MeetingRecordingSourcePrompt.swift• L146-180

The meeting session is the unit that joins setup, capture, processing, and the saved result. The coordinator reserves a start before asynchronous checks, holds exclusive meeting audio ownership, and exposes preparing, recording, degraded, stopping, processing, completed, interrupted, and failed states. It can retain finalized audio for recovery after a capture or processing failure. Sources/…/MeetingSessionCoordinator.swift• L5-15 Sources/…/MeetingSessionCoordinator.swift• L52-104 Sources/…/MeetingSessionCoordinator.swift• L107-145

This diagram shows how a detected or manually selected source becomes a meeting record.

flowchart TD
    A[Meeting app or user] --> B[Detect or select source]
    B --> C[Check access, models, storage, and activity]
    C -->|Ready| D[Reserve meeting start]
    D --> E[Acquire exclusive audio ownership]
    E --> F[Capture tracks and live captions]
    F --> G[Stop and finalize audio]
    G --> H[Run final processing]
    H --> I[Save transcript and session]
    C -->|Not ready| J[Show setup repair]

References: Sources/…/MeetingAutoDetector.swift• L4-10 Sources/…/MeetingSessionCoordinator.swift• L52-104 Sources/…/MeetingSessionCoordinator.swift• L107-145 Sources/…/MeetingRecordingSourcePrompt.swift• L6-88

Audio capture and playback

Meeting capture records a microphone track for every meeting and adds an application-audio track for an online call or system-audio recording. Separate tracks let later processing compare local speech with remote sound. Microphone-only in-room sessions remain readable for older records. Sources/…/MeetingModels.swift• L9-18 Sources/…/MeetingCaptureEngine.swift• L83-105

The capture engine writes bounded audio chunks with timing and health facts. It keeps capture callbacks separate from slower file work, reports backpressure as degraded health, and finalizes audio before batch processing reads it. The PCM boundary accepts a fixed audio format and makes finalization the durability point. Sources/…/MeetingCaptureEngine.swift• L46-95 Sources/…/MeetingAudioChunkSink.swift• L70-115 Sources/…/MeetingAudioFilePCMChunkSink.swift• L94-183

Online calls choose a voice-processing path or a paired screen-capture path. The selected path and route changes become capture-era facts, so later work can keep safe and unsafe intervals distinct. Application capture prefers the detected window and can recover a lost application stream without changing the intended source. Sources/…/MeetingCaptureEngine.swift• L98-180 Sources/…/MeetingCaptureEngine.swift• L757-835

Fluid can pause currently playing media while capture starts. It records whether Fluid owns that pause, then resumes playback only when Fluid made the change. A late or repeated media callback does not change playback state. Sources/…/ASRService.swift• L1985-2002 Sources/…/MediaPlaybackService.swift• L17-22 Sources/…/MediaPlaybackService.swift• L66-77

References: Sources/…/MeetingModels.swift• L9-18 Sources/…/MeetingCaptureEngine.swift• L46-180 Sources/…/MeetingAudioChunkSink.swift• L70-115 Sources/…/MeetingAudioFilePCMChunkSink.swift• L153-183 Sources/…/MediaPlaybackService.swift• L66-77

Echo control and reference attribution

Echo control decides whether microphone audio is safe to use as speech evidence when meeting audio plays through speakers. Capture eras describe how the microphone audio was produced, such as voice processing, software echo cancellation, unfiltered audio, or unprotected audio. These are audio-provenance states, not speaker identities. Sources/…/MeetingModels.swift• L480-534

The direct echo path joins render and microphone frames on a shared timeline. It becomes active only after the route, formats, clocks, and warm-up checks pass. During warm-up, microphone speech stays available without a positive cancellation claim. The activation controller uses generations so a late candidate cannot reopen an invalidated route. Sources/…/MeetingAECActivationController.swift• L6-12 Sources/…/MeetingAECActivationController.swift• L27-92

When filtering is unavailable, capture keeps the microphone audio but records it as unfiltered or unprotected before live captions receive it. Route changes, stream rebuilds, writer errors, and stop events close transcript admission and persist a conservative era. Sources/…/MeetingAECOutputCommitter.swift• L59-80 Sources/…/MeetingAECOutputCommitter.swift• L83-159 Sources/…/MeetingAECOutputCommitter.swift• L218-279

Final processing adds a second echo check. It compares overlapping microphone and application text units. A measured duplicate suppresses the microphone copy and keeps the application copy. An online microphone unit without a verdict is rejected, so missing evidence cannot become accepted speech. Sources/…/MeetingUnitEchoVerdictProvider.swift• L3-11 Sources/…/MeetingUnitEchoVerdictProvider.swift• L36-48 Sources/…/MeetingTranscriptAssembler.swift• L320-360

Reference attribution is an offline evidence contract for comparing microphone audio with a selected reference. It keeps reference scope, clock alignment, gaps, unknown speech state, and fallback to the original microphone explicit. The synchronizer does not treat missing or masked reference data as silence, and its bounded result can remain unknown. This contract is separate from production capture and does not by itself change captions, transcript output, or exports. Sources/…/MeetingReferenceAttributionContracts.swift• L4-20 Sources/…/MeetingReferenceSynchronizer.swift• L3-35 Sources/…/MeetingReferenceSynchronizer.swift• L468-547

Diagnostic comparison capture is separate from production capture. When explicitly armed, it stores bounded evidence for selected stages, never feeds that evidence into captions or final transcription, and expires after a short window. Sources/…/MeetingAudioComparisonProbe.swift• L5-12 Sources/…/MeetingAudioComparisonProbe.swift• L67-86

References: Sources/…/MeetingAECActivationController.swift• L27-92 Sources/…/MeetingAECOutputCommitter.swift• L59-159 Sources/…/MeetingUnitEchoVerdictProvider.swift• L36-48 Sources/…/MeetingTranscriptAssembler.swift• L320-360 Sources/…/MeetingReferenceSynchronizer.swift• L468-547 Sources/…/MeetingAudioComparisonProbe.swift• L5-12

Live and batch transcription backends

Meeting transcription has a live phase and a completion phase. Live captions show the current recording and can degrade without invalidating the saved audio. After stop, one selected batch backend reads finalized audio and produces durable transcript evidence, speaker activity, coverage gaps, and processing lineage.

Live transcription runs one streaming recognizer for the microphone and one for application audio during an online call. It uses capture timestamps rather than callback arrival order, keeps partial and final turns separate, and resets a track when queue, model, conversion, or processing conditions make its current turn unreliable. Live captions are English-only and can be unavailable or degraded. Sources/…/MeetingLiveModels.swift• L5-26 Sources/…/MeetingLiveTrackEngine.swift• L50-80 Sources/…/MeetingLiveTrackEngine.swift• L226-233 Sources/…/MeetingProcessingConfiguration.swift• L125-166

Live captions use neutral source labels such as you and them; they do not claim final speaker identity. The snapshot uses revisions and a recording generation so old callbacks cannot restore text after stop or overwrite a newer meeting. Sources/…/MeetingLiveModels.swift• L36-107

The final path selects one registered backend for the whole attempt. The production default is the local Parakeet plus Nemotron backend, while a legacy compatibility backend remains available for explicit rollback. Unknown backend IDs and identity mismatches fail rather than silently switching. Sources/…/MeetingTranscriptionBackend.swift• L12-25 Sources/…/MeetingTranscriptionBackendRegistry.swift• L23-69

The local composite backend uses Nemotron for speaker activity and Parakeet for text and word timing. It materializes validated audio epochs in order, maps model time back to the meeting timeline, and emits coverage receipts for planned spans. Failed epochs remain visible as failed coverage. The backend validates the frozen language, model, track scope, and local model artifact before it runs. Sources/…/MeetingParakeetNemotronBackend.swift• L17-30 Sources/…/MeetingParakeetNemotronBackend.swift• L54-120 Sources/…/MeetingParakeetNemotronBackend.swift• L197-345 Sources/…/MeetingNemotronModelLocator.swift• L4-11

The analysis manifest is the shared evidence map between capture and the backend. It records observed file facts, timing, capture eras, admissibility, epochs, spans, and typed gaps. Missing, changed, unreadable, or unsafe audio stays a visible gap instead of appearing as complete silence. Sources/…/MeetingAnalysisManifest.swift• L3-20 Sources/…/MeetingEpochAudioMaterializer.swift• L4-13

This diagram shows the final processing contract.

flowchart LR
    A[Frozen session and backend plan] --> B[Observe and validate audio]
    B --> C[Analysis manifest]
    C --> D[Speaker activity and ASR]
    D --> E[Echo verdicts]
    E --> F[Transcript assembly]
    F --> G[Verified result sidecar and session result]

References: Sources/…/MeetingLiveModels.swift• L36-107 Sources/…/MeetingLiveTrackEngine.swift• L50-80 Sources/…/MeetingProcessingConfiguration.swift• L21-24 Sources/…/MeetingTranscriptionBackend.swift• L99-123 Sources/…/MeetingParakeetNemotronBackend.swift• L197-345 Sources/…/MeetingAnalysisManifest.swift• L3-20

Speaker diarization and turn assembly

Speaker diarization means finding which speaker was active during each time range. The batch backend keeps raw speaker activity separate from product speakers. A text unit receives a speaker only when activity supports that assignment. Overlap and uncertain timing remain visible without a made-up name or timestamp. Sources/…/MeetingParakeetNemotronBackend.swift• L384-520 Sources/…/MeetingTranscriptAssembler.swift• L101-112

The assembler applies one precedence order to every text unit: quarantine invalid timing or provenance, reject inadmissible capture, suppress a measured echo duplicate, reject text outside speaker activity, retain ambiguity, or emit a segment. Coverage receipts must represent every admissible span once, so text cannot make missing or failed audio appear complete. Sources/…/MeetingTranscriptAssembler.swift• L101-112 Sources/…/MeetingTranscriptAssembler.swift• L242-393

Product speaker identities are scoped to a source track. Voice evidence can reconnect labels across epochs of that track, but tracks never share a speaker identity. The local-user label requires separate microphone evidence that survives echo and near-field checks; diarization alone does not identify the user. Sources/…/MeetingSpeakerVoiceMatcher.swift• L82-126 Sources/…/MeetingProcessingPipeline.swift• L668-847

The saved meeting keeps attribution state with each segment. It can show assigned, unassigned, overlapping, and timing-uncertain text. The workspace can rename speakers, assign unknown text, merge compatible speakers, edit text, and undo a correction without recording again. Sources/…/MeetingModels.swift• L102-127 Sources/…/MeetingSessionCoordinator.swift• L171-197 Sources/…/MeetingAssignSpeakersSheet.swift• L166-220

References: Sources/…/MeetingParakeetNemotronBackend.swift• L197-345 Sources/…/MeetingTranscriptAssembler.swift• L242-393 Sources/…/MeetingSpeakerVoiceMatcher.swift• L112-188 Sources/…/MeetingModels.swift• L102-127 Sources/…/MeetingAssignSpeakersSheet.swift• L166-220

Meeting workspace and outputs

The meeting workspace is the main surface for source setup, recording, live captions, processing, saved results, speaker edits, summaries, playback, and exports. The history view supports search, grouping, retry, record-again, rename, audio actions, transcript export, and deletion. The active meeting stays tied to its session ID while the user moves between history and detail views. Sources/…/MeetingTranscriptionView.swift• L249-346 Sources/…/MeetingTranscriptionView.swift• L441-510

Setup separates online calls from in-room meetings. Online calls need an application and microphone. In-room meetings need only a microphone. Settings also control transcript language, detection, browser detection, audio retention, and access repair. Final transcripts support the configured Parakeet language set, while live captions remain English-only. Sources/…/MeetingRecordingSettingsSheet.swift• L225-320 Sources/…/MeetingRecordingSettingsSheet.swift• L371-463

During capture, the workspace shows source health, echo warnings, live captions, and a Stop & Transcribe action. The floating overlay can show either a compact recording pill or a caption surface. Hiding the pill does not stop capture, and the overlay is kept out of screen sharing. Sources/…/MeetingSessionCanvases.swift• L4-126 Sources/…/MeetingLiveCaptionBubbles.swift• L38-101 Sources/…/MeetingOverlayModels.swift• L4-74

After processing, the transcript view supports segment playback, probable-echo visibility, speaker assignment, inline text edits, undo, and retranscription in a supported language. The result canvas keeps corrections and playback tied to the selected session. Sources/…/MeetingSessionCanvases.swift• L372-380 Sources/…/MeetingSessionCoordinator.swift• L171-197

Summaries use the saved transcript as source material. A verified provider from AI Settings can receive the transcript while audio stays on the Mac, or an optional on-device model can process it locally. The workspace supports executive, detailed, action, decision, participant, topic, and custom summary forms. Saved output carries provider, model, prompt, and transcript provenance, and a changed transcript or speaker name marks the summary outdated. Sources/…/MeetingSummaryProvider.swift• L4-35 Sources/…/MeetingSummaryProvider.swift• L82-135 Sources/…/MeetingSummaryProvider.swift• L149-217 Sources/…/MeetingSummaryView.swift• L116-203

This diagram shows how a completed meeting becomes a transcript or summary in the workspace.

flowchart LR
    A[Completed meeting] --> B[Transcript view]
    B --> C[Speaker and text corrections]
    C --> D[Transcript fingerprint]
    D --> E[Remote provider or on-device model]
    E --> F[Saved summary with provenance]
    D --> G[Text, Markdown, or JSON export]

References: Sources/…/MeetingTranscriptionView.swift• L249-346 Sources/…/MeetingSessionCanvases.swift• L4-126 Sources/…/MeetingSessionCanvases.swift• L372-380 Sources/…/MeetingOverlayModels.swift• L4-74 Sources/…/MeetingSummaryProvider.swift• L82-135 Sources/…/MeetingSummaryProvider.swift• L149-217 Sources/…/MeetingSummaryView.swift• L116-203

Result history and export

Completed meeting sessions remain local records that survive navigation and restart. History reads use the saved transcript and session catalog without opening or hashing audio. Recovery and audio actions perform the deeper track checks only when needed. Sources/…/MeetingSessionStore.swift• L40-49 Sources/…/MeetingSessionStore.swift• L130-165

Audio deletion removes track files and processing checkpoints while leaving the transcript and session record intact. Retention is applied by a later sweep, so a transcript can remain usable after its source audio is removed. Playback, retry, reveal, and audio export validate current disk state before acting. Sources/…/MeetingSessionStore.swift• L143-165 Sources/…/MeetingSessionStore.swift• L264-274

Transcript export uses one rendering source for plain text, Markdown, and JSON. Speaker aliases are resolved so an exported segment does not point to a speaker missing from the exported speaker list. Captured audio is exported separately and is outside FluidVoice retention controls. Sources/…/MeetingTranscriptExporter.swift• L3-129 Sources/…/MeetingTranscriptionView.swift• L1093-1195

References: Sources/…/MeetingSessionStore.swift• L40-49 Sources/…/MeetingSessionStore.swift• L130-165 Sources/…/MeetingSessionStore.swift• L264-274 Sources/…/MeetingTranscriptExporter.swift• L3-129 Sources/…/MeetingTranscriptionView.swift• L1093-1195

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep detection evidence, source resolution, prompt episode state, source confirmation, and session start aligned so a suggestion cannot record a different process or microphone.
  • Keep capture mode, expected tracks, route choice, capture eras, and writer metadata aligned so online calls retain both application and microphone audio.
  • Keep the start reservation and exclusive audio lease across every asynchronous setup, capture, persistence, and handback path.
  • Keep AEC activation generations, route revisions, transcript admission, writer commits, and safety eras aligned so late callbacks cannot bless stale or unsafe audio.
  • Keep live source labels and timestamps separate from final speaker identity and batch time mapping.
  • Keep live language limits, model preparation, model release, final language selection, backend identity, and frozen request configuration aligned.
  • Keep manifest observations, epoch spans, timing transforms, backend receipts, echo verdicts, and assembly gaps aligned so every admissible interval is represented once.
  • Keep track-scoped diarization, epoch continuity, voice links, local-user evidence, corrections, and export aliases aligned.
  • Keep session IDs, selected-history locks, transcript fingerprints, summary provenance, provider routes, and on-device model state aligned.
  • Keep audio retention state separate from transcript history, and keep exported audio outside retention assumptions.
  • Keep overlay state tied to the active recording session. A pill dismissal must hide only the pill and must not stop capture.

Important failure modes

TriggerConsequenceGuard
Detection evidence is missing, ambiguous, or unreadableFluid does not prompt or choose an arbitrary appTiered evidence and fail-closed detector rules
A saved or selected source is absent or resolves to the wrong processRecording does not start against an unintended sourceExact source resolution and one confirmation snapshot
Another exclusive audio activity starts during setupThe meeting does not enter captureStart reservation and exclusive meeting lease
A route, format, clock, stream generation, or AEC state becomes unsafeAudio becomes unfiltered or excluded from canonical analysisActivation generations, capture eras, and transcript gates
A PCM write is short, poisoned, or not finalizedThe chunk is not treated as durable workBounded writer path and close, reopen, verify, and publish finalization
Live model loading, conversion, queue processing, or reset failsLive captions degrade while batch processing can continuePer-track recovery and independent final processing
An old live callback arrives after stop or for a newer captureOld captions can overwrite the current meetingSnapshot revisions and capture generations
The selected backend is unknown or disagrees with the frozen requestFinal processing fails without silently changing backendRegistry identity checks and plan validation
A chunk changes, disappears, or no longer decodes as observedIts interval becomes a typed coverage gapManifest hashes, decoded facts, and fail-closed materialization
An online microphone unit has no echo verdictCanonical assembly refuses that unitRequired per-unit verdicts
Speaker activity overlaps or does not support one speakerText stays visible with unknown attributionCoverage-based assignment and conservative voice links
Reference data is absent, scoped, incomplete, or not alignedReference attribution remains unknown or falls back to original microphone audioExplicit unknown reasons and bounded synchronizer output
A summary route is unavailable, the prompt is empty, or the transcript is too largeSummary generation is blocked without changing the transcriptRoute verification, prompt validation, and input limits
Transcript or speaker names change after summary generationThe summary stays visible but is marked outdatedTranscript and prompt fingerprints
Audio is deleted before playback, retry, or exportThe audio action fails while transcript history remains usableRetention state and current disk validation

Key files

FileWhy to read it
Sources/…/MeetingAppRegistry.swiftDefines supported detection tiers and source ordering
Sources/…/MeetingAutoDetector.swiftDefines evidence, episode state, prompt targets, and fail-closed behavior
Sources/…/MeetingRecordingSourcePrompt.swiftShows source confirmation and exact application and microphone selection
Sources/…/MeetingSessionCoordinator.swiftCoordinates leases, session states, stop, processing, recovery, and corrections
Sources/…/MeetingCaptureEngine.swiftConnects sources to capture paths, writers, health, and AEC
Sources/…/MeetingAECActivationController.swiftDefines safe AEC startup and invalidation states
Sources/…/MeetingAECOutputCommitter.swiftShows how echo provenance is persisted before live transcript admission
Sources/…/MeetingAudioChunkSink.swiftDefines the PCM durability boundary
Sources/…/MeetingAnalysisManifest.swiftDefines the observed evidence map and typed gaps
Sources/…/MeetingTranscriptionBackend.swiftDefines backend identity, request freezing, planning, and result contracts
Sources/…/MeetingTranscriptionBackendRegistry.swiftDefines backend selection and identity enforcement
Sources/…/MeetingParakeetNemotronBackend.swiftShows local batch orchestration, diarization, ASR, timing, and coverage
Sources/…/MeetingTranscriptAssembler.swiftDefines echo suppression, attribution precedence, segments, and completeness
Sources/…/MeetingUnitEchoVerdictProvider.swiftDefines measured cross-track echo verdicts
Sources/…/MeetingReferenceSynchronizer.swiftDefines offline reference alignment and explicit unknown evidence
Sources/…/MeetingLiveModels.swiftDefines live source labels, revisions, timestamps, and snapshot behavior
Sources/…/MeetingLiveTrackEngine.swiftDrives one live recognizer per captured track
Sources/…/MeetingSpeakerVoiceMatcher.swiftDefines conservative identity links across diarization epochs
Sources/…/MeetingSessionStore.swiftShows history reads, recovery, audio deletion, and retention state
Sources/…/MeetingTranscriptionView.swiftConnects setup, history, corrections, playback, summaries, and exports
Sources/…/MeetingSessionCanvases.swiftShows recording health, live captions, processing, and result surfaces
Sources/…/MeetingSummaryProvider.swiftDefines verified remote and optional on-device summary routes
Sources/…/MeetingSummaryView.swiftShows summary model choice, summary types, and output actions