mybigday/whisper.rn
React Native binding of whisper.cpp.
What it solves
whisper.rn provides React Native bindings for high-performance, on-device automatic speech recognition (ASR). It allows developers to integrate OpenAI's Whisper and NVIDIA Parakeet models into mobile applications without relying on cloud-based transcription services.
How it works
The library acts as a bridge to whisper.cpp, a C++ implementation of Whisper. It supports loading GGML model binaries (including quantized versions) and provides an asynchronous API for transcribing audio files or raw PCM data. It also includes support for Voice Activity Detection (VAD) via the Silero VAD model to identify speech segments in audio.
Who it’s for
Mobile developers using React Native who need to implement offline, private, and low-latency transcription or real-time speech-to-text capabilities in their iOS and Android apps.
Highlights
- Multi-Model Support: Supports both OpenAI's Whisper and NVIDIA Parakeet TDT models.
- Real-time Transcription: Includes a
RealtimeTranscriberfor streaming audio transcription with integrated VAD and auto-slicing. - Hardware Acceleration: Supports Core ML for accelerated inference on iOS devices.
- VAD Integration: Built-in support for Silero VAD to detect speech segments from files, URLs, or raw data.
- Flexible Asset Management: Models and audio files can be loaded from the local filesystem or bundled as app assets.
Related
- Project
- Project
- Project
- Project
- Project