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.4.tar.gz (5.0 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.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: macroroni-1.1.4.tar.gz
  • Upload date:
  • Size: 5.0 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.4.tar.gz
Algorithm Hash digest
SHA256 a5a8666a23cdf8376ba1fc2e25e1088da3705b00214d041ae5ce7e8dc0f9e953
MD5 041d7ceb10ea60940ae958a738995e43
BLAKE2b-256 eabe557c9783ecb21b4cf22b635e35e775b298c61911549a1da8b80a5c6e1141

See more details on using hashes here.

File details

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

File metadata

  • Download URL: macroroni-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4ad873e8ac5575bcb4e1bca60f036874b239532c5fa65b1e7ac215d26419873c
MD5 504493b68ebc000f6545a4c31b84b6ea
BLAKE2b-256 3fba98aaa8a783bd31f55077a3eb795c8865b1dea9cf47b5983f4527a0f44893

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