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

Uploaded Python 3

File details

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

File metadata

  • Download URL: macroroni-1.1.2.tar.gz
  • Upload date:
  • Size: 5.1 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.2.tar.gz
Algorithm Hash digest
SHA256 385b410e86c4cc8a314f20a5c1fa7033894eebab6908b2f6829e765d52c7c6d2
MD5 6a19f19ac4d650854685c13703686390
BLAKE2b-256 a4c6ac250af3a81f178d4626f969300784a4699b967331dd7870e5b42c1f6403

See more details on using hashes here.

File details

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

File metadata

  • Download URL: macroroni-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed1921664850c760e28356a068f18673a53348a7f9c1f1097f7253569f2f976
MD5 76096f1ce321eafb7f427b6c93013f94
BLAKE2b-256 c4f4755ad3f0fee929265f5f776bdfbba05c0682a6761c57d4d37eb05ea4723f

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