Skip to content

Releases: LeanBitLab/LeanType-Voice-Plugin

Voice Plugin v1.0.1

Choose a tag to compare

@github-actions github-actions released this 22 Aug 20:51

LeanType Voice Plugin v1.0.1

Maintenance and feature update for the LeanType Voice Plugin, bringing automatic spoken language detection fixes, performance tuning, and custom vocabulary prompt support.


🚀 Highlights & Improvements

  • Auto Spoken Language Detection: Fixed Whisper JNI decoding pipeline to seamlessly detect and transcribe spoken languages in a single pass without early exits.
  • Configurable CPU Inference Threads: Added support for dynamic CPU thread allocation (2, 4, 6, 8 threads) from the host keyboard to optimize inference speed or save battery.
  • Vocabulary & Context Prompt Support: Enabled Whisper initial prompt conditioning via IPC, allowing users to supply custom names, acronyms, jargon, and technical keywords for improved recognition accuracy.

📦 Setup & Updates

  1. Download and install voice_plugin.apk from the release assets below.
  2. In LeanType Keyboard Settings > Voice input, configure your desired CPU threads, custom vocabulary prompt, and language preferences.

Voice Plugin v1.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 21:05

LeanType Voice Plugin v1.0.0

Initial release of the LeanType Voice Plugin, providing fast, 100% offline on-device speech-to-text recognition for LeanType Keyboard.


🚀 Highlights

  • Offline Whisper Engine: Native whisper.cpp integration with -O3 compilation and ARM64 NEON optimizations.
  • AIDL IPC Interface: Standardized IVoiceEngine / IVoiceCallback contract with real-time ParcelFileDescriptor audio streaming.
  • Async Model Management: Non-blocking background model imports, fast binary header validation, and on-demand unloading.
  • 100% Private: Zero network permissions required; all voice data stays strictly on-device.
  • Optimized Binary: Minified via R8/ProGuard with multi-ABI support (arm64-v8a, armeabi-v7a, x86_64).

📦 Setup

  1. Download and install voice_plugin.apk from the release assets below.
  2. Select or import your preferred Whisper model in LeanType Keyboard Settings > Voice Typing.