Skip to main content

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

Project description

macroroni

macroroni is an open-source, highly adaptable speech-to-intent framework designed for Voice User Interface (VUI) development. It enables developers to seamlessly map spoken commands into actionable programmatic outputs or real-time game inputs (such as controls for classic emulation environments like OpenAI Gym/Gymnasium).

By combining local, cutting-edge Automatic Speech Recognition (ASR) engines with automated Machine Learning intent classification, macroroni bridges the gap between raw voice audio and immediate application state updates.


Features

  • Multi-Backend Speech Recognition: Native support for high-performance localized transcription:
    • Apple Silicon (MPS): Optimized hardware acceleration using mlx-whisper.
    • NVIDIA GPU (CUDA): Fast, quantized execution using faster-whisper.
  • Embedded Intent Classifier: Built-in NLP pipeline featuring a specialized TF-IDF Vectorizer coupled with an optimized, auto-calibrating Logistic Regression model.
  • Low-Latency Architecture: Employs non-blocking, background thread audio listening combined with ambient noise microphone calibration to minimize latency.
  • Extensible Architecture: Out-of-the-box support for modular customization (SingleVoiceController), including pre-built integrations for gaming wrappers like gym-super-mario-bros.

Requirements & System Support

macroroni is compatible with Python 3.8+ across major operating systems. Depending on your machine's hardware, ensure you install your preferred localized inference engine:

  • For Apple Silicon Macs (M1/M2/M3/M4): pip install mlx-whisper
  • For NVIDIA GPU Systems: pip install faster-whisper

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-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

macroroni-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for macroroni-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d71853c0e737ebfede51c72b94a21471a02587cbc7ee6bc21d04697dda978fe1
MD5 723558f21cc5167c4cdec175953943c1
BLAKE2b-256 644b2197bec0fe5681d6787686863bd04b0243bf0c0fac7af0543a5afd10b94e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: macroroni-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.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-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b8bca65be04cb049b0f81aef3c273ead404a564ee9761f8f9cbddf7adceddba
MD5 e7fe6e2009573c9ce8e6b14214fb3c62
BLAKE2b-256 8a735b23578e297b0edfdb0cf7ce6bfe754a5de65cf7797f09a96742c56f63ff

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