Voice Core: a fully offline on-device continuous speech transcription engine

Architecture protected by Patent CN 122201305 A

01. Two constraints of on-device transcription

In government, defense, confidential communications and personal-privacy settings, speech data must stay on the local device. Deploying speech models on edge devices such as phones and recorders runs into two constraints:

Constraint 1: memory use in long speech.Continuous input makes the acoustic feature matrix grow; conventional devices run out of memory after 2–5 minutes and the process is killed.

Constraint 2: the latency-accuracy trade-off.Lightweight models have low latency but poor recognition; large models are accurate but slow to infer, leaving the screen without feedback for a long time.

02. Architecture

The system uses"Asynchronous dual-track concurrency plus low-level dynamic UI replacement"architecture, running entirely local with zero network access.

01. Dynamic slicing and memory hand-off release

The system splits audio using two thresholds: VAD semantic-pause soft cuts and compute-protection hard cuts. A segment's inference cache is released only after the next segment's final text reaches the screen, keeping memory at a constant level,Continuous offline recording has been measured up to 500 minutes with a stable memory footprint.

02. Asynchronous dual-track heterogeneous scheduling

The system issues two concurrent pipelines to the underlying hardware:
Fast track:A CPU runs a compact acoustic model, pushing a provisional draft to the screen with millisecond-level latency.
Slow track:An NPU runs an on-device large model for deep background inference. Decoupling compute reduces chip heat and produces a Compute Dashboard: on flagships such as Snapdragon 8 Gen 3 it updates in real time; on mid-range and entry devices jobs queue in the background and hardware determines throughput.

03. Global timestamps and in-place UI replacement

The system assigns a globally unique timestamp to every audio segment. After the slow track finalizes, the replacement engine uses that timestamp to locate the draft's screen coordinates,Calls low-level UI APIs to erase the old draft and overwrite the final text.

04. Local lexicon and segment deduplication

A local dictionary of over one million words covers general, technical, legal and business domains. FuzzyMatch deduplication runs in CPU memory across adjacent segments, with intervention ordered as whitelist anomaly tagging → user hot-word override → domain lexicon fallback.

03. Native deployment on both platforms

Based on this patented protocol, native builds for Android and HarmonyOS have been released in app stores and stress-tested on production devices.

ENGLISH ONLY

Aegis Offline AI Keyboard

The English edition on Google Play ($299 USD) ships with a local English lexicon for fully offline English transcription.

Android Offline Voice App
GET IT ON GOOGLE PLAY
Chinese-language context only

Fanxing Buyu input method

The HarmonyOS app on Huawei AppGallery is tuned for Chinese out-of-vocabulary hot words and performs offline Chinese transcription.

HarmonyOS Offline Voice App
EXPLORE IN APPGALLERY

04. Open source

The underlying engineering scheduler of Voice Core (Titan V13 Core) is based on MIT licenseOpen source.

VIEW SOURCE ON GITHUB