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.
- Apple Silicon (MPS): Optimized hardware acceleration using
- 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 likegym-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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d71853c0e737ebfede51c72b94a21471a02587cbc7ee6bc21d04697dda978fe1
|
|
| MD5 |
723558f21cc5167c4cdec175953943c1
|
|
| BLAKE2b-256 |
644b2197bec0fe5681d6787686863bd04b0243bf0c0fac7af0543a5afd10b94e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b8bca65be04cb049b0f81aef3c273ead404a564ee9761f8f9cbddf7adceddba
|
|
| MD5 |
e7fe6e2009573c9ce8e6b14214fb3c62
|
|
| BLAKE2b-256 |
8a735b23578e297b0edfdb0cf7ce6bfe754a5de65cf7797f09a96742c56f63ff
|