Skip to content
MacWhisper now remembers speakers’ voices across recordingsMappleCare Community ↗

MacWhisper now remembers speakers’ voices across recordings

By admin • • 3 min read

MacWhisper’s latest update introduces a persistent speaker embedding store that operates entirely within the app’s sandboxed container, leveraging Apple’s Core ML framework to compute and cache speaker-characteristic vectors locally. When a user assigns a name to a speaker segment in one recording, the corresponding d-vector — derived from the Whisper model’s encoder output — is serialized to an encrypted SQLite database keyed by the app’s bundle identifier. Subsequent recordings trigger an on-device similarity search against this index using cosine distance thresholds calibrated to minimize false positives while accommodating acoustic variability across sessions.

The engineering change eliminates the prior stateless workflow where speaker labels existed only per-session in the transcript JSON sidecar. The new architecture implements a two-stage pipeline: first, voice activity detection (VAD) isolates speech segments; second, a lightweight speaker encoder — distinct from the ASR decoder — generates fixed-dimensional embeddings that are compared against the persisted gallery. This design ensures zero network egress for biometric voice data, aligning with Apple’s on-device intelligence mandate and App Sandbox entitlements for com.apple.security.files.user-selected.read-write scoped to the user’s chosen transcript directory.

Key Engineering Takeaway: Speaker identity persistence is achieved through on-device embedding galleries stored in an encrypted, sandboxed SQLite store, enabling cross-session recognition without cloud dependency. The pipeline decouples speaker encoding from ASR decoding to maintain real-time performance on Apple Silicon.
← Scroll table horizontally on small screens →
Subsystem / Parameter Baseline / Previous Updated Implementation
Speaker Identification Scope Per-session only; labels lost on app quit Persistent across recordings via encrypted embedding gallery
Data Persistence Layer Transcript JSON sidecars in user-selected folder App-sandboxed SQLite database with per-speaker d-vector blobs
Privacy & Compute Model No speaker modeling; manual rename per file On-device Core ML speaker encoder; zero network egress for voice biometrics

Actionable Diagnostic & Implementation Steps

  1. Verify the embedding store integrity by opening Terminal and executing: sqlite3 ~/Library/Containers/com.bruin.macwhisper/Data/Library/Application\ Support/MacWhisper/speakers.db "PRAGMA integrity_check;" — expect ok output confirming database consistency.
  2. Trigger a speaker re-enrollment cycle by deleting a specific speaker row: sqlite3 ~/Library/Containers/com.bruin.macwhisper/Data/Library/Application\ Support/MacWhisper/speakers.db "DELETE FROM speakers WHERE name='Speaker Name';" then reprocess a recording containing that voice to regenerate the embedding.
  3. Validate Core ML model loading latency via Instruments: launch xcrun instruments -t "Time Profiler" -D /tmp/macwhisper.trace /Applications/MacWhisper.app, perform a transcription, then inspect the MLModel initialization interval in the trace to confirm sub-200ms cold-start on M-series SoCs.

Ecosystem Compatibility & Support Notice

  • macOS 14.0 (Sonoma) or later required for Core ML speaker encoder optimizations and App Sandbox filesystem APIs.
  • Apple Silicon (M1/M2/M3/M4 series) mandatory; Intel Macs lack the Neural Engine acceleration path for real-time embedding extraction.
  • Minimum 8 GB unified memory; 16 GB recommended for concurrent transcription and speaker gallery indexing on large libraries.
  • MacWhisper 8.2 or later from the Mac App Store or direct distribution; sandbox entitlements differ between channels — verify com.apple.security.app-sandbox is present via codesign -d --entitlements :- /Applications/MacWhisper.app.

Source and technical reference: 9to5Mac.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Still running into this issue on your iPhone or Mac?

Share your OS version, device model, and exact error code in our independent peer Q&A rooms.

Ask in Community Forum →
Ağ Bağlantıları:MacBook • Teknoloji • Donanım Rehberi • Elektronik • Soru Cevap
\n\n