Skip to main content

A speech-to-intent controller for a variety of VUI fields.

Project description

macroroni

macroroni is an open-source, speech-to-intent framework for Voice User Interfaces (VUI). It captures real-time microphone audio locally and seamlessly translates spoken commands into structured application states or hardware macros, making it perfect for custom automation or gaming wrappers like OpenAI Gym.


Key Features

  • Dual Engine Architecture:
    • SingleVoiceController: Uses TF-IDF and Logistic Regression to match speech to a single global intent.
    • SequentialVoiceController: Powered by a fine-tuned BERT Token Classification model to extract strings of directions and actions sequentially.
  • Hardware-Accelerated Transcription: Local, high-performance ASR backends:
    • Apple Silicon (MPS): Powered by mlx-whisper.
    • NVIDIA GPU (CUDA): Powered by faster-whisper.
  • Asynchronous Listening: Non-blocking background threads combined with ambient noise microphone calibration to ensure minimal execution latency.

Installation & Hardware Requirements

macroroni requires Python 3.8+. Install the core package along with your machine's specific hardware backend:

pip install macroroni

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

macroroni-1.1.3.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

macroroni-1.1.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file macroroni-1.1.3.tar.gz.

File metadata

  • Download URL: macroroni-1.1.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for macroroni-1.1.3.tar.gz
Algorithm Hash digest
SHA256 3ed1f47ffe4c51e4deb979411fc7ab9316ce0cac50b390b4b488e049586326dd
MD5 6e7f7816898567533a93f22a8c166c55
BLAKE2b-256 4a27090cdd024aee03797442e53ef1917a9ded8babc16826c1d3ff6629bd3d0f

See more details on using hashes here.

File details

Details for the file macroroni-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: macroroni-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for macroroni-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 daf0f8c172d10bb3a4f85eb7dc090c93ee7b00c852d1afe03da8ab96009a6017
MD5 118183bbd1a814f31d33936fba224156
BLAKE2b-256 f49ab3eb9fa160bc9cef72fb92ee74602c72a5375d9a5cae204370972470b0e3

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