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.
- Apple Silicon (MPS): Powered by
- 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
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-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ed1f47ffe4c51e4deb979411fc7ab9316ce0cac50b390b4b488e049586326dd
|
|
| MD5 |
6e7f7816898567533a93f22a8c166c55
|
|
| BLAKE2b-256 |
4a27090cdd024aee03797442e53ef1917a9ded8babc16826c1d3ff6629bd3d0f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daf0f8c172d10bb3a4f85eb7dc090c93ee7b00c852d1afe03da8ab96009a6017
|
|
| MD5 |
118183bbd1a814f31d33936fba224156
|
|
| BLAKE2b-256 |
f49ab3eb9fa160bc9cef72fb92ee74602c72a5375d9a5cae204370972470b0e3
|