Skip to main content

Modern Speech Recognition with both active and ambient listening and keyboard

Project description


HoloSTT

Overview

HoloSTT is a modern, thread-safe speech recognition and input manager for Python applications. It unifies active speech, ambient listening, and keyboard input into a single, production-ready interface for any AI-driven project.

Highlights:

  • Multi-modal input: Seamlessly combine voice (active/ambient) and keyboard input.
  • No vendor lock-in: Works with any skill set, AI stack, or backend logic.
  • Advanced audio handling: Adaptive noise management, energy thresholds, platform-aware volume support.
  • Thread-safe singleton: Designed for multi-threaded and interactive desktop, assistant, and automation apps.
  • Real-time text processing: Built-in cleaning, comparison, and input filtering utilities.

Why HoloSTT?

Typical speech recognition modules often come with limitations:

  • Limited to just microphone input, or just keyboard.
  • Lack of fallback modes, or forced use of a single speech engine.
  • Not suitable for multi-threaded apps, or lacking input state management.

HoloSTT solves these problems by:

  • Offering both active (“push-to-talk”) and ambient (always-on) listening, with instant keyboard fallback.
  • Providing a centralized, extensible interface for all input and recognition events.
  • Supporting robust error handling, state tracking, and dynamic configuration—ready for modern AI workflows.

Key Features

  • Flexible Audio Capture: Toggle between active/ambient listening or switch to keyboard input instantly.

  • Dynamic Noise and Volume Handling: Automatically adapts to background noise and adjusts thresholds for clear, accurate recognition.

  • Centralized State & Properties: Track commands, input modes, timeouts, and all key settings in one place.

  • Customizable Input Processing: Clean and filter input text, apply replacements, compare similarity, and trigger actions.

  • Robust Error Handling: Handles microphone, audio, and network exceptions gracefully.

  • Production-Ready: Built for real-world, scalable AI systems.


How It Works

  1. Call the HoloSTT manager in your application.
  2. Select input mode: active voice, ambient voice, or keyboard.
  3. Process and clean recognized text automatically.
  4. Use output directly for commands, automations, or AI skills.

FAQ

Q: Does HoloSTT require a specific folder or class naming? A: No. Organize your project and input logic as you see fit.

Q: Can I use my own text cleaning or filtering? A: Yes. HoloSTT exposes all processing utilities and is easy to extend.

Q: Is it production-ready and thread-safe? A: Yes. The singleton implementation ensures safe multi-threaded operation.


Code Examples

You can find code examples on my GitHub repository.


License

This project is licensed under the Apache License, Version 2.0. Copyright 2025 Tristan McBride Sr.


Acknowledgements

Project by:

  • Tristan McBride Sr.
  • Sybil

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

holostt-0.1.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

holostt-0.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file holostt-0.1.2.tar.gz.

File metadata

  • Download URL: holostt-0.1.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for holostt-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7d58e1a13edbe7454b960db2b14f4f6dcb0aec3ae8fbd6420a92ddcc09584549
MD5 7a9331e304c499609e9543865a8a8cf0
BLAKE2b-256 f777c3db5f7de7f9579c1e49a51f42139f98b82d2b93101adb50e0fc152e030c

See more details on using hashes here.

File details

Details for the file holostt-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: holostt-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for holostt-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e090bc0d12e3b999a10d3c6a2b65df0347f28bfce702dae14a77b1213a0c6247
MD5 2f77409885e56750dbf5562e55f969f4
BLAKE2b-256 7d5b47fedff55e1ffb30473a05262ac78e9fef46327d15dbf699459513cf2f57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page