English | 简体中文
Verba is a local-first macOS application for real-time bilingual subtitles, structured meeting notes, phonetic transcript search, and Obsidian synchronization.
- On-device audio capture & speech recognition: Captures system playback audio and an optional live room microphone via macOS CoreAudio Process Tap (
CATapDescription, no Screen Recording permission required), then transcribes locally with AppleSpeechAnalyzer/SpeechTranscriber(macOS 26+) orSFSpeechRecognizerfallback (macOS 14.4+). Raw audio never leaves your Mac. - Rust core engine (
verba-engine): Handles live/batch translation scheduling, Mandarin pinyin homophone/phonetic correction, progressive structured meeting notes and fishbone diagrams, full-text + phonetic search, Markdown/SRT/Obsidian export, and a local Axum HTTP + SSE server (127.0.0.1:4391). - Local Loom AI gateway: All translation, contextual glossary correction, and structured note generation route through your local Loom gateway (
http://127.0.0.1:4319/v1withhub.keyauthentication), using a priority queue where live subtitle translation preempts note generation, which preempts batch file imports.
- Live captions and speaker identity
- In Auto mode, local Mandarin and English recognizers hear the opening speech together. Verba compares their transcripts and keeps the stronger candidate. An eight-second pause or a low-plausibility transcript reopens the comparison. Choose a source language explicitly for other languages.
- Pitch, gain-normalized spectral bands and stereo balance distinguish up to eight remote voices within a session. The optional room microphone labels your own speech and gates playback echo. Switch the microphone or output device while listening.
- The floating bar pairs each speaker-tagged source with its own translation and reserves two left-aligned lines for each. Drag or resize it directly. Enable click-through from its toolbar and press
⌃⌥Sto unlock. The same shortcut shows or hides the unlocked bar. Use⌃⌥Lto toggle click-through directly. - Only text goes to the local Loom gateway. Configure it with a loopback address or
localhost. Loom receives up to four preceding speaker-labelled source/translation pairs for final subtitles and two for drafts. The topic, summary, glossary and custom vocabulary guide terminology and pronouns even with automatic corrections disabled.
- Structured Meeting Notes & Fishbone Diagrams:
- Generates meeting titles, executive summaries, timestamped topic timelines, cause-and-effect / trade-off fishbone diagrams, conclusions, owner-tagged clickable action items, and a bilingual terminology glossary.
- Anti-capture floating notes window (
sharingType = .noneby default) adapts cleanly across narrow, card, and two-column layouts. - Live phonetic confirmation bar asks to learn misheard terms into your persistent custom vocabulary.
- Meeting Archive, Phonetic Search & Audio Sync:
- Searches past transcripts and notes with Mandarin pinyin homophone matching (flagged with
[音近]). - Built-in audio playback (
system.m4a) with speed cycling (1.0x,1.25x,1.5x,2.0x); click any timestamp or search hit to jump directly to that moment in the recording. - Click any speaker badge to reassign that line or name a voice throughout the session, including in older transcripts. Notes can fill an unnamed voice from an unambiguous introduction or direct address. Scrolling back pauses live following. Use the return-to-latest button to resume.
- Searches past transcripts and notes with Mandarin pinyin homophone matching (flagged with
- Local Media Import & Obsidian Vault Sync:
- Imports
.m4a,.mp3,.wav,.mp4,.mov, and other AVFoundation audio/video files for on-device transcription, Loom translation, and note generation. Import scans for pauses, uses a low-energy cut for uninterrupted speech, and keeps the original media timestamp and acoustic speaker ID for each segment. - Automatically discovers local Obsidian Vaults and exports Markdown with YAML frontmatter or bilingual
.srtsubtitles to your selected folder.
- Imports
verba/
├── Cargo.toml # Rust engine & CLI crate (verba-engine, Apache-2.0)
├── VERSION # App bundle version (0.1.0)
├── src/
│ ├── main.rs # CLI: serve / status / search / export / notes
│ ├── server.rs # Axum HTTP + SSE local service (127.0.0.1:4391)
│ ├── loom.rs # Loom OpenAI gateway client, hub.key auth & priority queue
│ ├── translator.rs # Streaming/line/import translation + glossary-aware prompts
│ ├── notes.rs # Incremental & long-meeting segmented notes + fishbone generation
│ ├── correction.rs # Pinyin homophone matching, edit distance & manual fix learning
│ ├── heard.rs # Streaming ASR cleanup, sentence segmentation & merging
│ ├── search.rs # Notes + Chinese phonetic transcript search
│ ├── export.rs # Markdown (YAML frontmatter) / SRT / Obsidian folder sync
│ ├── store.rs # Local session store (~/Library/Application Support/Verba)
│ └── config.rs # Settings, custom vocabulary & Obsidian Vault discovery
├── macos/
│ ├── Package.swift # SwiftPM native macOS app (macOS 14.4+)
│ ├── Resources/Info.plist # Bundle metadata & audio/speech usage descriptions
│ ├── Sources/
│ │ ├── Verba/ # CoreAudio Tap, diarizer, ASR, importer, AppKit/SwiftUI UI
│ │ └── VerbaIcon/ # Programmatic AppIcon generator
│ └── Tests/VerbaTests/ # On-device diarization, VAD, echo gate & ASR pipeline tests
└── scripts/
├── build.sh # Builds Rust + Swift and bundles signed build/Verba.app
├── swiftpm.sh # Standalone CLT / Xcode SwiftPM toolchain helper
└── test.sh # Runs Rust and Swift tests, Clippy (-D warnings), and Swift build
- macOS 14.4 or later (
LSMinimumSystemVersion = 14.4) - Xcode Command Line Tools / Swift 6 toolchain and Rust (
1.89+) - A running local Loom instance listening on
http://127.0.0.1:4319(key at~/Library/Application Support/ModelHub/.local/hub.key, overridable viaMODEL_HUB_DATA_DIR)
# Run Rust and Swift tests, Clippy, and Swift build verification
./scripts/test.sh
# Build release verba-engine + Swift app into build/Verba.app (pass --dev for debug Swift build)
./scripts/build.sh
# Launch the app
open build/Verba.appYou can also inspect status, search archives, export transcripts, or regenerate notes directly from the verba-engine CLI (--data-dir overrides VERBA_DATA_DIR / ~/Library/Application Support/Verba):
cargo run --bin verba-engine -- serve --port 4391
cargo run --bin verba-engine -- status --json
cargo run --bin verba-engine -- search "phonetic-keyword"
cargo run --bin verba-engine -- export <session-id> --format markdown
cargo run --bin verba-engine -- export <session-id> --format srt
cargo run --bin verba-engine -- notes <session-id> --freshLicensed under the Apache-2.0 license (declared in Cargo.toml).