RisorseArtificiali/anti-vocale
关于
Android app for transcribing voice messages locally on-device, with no internet required.
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- +3
- 15天
- +10
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Anti-Vocale
Android app for transcribing voice messages locally on-device, with no internet required.
Anti-Vocale receives shared audio files (from WhatsApp, Telegram, etc.), transcribes them using on-device ASR models, and delivers the result via notification with one-tap copy and share-back actions.
It also plugs into the messengers themselves: new WhatsApp voice notes can transcribe themselves the moment they arrive, and clients like Forkgram can hand their voice messages to Anti-Vocale as their built-in offline transcriber.
It works on recorded calls and meetings too, at any length: recordings beyond a model's limit are split and stitched automatically (up to four hours on the streaming path), long runs are batch operations you can pause and resume if the app or the phone dies partway, a failed long run keeps the transcript it already produced, and results export as subtitles (SRT, VTT) or timestamped text. An optional speaker-labels setting marks who said what in a conversation, rendering SPEAKER turns in results and exports. And it keeps working on phones whose aggressive vendor customizations freeze or kill background work: a protection toggle holds transcription open under Oppo, Realme, OnePlus and Vivo battery managers.
Why this app exists
The big messengers transcribe voice messages only partially, or not at all:
- WhatsApp on Android officially transcribes just English, Portuguese, Spanish, and Russian. Italian is supported on iPhone but is not supported on Android.
- Telegram runs transcription on its own servers and reserves it for paid Premium subscribers; free accounts get at most a small weekly trial quota that Telegram itself can dial down to nothing.
- Signal ships no voice transcription at all.
Anti-Vocale closes that gap with a different trade-off. It runs entirely on your phone, so audio never leaves the device, whatever chat it came from. Any messaging app can share into it through the standard Android share sheet, and you can also pick an audio or video file straight from storage inside the app. It is free. And it transcribes any language the installed models cover, including community fine-tunes imported from the model catalog, so coverage is not decided by a platform vendor.
How this project is built
Anti-Vocale is developed with heavy AI assistance and human ownership: a coding agent executes, the maintainer designs, reviews, and owns every change, and one human signs every release. The badge above says it plainly and links here: AI-assisted, human-owned (blue = AI-assisted in the open AI disclosure badge convention).
This is a deliberate choice, not a shortcut. The compatibility space this app lives in is a matrix of devices, inference backends, models, and per-language quality, and it is too vast to validate the way a narrower domain could. Published WER numbers almost never match real-phone experience: they are typically measured on full-precision models running on desktops, before quantization and before vendor-specific Android quirks. That complexity is exactly why the project is only sustainable with heavy AI-assisted development plus feedback from the community on real devices.
What keeps that honest is the verification bar: every code change passes the automated test suite, and behavior changes are verified on a real device before release; the measurements and device logs behind the fixes are public in the issues. Much of the day-to-day development happens over chat from a phone, sometimes while walking down the street: decisions land where life happens, and the verification pipeline is what makes that safe. If you want to contribute, CONTRIBUTING.md says what we ask of AI-assisted contributions.
Model catalog
Everything the app can transcribe with, on one page: bundled models with sizes, languages, speed notes, and the community imports, each linked back to the original model it comes from. See docs/model-catalog.md.
Which model for your language
Measured by us, not declared by vendors: the per-language error rates of every model we ship, same clips, same harness. See docs/quality-matrix.md.
Features
Privacy & offline first
- Fully offline - All processing happens on-device, no data leaves your phone
- Local history - Every transcription is saved to an on-device database with full-text search; nothing is uploaded
Models
- Multiple ASR engines - Choose between Gemma (LLM), Whisper, Parakeet TDT, Qwen3-ASR, GigaAM v3, Nemotron 3.5 (streaming), or import your own
- Custom model import - Bring any sherpa-onnx model (transducer, Whisper, CTC, SenseVoice, Canary, Moonshine, Dolphin) from a folder or HuggingFace URL, no app update needed; one-tap validated entries live in the community catalog, and only models matching a supported family's layout import (docs)
- Full user manual - Getting started, choosing a model, troubleshooting and FAQ, in 8 languages (user guide)
- Any audio length - Long inputs are automatically split and stitched; practical ceilings are declared up front (4 hours on the streaming path, memory-dependent with VAD enabled), and runs past 30 minutes become pausable, resumable sessions with a remaining-time estimate (see the FAQ)
- Declared limits before download - Each model card states its audio-length capability up front, so big downloads are informed choices
- Fits-your-device labels - Model cards also state how their memory footprint fits your phone's RAM tier, so heavy models are an informed choice too; nothing is hidden, you can always install anyway
- Suggested for your phone - A filter in the Models tab that picks the models your device runs comfortably, ordered by your language and measured quality; advisory only, one tap shows everything again
- Model benchmarking - Compare real-world transcription speed between models on your own device
Transcription pipeline
- Queue-aware processing - Concurrent requests queue up visibly (Queued → Processing → Done) and complete in order
- Progressive display - Text appears segment-by-segment instead of waiting for the full result
- VAD silence stripping - Optionally strip silent segments before transcription for faster results (boundaries fall on natural speech gaps)
- Confidence indicator - Shows detected language and warns about low-confidence results
- Video file support - Transcribe audio from video files; extract embedded subtitles
- Summaries - With a Gemma model installed, long transcripts get an optional short recap (and a punctuation polish pass), opt-in from Settings
- Summary presets - Shape that recap as a plain summary, action items, or meeting minutes, or write your own prompt; applies to new transcriptions and to any entry you re-transcribe
- Personal dictionary - List the names and terms you care about and the models that support biasing steer their decoding toward them: Parakeet, GigaAM and the streaming Nemotron re-rank their search, Qwen3 receives the terms in its prompt, while Whisper-family models have no biasing hook and ignore the list. A strength slider tunes how aggressive the correction is; the default is the safe end (fixes hard misspellings, leaves the rest of the transcript alone), higher values can also flip words that sound similar. For heavily inflected languages like Russian, add the forms you actually hear spoken: a list of base forms alone pulls inflected endings toward the nominative
- Speaker labels - Optional per-sentence speaker attribution in conversations, rendered as SPEAKER turns in the result and every export
- Calibration-based ETA - Progress estimates improve as the model adapts to your device
- Hostile-ROM resilience - On phones whose vendor customizations freeze or kill background work (common on some Oppo, Realme, OnePlus and Vivo models), an opt-in background-protection toggle keeps transcription running with the screen off, a native NNAPI crash resets the provider to CPU on the next launch, and a corrupted model directory heals itself with a fresh download instead of failing forever
- Deleted-model recovery - If a phone's storage cleaner deletes imported model files, the app notices and shows a recovery banner: download them again or remove the broken entries in one tap
Results & history
- Smart notifications - Read long transcripts page-by-page without leaving the shade, copy the full result, or send it back to the source app with one tap
- In-row playback - Play a result's original audio right from its history row: speed control, a position bar, and an optional skip-silences mode for gapped recordings (#157)
- Duplicate guard - Share a file that is already transcribed with the same model and the app offers to open the existing result instead of running it again (#157)
- Language hint - When a transcript's language clearly differs from your phone's, a one-line hint names how to lock the language for models that honor the setting (#146)
- Similar-words search - History search has a second mode that also finds words the recognizer mis-heard: toggle it on and a query for "castellazzo" matches a transcript that says "castelazzo"; plain substring search stays the default (#161)
- Ask your transcripts - With a Gemma model installed, ask plain-language questions about your saved history and get answers grounded in your own transcripts; the question, the transcripts, and the answer never leave the device
- Paragraph breaks - Long pauses in a dictation become paragraph breaks in the transcript, so hours of audio read as paragraphs instead of one wall of text
- Backup & transfer - Export your settings and full history to a zip archive you choose, and merge it back on any device; the archive is plaintext, so treat the file like the data it holds (#158)
- Re-transcribe - Retry any transcription with a different model straight from the history
- History actions - Swipe or long-press any entry for copy, re-transcribe, and delete
- Per-entry metadata - Each entry shows which model produced it and how long it took
- Auto-copy - Optionally copy transcription to clipboard automatically
- Save to folder - Auto-save transcripts as .txt to a folder of your choice (Drive, Syncthing, Dropbox, etc.)
- Picture-in-Picture - See live transcription in a floating window while using other apps
Integration & automation
- Share integration - Share audio from any messaging app to transcribe
- Direct file picker - Pick any audio or video file from storage in the app, no messaging app needed
- Model-specific share targets - Pick a specific model directly from the Android share sheet
- One-tap import links - An
antivocale://import?url=...link opens the import dialog pre-filled, so model pages and guides can offer installation in one tap - WhatsApp voice notes - New WhatsApp and WhatsApp Business voice notes are transcribed automatically as they arrive, zero taps, and the history row can carry the sender's name; see Advanced integrations
- Tasker/automation support - Trigger transcription via broadcast intents
- Open Transcribe provider (experimental) - Apps that speak the open Open Transcribe contract, like Forkgram, can turn Anti-Vocale into their inline voice-message transcriber; off by default (Settings, Automation, Open Transcribe API), and the audio never leaves the device (see Advanced integrations)
- Scheduled folder watch - Watch folders you choose and transcribe new audio files automatically; on Android 11+ the watched folder can be a messaging app's media folder, so incoming voice notes transcribe themselves (scans adapt to what the system allows; a manual scan is always available)
- Remote offload (experimental) - Delegate long or heavy transcriptions to your own OpenAI-compatible server (OmniVoice, whisper.cpp server, ...); off by default, and the audio of delegated runs goes only to the server address you configure
- HuggingFace login - Authenticate (token or OAuth) for gated model downloads
Performance & appearance
- Configurable inference threads - Auto-detects or manually sets thread count; NNAPI and CPU providers selectable
- Performance stats - Track real-world transcription speed per model on your device
- Theming - Three color palettes (Indigo, WhatsApp, Telegram) with light and dark modes
- Multilingual UI - Interface translated in English, Italian, German, Spanish, French, Hindi, Polish, Portuguese (BR), Russian, Turkish, Ukrainian, Persian, Dutch, Hebrew, Chinese, Arabic, and Finnish
- Per-app settings - Configure notification behavior per messaging app
- Organized settings - Grouped into Transcription, Appearance, and Advanced sections
Screenshots
Transcription Log
Model Selection
Settings
Notification with Paged Transcription Result
Long transcripts are split into pages you can read without leaving the notification shade: the arrows move back and forward, Copy always grabs the full text, and one-tap send-back to the source app stays one page away.
Themes
Supported Models
LLM (Multimodal)
| Model | Size | Notes |
|---|---|---|
| Gemma 4 E2B | 2.5GB | Recommended, newest generation, best for most devices |
| Gemma 4 E4B | 3.5GB | Newest generation, higher quality |
| Gemma 3n E2B | 3.5GB | Previous generation |
| Gemma 3n E4B | 4.7GB | Previous generation |
ASR (Encoder-Decoder)
| Model | Size | Languages | Notes |
|---|---|---|---|
| Whisper Small | ~378MB | 99 | Only for low-spec devices |
| Whisper Turbo | ~1037MB | 99 | Near large-v3 quality; the measured quality leader in most languages |
| Whisper Medium | ~949MB | 99 | Largest non-distilled variant, slower than Turbo |
| Distil Italian | ~984MB | Italian | Fastest Whisper variant, optimized for Italian |
| Whistle | ~17MB | 7 | Tiny English-first engine, fastest startup (ARM64) |
ASR (Transducer)
| Model | Size | Languages | Notes |
|---|---|---|---|
| Parakeet TDT (stock int8) | ~640MB | 25 European | The default: fastest and lightest full multilingual option, close to Whisper Turbo in most languages we measured (inputs over 1 minute are chunked and stitched, sized to free RAM; see FAQ) |
| Parakeet TDT (SmoothQuant) | ~862MB | 25 European | Alternative to the default (the default through 1.13.x) |
| GigaAM v3 | ~326MB | Russian | Best Russian accuracy, native punctuation |
| Qwen3-ASR 0.6B | ~606MB | 59 | 59 languages incl. Chinese dialects; poor Italian accuracy |
Custom Models (ONNX Sherpa)
Import any sherpa-onnx model (transducer, Whisper, CTC, SenseVoice, Canary, Moonshine, Dolphin) from a local folder or HuggingFace URL, or take the recommended route: the community catalog offers validated models as a one-tap import, per language. The app handles role-based file matching, SHA-256 verification, and architecture selection. See the import reference for supported formats, the catalog-entry JSON schema, and what import can and cannot do.
Italian ASR Benchmark
Full 4-model comparison on 8 Italian FLEURS samples (101.6s audio, desktop ffmpeg-chain harness), plus the 20-language measured matrix:
| Model | WER | Speed | Size |
|---|---|---|---|
| Distil Large V3 IT | 4.3% | 0.723x | 939MB |
| Parakeet TDT | 5.4% | 0.041x | 640MB |
| Whisper Turbo | 6.3% | 1.217x | 990MB |
| Qwen3-ASR 0.6B | 12.2% | 0.278x | 606MB |
ASR (Streaming)
| Model | Size | Languages | Notes |
|---|---|---|---|
| Nemotron 3.5 | ~640MB | 40+ | Cache-aware streaming transducer, auto-detect + native punctuation/casing |
| Qwen3-ASR 0.6B | ~606MB | 59 | Streaming-capable; poor Italian accuracy |
Build Flavors
| Flavor | Firebase | Use case |
|---|---|---|
| playStore | Crashlytics + Analytics | Google Play distribution |
| fdroid | None | F-Droid / FOSS distribution |
Both flavors share the same applicationId and feature set. The only difference is crash reporting (Firebase vs logcat-only).
Getting Started
Common questions (model limits, chunking, queue behavior, where to find transcription metadata) are answered in the FAQ.
Prerequisites
- Android device with 4GB+ RAM
- Android 8.0 (API 26) or higher
- 500MB+ free storage (model size varies, up to 4.7GB for Gemma 3n E4B / 3.5GB for Gemma 4 E4B)
Install
Play Store: Get it on Google Play
F-Droid: Get it on F-Droid
GitHub Releases: Download the APK from Releases
Or build from source:
./scripts/fetch-sherpa-aar.sh # one-time: download the sherpa-onnx AAR (not committed)
./scripts/install.sh
See docs/BUILD.md for detailed build instructions.
First Use
- Open Anti-Vocale and go to the Model tab
- Download a model (Parakeet TDT recommended: fast multilingual, good quality/size ratio)
- Go back to your messaging app, long-press a voice message, and share it to Anti-Vocale (or tap the folder button on the Log tab to pick any audio file directly)
- The transcription appears in a notification with Copy and Share actions
Architecture
Messaging App (WhatsApp/Telegram/...)
|
v [Share Intent]
ShareReceiverActivity / ShareTargetManager (model-specific aliases)
|
v
InferenceService (Foreground Service)
|
v
AudioPreprocessor (16kHz mono WAV; chunk size per model family + free RAM)
|
v
TranscriptionOrchestrator
|--- SherpaBackend (one engine; bundled catalog entries: Parakeet TDT, Whisper, Qwen3-ASR, GigaAM v3, Nemotron 3.5 streaming)
|--- WhistleBackend (Whistle native engine, tiny English-first)
|--- ExternalSherpaBackend (user-imported models: Transducer/Whisper/CTC/SenseVoice/Canary/Moonshine/Dolphin)
|--- LlmTranscriptionBackend (Gemma via LiteRT-LM)
|
v
Notification (Paging / Copy / Send to [App]) + Confidence Indicator
Automation
Anti-Vocale can be triggered via broadcast intents for use with Tasker or other automation tools. Both automation receivers are off by default: enable them once under Settings > Advanced > External automation (Tasker), or every request is rejected with a notice pointing there.
# Transcribe an audio file
adb shell am broadcast \
-n com.antivocale.app/.receiver.TaskerRequestReceiver \
-a com.antivocale.app.PROCESS_REQUEST \
--es request_type "audio" \
--es file_path "<app-readable path>" \
--es task_id "transcribe_$(date +%s)"
# Preload model into memory
adb shell am broadcast -a com.antivocale.app.PRELOAD_MODEL
The app holds no storage permissions, so shared-storage paths like /sdcard/Download are NOT readable by it. Pass a path inside the app's own storage instead; how Tasker setups stage files is covered in the guide.
See docs/TASKER_GUIDE.md for detailed automation setup.
Advanced integrations
WhatsApp voice notes (automatic transcription)
Anti-Vocale can transcribe new WhatsApp and WhatsApp Business voice notes the moment they arrive, with no interaction at all: the transcription lands in the history and as a result notification, and if Android blocks a background start (for example with the screen off), a one-tap notification starts it.
Setup lives in Settings > Voice notes, with one section per app: turn transcription on, grant audio access, and pick the app's voice-notes folder once through the guided picker (WhatsApp Voice Notes for WhatsApp, WhatsApp Business Voice Notes for WhatsApp Business). The two apps are independent: enable either or both, each with its own folder; the History row and the notification name the app the note came from. Optionally enable sender recognition as well: the history row is then labeled with the sender's name. A label appears only when the note's own notification confirms it (its reported length must match the audio), so names are never guessed; the waiting list of recent notifications lives in memory only.
Privacy is the same contract as everywhere else in the app: while detection is on it reads only the listing of the voice-note folders you picked; a note's audio is read only to transcribe it, entirely on this device; while the feature is off, nothing is read at all.
One honest caveat: on phones with aggressive battery managers (common on some OEMs), notes that arrive while the app has been suspended by the system can be missed until it wakes. If you rely on the automatic mode, excluding Anti-Vocale from battery optimization makes it reliable. WhatsApp and WhatsApp Business only for now.
Open Transcribe (experimental)
Apps that implement the open Open Transcribe contract can use Anti-Vocale as their in-place voice-message transcriber, the way Forkgram and Forkgram Classic do. Enable Settings > Automation > Open Transcribe API (off by default) and pick Anti-Vocale in the client's offline-transcription settings; the audio is transcribed with the app's own models and never leaves the device. Disabling the toggle removes the app from the clients' pickers again.
License
See LICENSE for details.
探索相关项目
加载中…

