qmetrics.net

PocketSphinx

Compact speaker-independent continuous speech recognition engine

PocketSphinx is a Carnegie Mellon speech recognizer aimed at efficient deployment. It provides C and Python APIs plus a command-line decoder for PCM audio.

Overview

PocketSphinx is an open source large-vocabulary, speaker-independent continuous speech recognition engine from Carnegie Mellon University. Its acoustic and language models reflect older research lines but remain useful where small footprint and efficiency matter.

The C library and Python module can be built with CMake on Linux and Windows. A pocketsphinx CLI reads single-channel 16-bit PCM from files or standard input and outputs recognition results as line-delimited JSON. Commands cover live segmentation, single-utterance decoding, forced alignment to supplied text, and configuration export.

Alignment modes can return word, phone, or state timings for downstream processing with tools such as jq. Helper output suggests sox arguments to convert arbitrary audio into the expected format for live microphone or file decoding.

Example programs illustrate library use from C and Python. The project no longer depends on a separate SphinxBase package; build and API documentation are generated from the same tree.

Key features

  • Speaker-independent continuous recognition
  • C library and Python bindings
  • CLI with JSON line output
  • Live, single-utterance, and align modes
  • Word, phone, and state forced alignment
  • sox integration hints for audio conversion
  • CMake builds for C library installation
  • Configurable logging and JSON config dump

Use cases

  • Offline speech decoding on constrained hardware
  • Forced alignment for transcription pipelines
  • Embedding recognition in C or Python applications
  • Batch decoding of PCM or converted audio files

Tags

Similar software

VoiceStudio

Local AI voice cloning, dubbing and transcription

VoiceStudio runs on your hardware to clone voices, design new ones, dub video, dictate, transcribe, and build audiobooks across many languages without requiring an account.

★ 119.3k⟳ todayAGPL-3.0
Open Source Alternative to:ElevenLabs

Voicebox

Local AI voice studio for speech and dictation

Voicebox clones voices, synthesizes speech with multiple TTS engines, dictates into other apps, and speaks through MCP-connected agents—all on your hardware.

★ 61.4k⟳ todayMIT
Open Source Alternative to:ElevenLabsWispr Flow

Buzz

Offline audio transcription and translation powered by Whisper

Buzz transcribes and translates audio and video locally on your computer. It supports multiple Whisper backends and runs on Mac, Windows, and Linux.

★ 23.1k⟳ yesterdayMIT

Easydict

macOS dictionary and multi-service translation utility

Easydict is a macOS app for word lookup and text translation using many online and on-device services. It supports shortcut, selection, input, and OCR screenshot workflows with automatic language detection.

★ 15.4k⟳ yesterdayGPL-3.0

WhisperLive

Near-real-time speech transcription server using Whisper

WhisperLive runs an OpenAI Whisper-based transcription server for live microphone input, files, and streams. Clients connect over WebSocket or REST to receive text output.

★ 4.4k⟳ 2 days agoMIT

OpenLess

Cross-platform open-source voice input with AI polish

OpenLess transcribes speech at the cursor, polishes it with your chosen model and style packs, and supports many ASR providers you configure.

★ 4.2k⟳ todayAGPL-3.0
Open Source Alternative to:SuperwhisperTypeless+1